On Wed, Sep 19, 2012 at 1:26 AM, Janne Liljeblad
<[email protected]> wrote:
> Hi,
>
> I've so far read code Render::mltChangeClipSpeed() from Kdenlive and
> scr/modules/motion_est/factory.c,
> scr/modules/motion_est/producer_slowmotion.c from MLT. I also looked
> wiki http://mltframework.org/bin/view/MLT/ProducerSlowmotion.
That producer is not producing satisfactory results. It was trying to
do fast interpolation using motion estimation.
> All I came up with was that I should do:
>
> producer = mlt.Producer(profile, "slowmotion", path)
> producer.set("resource", str(path + "?0.25"))
>
> to create slowmotion clips, but this does not seem to work.
Kdenlive uses the "framebuffer" producer:
/**
* Speed must be appended to the filename with '?'. To play
your video at 50%:
melt framebuffer:my_video.mpg?0.5
* Stroboscope effect can be obtained by adding a stobe=x
parameter, where
x is the number of frames that will be ignored.
* You can play the movie backwards by adding reverse=1
* You can freeze the clip at a determined position by adding
freeze=frame_pos
add freeze_after=1 to freeze only paste position or
freeze_before to freeze before it
**/
> Could you show how this should be done? It also also seems that there
> are slowmotion filters, should those be used instead?
no
> I can usually decode this stuff from KDEnlive and Openshot, but now my
> grepping fails me.
>
>
> Janne
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel