[Kdenlive-devel] [Mlt-devel] video stabilization

Marco Gittler marco at gitma.de
Fri Aug 12 05:20:33 UTC 2011


Am 11.08.2011 um 22:54 schrieb Dan Dennedy:

> On Thu, Aug 11, 2011 at 10:33 AM, Marco Gittler <marco at gitma.de> wrote:
>> Hi
>> 
>> i made an mlt plugin, that uses the stabilization from http://vstab.sourceforge.net/.
>> First tests are working very good.
> 
> What a nice contribution!
:)
> 
>> There a lots of speed up to be done (cache calculated values in a file, for later usage).
> 
> I have not looked at this yet, but can you simply put the calculated
> values in a string property (colon-delimited list of numbers or json
> ala rotoscoping). Then, when serializing a mlt composition to xml, it
> will be saved. Next, when loading a mlt xml, the plugin can use the
> values from the property instead of calculating them?
i implemented this now.
but it looks first it is not working. but  i found out, the filter will have 2 runs with the video file, started with 
 melt ~/Desktop/IMG_0286.MOV -filter videostab -verbose

on the first run it "deshakes" for 38 frames (and saves the values)
on 2nd run (the visible on) there are 45 (correct length) frames.
how can the first (false length) run be prevented, else the vector data are not correct ? 

i  had also a first run with 45 frames (a lucky moment) , then it will work perfect.

regards marco

> 
> -- 
> +-DRD-+
> 
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
> user administration capabilities and model configuration. Take 
> the hassle out of deploying and managing Subversion and the 
> tools developers use with it. 
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Mlt-devel mailing list
> Mlt-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mlt-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3721 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20110812/5dc42ee4/attachment.p7s>


More information about the Kdenlive mailing list