Stream

Join this community to post or comment

Christian Hummel

Development  - 
 
Hello,

+Valery Brasseur
maybe you can have a look or tip.

Every slwomovideo that i compile myself i get a segfault when i do this.
1. start and create NEW project.
2. Edit the vido
3. Render it (no matter if video or image)
4. delete files from work dir (because they dont't get deleted automaticaly)
5. create NEW project
6. edit
7. render
before it starts to render, its crashing.

in the core file in can find:

QT4 compiled:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./slowmoUI'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000043cefa in QListData::size (this=0x64006900560037)
at /usr/include/qt4/QtCore/qlist.h:98
98 inline int size() const { return d->end - d->begin; }
[Current thread is 1 (Thread 0x7f6c48b1d700 (LWP 19609))]


QT5 compiled:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./slowmoUI'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000000004441ca in QListData::size (this=0x6500640069005e)
at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:105
105 inline int size() const { return d->end - d->begin; }
[Current thread is 1 (Thread 0x7fbdf4f6d700 (LWP 16131))]

Valgrind memcheck:

==24477== Thread 6 QThread:
==24477== Invalid read of size 8
==24477== at 0x491358: Project_sV::snapToOutFrame(double, bool, Fps_sV const&, int*) const (project_sV.cpp:368)
==24477== by 0x49E59E: RenderTask_sV::slotContinueRendering() (renderTask_sV.cpp:180)
==24477== by 0x4C0924: RenderTask_sV::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_renderTask_sV.cpp:119)
==24477== by 0x5F4BFC9: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==24477== by 0x5D3C834: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==24477== by 0x82956F9: start_thread (pthread_create.c:333)
==24477== by 0x7FCBB5C: clone (clone.S:109)
==24477== Address 0x2347f530 is 64 bytes inside a block of size 128 free'd
==24477== at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24477== by 0x5881553: QImage::~QImage() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x58EC150: QFontEngine::unlockAlphaMapForGlyph() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5A75228: QRasterPaintEngine::drawCachedGlyphs(int, unsigned int const*, QFixedPoint const*, QFontEngine*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5A77CDE: QRasterPaintEngine::drawTextItem(QPointF const&, QTextItem const&) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5A95350: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5922CAC: QTextLine::draw(QPainter*, QPointF const&, QTextLayout::FormatRange const*) const (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5A8BA34: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5A92582: QPainter::drawText(QRect const&, int, QString const&, QRect*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x52EF59E: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==24477== by 0x55B8820: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==24477== by 0x549F113: QListView::paintEvent(QPaintEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==24477== Block was alloc'd at
==24477== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24477== by 0x587DD6E: QImageData::create(unsigned char*, int, int, int, QImage::Format, bool, void ()(void), void*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x587E0A4: QImage::QImage(unsigned char const*, int, int, int, QImage::Format, void ()(void), void*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x4178B3E: QFontEngineFT::lockedAlphaMapForGlyph(unsigned int, QFixed, QFontEngine::GlyphFormat, QTransform const&, QPoint*) (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==24477== by 0x5A75170: QRasterPaintEngine::drawCachedGlyphs(int, unsigned int const*, QFixedPoint const*, QFontEngine*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5A77CDE: QRasterPaintEngine::drawTextItem(QPointF const&, QTextItem const&) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5A95350: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5922CAC: QTextLine::draw(QPainter*, QPointF const&, QTextLayout::FormatRange const*) const (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5A8BA34: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x5A92582: QPainter::drawText(QRect const&, int, QString const&, QRect*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==24477== by 0x52EF59E: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==24477== by 0x55B8820: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==24477==
==24477== Invalid read of size 8
==24477== at 0x4441CA: QListData::size() const (qlist.h:105)
==24477== by 0x49AA85: QList<Node_sV>::length() const (qlist.h:315)
==24477== by 0x4964F2: NodeList_sV::endTime(bool) const (nodeList_sV.cpp:52)
==24477== by 0x491368: Project_sV::snapToOutFrame(double, bool, Fps_sV const&, int*) const (project_sV.cpp:368)
==24477== by 0x49E59E: RenderTask_sV::slotContinueRendering() (renderTask_sV.cpp:180)
==24477== by 0x4C0924: RenderTask_sV::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_renderTask_sV.cpp:119)
==24477== by 0x5F4BFC9: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==24477== by 0x5D3C834: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==24477== by 0x82956F9: start_thread (pthread_create.c:333)
==24477== by 0x7FCBB5C: clone (clone.S:109)
==24477== Address 0x40ad870e1c3870ea is not stack'd, malloc'd or (recently) free'd
==24477==
==24477==
==24477== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==24477== General Protection Fault
==24477== at 0x4441CA: QListData::size() const (qlist.h:105)
==24477== by 0x49AA85: QList<Node_sV>::length() const (qlist.h:315)
==24477== by 0x4964F2: NodeList_sV::endTime(bool) const (nodeList_sV.cpp:52)
==24477== by 0x491368: Project_sV::snapToOutFrame(double, bool, Fps_sV const&, int*) const (project_sV.cpp:368)
==24477== by 0x49E59E: RenderTask_sV::slotContinueRendering() (renderTask_sV.cpp:180)
==24477== by 0x4C0924: RenderTask_sV::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_renderTask_sV.cpp:119)
==24477== by 0x5F4BFC9: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==24477== by 0x5D3C834: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==24477== by 0x82956F9: start_thread (pthread_create.c:333)
==24477== by 0x7FCBB5C: clone (clone.S:109)
==24477==
==24477== HEAP SUMMARY:
==24477== in use at exit: 40,869,756 bytes in 58,332 blocks
==24477== total heap usage: 4,292,029 allocs, 4,233,697 frees, 4,813,627,622 bytes allocated
==24477==
==24477== LEAK SUMMARY:
==24477== definitely lost: 16,136 bytes in 166 blocks
==24477== indirectly lost: 21,174 bytes in 821 blocks
==24477== possibly lost: 2,051,644 bytes in 1,669 blocks
==24477== still reachable: 38,441,522 bytes in 54,027 blocks
==24477== of which reachable via heuristic:
==24477== length64 : 8,504 bytes in 125 blocks
==24477== newarray : 6,576 bytes in 61 blocks
==24477== multipleinheritance: 3,832 bytes in 9 blocks
==24477== suppressed: 0 bytes in 0 blocks
==24477== Rerun with --leak-check=full to see details of leaked memory
==24477==
==24477== For counts of detected and suppressed errors, rerun with: -v
==24477== Use --track-origins=yes to see where uninitialised values come from
==24477== ERROR SUMMARY: 54602 errors from 20 contexts (suppressed: 0 from 0)



When i use the precompiled binary from ppa.launchpad.net/ubuntuhandbook1 this error does not occur.

thanks
br
Christian

1
Add a comment...

Christian Hummel

Development  - 
 
Hello,
is it possible to speed up rendering when usinf multiple cores? I have 6 cores (12 threads) and rendering  (ubuntu) always just uses 1 thread.

whereas creating the images it uses all threads.

Rendering multicore would speed it up much :)

thanks
Christian
1
Christian Hummel's profile photoValery Brasseur (vald70)'s profile photo
11 comments
 
+Christian Hummel from what you said, I think the gain is essentially from compression/decompression. that can be an option to add.
Add a comment...

Alex Greene

General Discussion  - 
 
Hi, I've just downloaded slowmovideo today and all is working well. However, rendering the final output video is taking way too long! An under one minute clip was 11% redendered after over an hour.

I'm trying to output at 30fps, original size and the amount of video that is slowed down is only about 3-4 seconds long...

Any tips to speeding up the rendering, I need a program that works like this one for a film I'm making, but can't afford twixtor at the moment.
1
Alex Greene's profile photoJim Bohl's profile photo
4 comments
 
The process of "stitching" the clips back together will take time, yes, but not nearly as long as running the whole video through slowmo. When you're finished this project, I'd be interested to know the actual difference in time totals between editing the clips and rendering the whole thing via slowmo ;)
Add a comment...

George Saris

General Discussion  - 
 
Hello !
I am new ath this and I have a problem.
Most of my video files are .MTS (Panasonic videocamera)
I transform the video files to .MOV so as the SlowmoVideo "recognise" them but with no result. It shows me the picture below

The program i use to transform the .MTS to .MOV is Aiseesoft Total Video Converter.
What can i do?
Does slowmovideo "plays" other type of video files?
1
Cyril L.'s profile photoGeorge Saris's profile photo
9 comments
 
it works too!
Add a comment...
 
This is one of my best slowmo ! Please check it out
 ·  Translate
1
Bilou Le Loup's profile photoCyril L.'s profile photo
5 comments
 
Oui, tu es sur le G+ d'un programme qui s'appelle slowmoVideo.
Par contre, l'outil GoPro a l'air pas mal.
 ·  Translate
Add a comment...

Sławomir Gawryluk

General Discussion  - 
 
Hi again, is it possible to swich off optical flow? I need only motion blur.
I use it on Win10.
1
Valery Brasseur (vald70)'s profile photo
 
well... motion blur is calculated with optical flow ;-) now I think that if you don't change replay speed (1-1) only motion blur will be apply.
Add a comment...

Rodrigo Ikawa

General Discussion  - 
 
HI All, What Am I doing wrong with this video? The problem is the "Blurred Hand Movement" in Slow Motion as you can see on the video below. I Don't know what to do.Thank God I've found this group ;)
1
Rodrigo Ikawa's profile photoMarko Cebokli's profile photo
5 comments
 
If your camera has exposure control, set minimum exposure time/maximum lens aperture, or maybe select the "sports" shooting mode.
In any case, shoot in brighter light, to force the cam to reduce shutter time.
Add a comment...
 
Slowmotion
https://www.youtube.com/watch?v=lSmk9Wx6ZE0
Alors voilà moi je fais des vidéos avec une GoPro donc voilà n'hésitez pas à aller voir les vidéos à aimer et à vous Abonnées ;)
 ·  Translate
1
Bilou Le Loup's profile photo
 
sympa ! tu utilises quoi comme logiciel ?
 ·  Translate
Add a comment...

Ronneil Camara

General Discussion  - 
 
Another issue. Every time I create a new project, after clicking Ok button, I always get this error. Any ideas? I do own the directory and even chmod 777.
1
Ronneil Camara's profile photoBavarin Romuald's profile photo
14 comments
 
Hi,
Thanks for the fix. Works like a charm now :-).
Cheers,
Rom
Add a comment...

About this community

This community is about the slow-motion program slowmoVIdeo: http://slowmovideo.granjow.net/

No Name

General Discussion  - 
 
Hi, I compiled the recent source code on a Debian stretch. Everything looks fine so far.

But I can't produce a slow motion video:

.) When I render  at slowmoUI I get lot's of error lines like the following where I invoked the program:
"QImage::pixel: coordinate (1,-2147483648) out of range"
The result is images that are just almost white or black or grey.

.) When I render with slowmoRenderer only one frame is produced. I found  an error message:
"Failed to read width/height from file /tmp/slowmoUI-4420N8/cache/oFlowOrig/ocv-forward-0-1.sVflow"

Can anyone help me to find the problem behind this.

Thanks a lot in advance.

Best Regards,
Flo
1
No Name's profile photoValery Brasseur (vald70)'s profile photo
14 comments
 
+No Name
which version of OpenCV did you use ?
it seem that the version you have don't support "calcOpticalFlowDual_TVL1", can you set another default one ? (farnback ?)
Add a comment...

Matthew's Nerf Guns!

General Discussion  - 
 
Help please.
1
Matthew's Nerf Guns!'s profile photoValery Brasseur (vald70)'s profile photo
3 comments
 
+Matthew's Nerf Guns!
it's english ;-)
in more details : from what you show you are in Windows. And from the wiki ( https://github.com/slowmoVideo/slowmoVideo/wiki/Download ) you need to : For Windows you additionally need to download ffmpeg from Zeranoe (32-bit Builds (Static)) and extract ffmpeg.exe into the same directory as slowmoUI.exe."
"
note: you can also use the 64bits version...
Add a comment...
 
Hi There! Just installed SlowmoVideo in Open Suse via Packman. I get this error when I try to render:

Rendering aborted. Video could not be prepared (error code 2).
Could allocate the output context, even MPEG is not available.

Sugestions?

Thank you.
1
Valery Brasseur (vald70)'s profile photoleandro ribeiro's profile photo
6 comments
 
The rendering problem is gone. I needed Packman specific ffmpeg for it to work. I replaced it, now it works. I'll try to find a more recent package later. Thank you.
Add a comment...

Aaron Mader

General Discussion  - 
 
Is there any way to run slowmoVideo on a headless linux server?

Using the python script (flowScripts/buildFlow.py) yields: "Error: could not open display"

I wasn't able to find any examples or documentation for running slowmoVideo from the command line.

A single example is all I need!
1
Aaron Mader's profile photoValery Brasseur (vald70)'s profile photo
3 comments
 
I think that the "timelapse" mode (images) does not work with slowmorenderer
Add a comment...

Jim Bohl

General Discussion  - 
 
Like many I'm a new user to "slowmoVideo" and I really love how it's above & beyond what commercial programs are out there! Really awesome job with this.

I've just noticed from my own experience in using it:

1) I have to manually delete/clear the frame folders (both orig & smaller) otherwise no matter what I set as an input file my project is always based on the last file that was used.

2) I have an nVidia GTX 745 video card, but have no access to the GPU rendering option on my windows 10 machine. Using the [only] option of CPU rendering gives awesome results but wonder if it could work faster otherwise?

