[Kdenlive-devel] Feature for kdenlive....

Steve Guilford s.guilford at dbplugins.com
Tue Jul 1 05:44:19 UTC 2014


I looked into this and it's not very hard to do.  I took a pass at it 
and got it added to the menu and had the UI created.

Unfortunately, the stabilize process crashes (SIGSEV) as soon as you 
start the job.  So, I made sure I had a current pull from the dev-tree.  
Same result.

The error is the same for all three stabilization filters.

The error is in libGL, triggered by movit:

#0 glGenTextures() at /usr/lib/nvidia-331/libGL.so.1
#1 
movit::SingleResamplePassEffect::SingleResamplePassEffect(movit::ResampleEffect*)() 
at /storage/kdenlive_9.8/20140630/lib/libmovit.so.2
#2 movit::ResampleEffect::ResampleEffect()() at 
/storage/kdenlive_9.8/20140630/lib/libmovit.so.2
#3 OptionalEffect<movit::ResampleEffect>::OptionalEffect() at 
/storage/kdenlive_9.8/src/mlt/src/modules/opengl/optional_effect.h:13
#4 get_image() at 
/storage/kdenlive_9.8/src/mlt/src/modules/opengl/filter_movit_resample.cpp:82
#5 mlt_frame_get_image() at 
/storage/kdenlive_9.8/src/mlt/src/framework/mlt_frame.c:581
#6 get_image() at 
/storage/kdenlive_9.8/src/mlt/src/modules/opengl/filter_movit_resize.cpp:146
#7 mlt_frame_get_image() at 
/storage/kdenlive_9.8/src/mlt/src/framework/mlt_frame.c:581
#8 filter_get_image() at 
/storage/kdenlive_9.8/src/mlt/src/modules/videostab/filter_videostab2.c:122
#9 mlt_frame_get_image() at 
/storage/kdenlive_9.8/src/mlt/src/framework/mlt_frame.c:581
#10 producer_get_image() at 
/storage/kdenlive_9.8/src/mlt/src/framework/mlt_tractor.c:273
#11 mlt_frame_get_image() at 
/storage/kdenlive_9.8/src/mlt/src/framework/mlt_frame.c:581
#12 consumer_read_ahead_thread() at 
/storage/kdenlive_9.8/src/mlt/src/framework/mlt_consumer.c:782

Do any of the stabilization filters work for you?

I have an older source tree (0.9.7) that stabilizes correctly.

That libGL.so.1 library may be from a vendor-distribution driver, not 
the Ubuntu distro version - that could also be an issue.

If you can stabilize w/out problem then I can post up the mods and you 
can test.

Let me know....>>>

On 06/30/2014 03:39 PM, Evert Vorster wrote:
> Hi there, everybody.
>
> I _know_ that there is a lot going on with the code, and that we don't
> have a load of developers.
>
> However, I have to tell you that the newer vid.stab filter in mlt is
> absolutely amazing!
>
> To add it into mlt is not a big hassle.
> Get the source code for vid.stab library here:
> https://github.com/georgmartius/vid.stab/tarball/release-0.98b
>
> Homepage of the project is:
> http://public.hronopik.de/vid.stab/features.php?lang=en
>
> It will become an optional dependency of mlt in the future as it is
> already in use for Shotcut, but for now, mlt has to be fetched from
> git and built on your machine to utilize this new filter.
>
> If you are on Arch, I have already made an AUR package for vid.stab,
> and mlt-git is already pulling it in automatically. Thanks,
> IncredibleLaser!
>
>
> Once built, 'melt -query filters | grep stab' will return three video
> stabilization filters:
> vidstab
> videostab
> videostab2
>
> vidstab is the new one. It's command line options are exactly the same
> as videostab2
>
>
> Now, in kdenlive, videostab2 is referred as "transcode"
>
> If we could duplicate the module in kdenlive that drives videostab2
> and call it "vid.stab" and modify it to use the new filter and add it
> to the clip jobs menu, that would be awesome!
>
> In the meantime, I am stabilizing my videos on the command line.
>
>

-- 
Steve Guilford
http://www.dbplugins.com





More information about the Kdenlive mailing list