Other than these two things, like everyone else, I'm "patiently" waiting to see if "flowbuilder" will find its way over to Windows. If not I'll try running this on my Ubuntu laptop and see if I can get better results (it too has an nVidia card).

Thanks for this unbelievable program!
1
Add a comment...

Hik Nik

General Discussion  - 
 
Is slowmoVideo allowed to use in commercial projects?
1
Simon Eugster's profile photo
 
Sure!
Add a comment...

Fabian Holzkopf (Domi)

General Discussion  - 
 
hey there! I installed the program and created a video, but I don't know how to open it after it renders. the rendered file doesn't seem to be any format like mp4 or avi. any ideas???
1
Fabian Holzkopf (Domi)'s profile photoKarli Knallfrosch's profile photo
5 comments
 
It's not a bug - it's Window$!

Seems to be a Window$ stupidity for ages: Window$ rates files by their names not their contents, ie. when you rename an MP4 file to TXT Window$ tries to open an editor or office program. Same thing other way round: rename a TXT to MP3 and Window$ tries to play your text file as music :D

Consequently, if a README file has no suffix, Window$ does not know how to handle it ... this is an almost 30 years old "concept" ... :D

Add a comment...

Sławomir Gawryluk

General Discussion  - 
 
Hi there, I have just installed slowmo Video on win 10 and trying to do time lapse. I managed it until i select "small size" of output. When I select "Original size" i am getting error. Another problem is I can not run Render preview becouse program crashes then. Path 'L:\2016\2016-03-06 Norwegia d2\lapse 1\slowmo2\cache\oFlowOrig' is empty, no files there. Thanks for any help.
1
Sławomir Gawryluk's profile photo
17 comments
 
but when I open video instead of JPEGs everything is fine
Add a comment...

petrica celrau

General Discussion  - 
 
Is SlowMoVideo supposed to build/work with Qt 5.5.x? I did install it in Arch Linux and for some reason just by moving the cursor over the grid area it's eating a lot of ram, so much so that at one point the system has no more resources (out of 8GB of ram) and becomes unresponsive. I have Opensuse on a separate partition where SMV is built with Qt4 and it works as expected. I was wondering if it's possible to specify QT version when building and if so, where.
1
Valery Brasseur (vald70)'s profile photopetrica celrau's profile photo
7 comments
 
I will. Thing is I kept looking in the terminal but nothing unusual showed up.
Add a comment...

Ronneil Camara

General Discussion  - 
 
Hey guys, not slowmovideo yet since I can't get a smooth slow motion of my video. Anyways, I wanted to share the same video because it was tough getting light to dark timelapse transition work.


1
Add a comment...

Ronneil Camara

General Discussion  - 
 
Hi folks. I need your help. I'm not sure what I did wrong. The resulting video of the moving clouds isn't smooth. My original mp4 video was nice but clouds were moving fast.

Here is the original video. I used ffmpeg to combine all the jpeg files into an mp4 video. It's 24fps. https://www.youtube.com/watch?v=F9Bb8igLDh0

Here is the new video generated by slowmovideo using the above video as my source. I put the right node on the 40th sec. I've tried lambda of 5, 10 and 20 but it still didn't make the movement of the clouds very smooth. You will notice it was stopping then move again. https://www.youtube.com/watch?v=wnXaMsi0My8

What am I missing?

I'm using slowmovideo version 0.3.1, 64-bit on Ubuntu 14.04 LTS
1
Simon Eugster's profile photoRonneil Camara's profile photo
6 comments
 
Will do
Add a comment...