Need to speed up video with MLT. I can do it with ffmpeg:
-filter:v "setpts=0.5*PTS"
But what about MLT?
Need to speed up video with MLT. I can do it with ffmpeg:
-filter:v "setpts=0.5*PTS"
But what about MLT?
The "timewarp" producer in MLT can change the video speed.
https://www.mltframework.org/bin/view/MLT/ProducerTimewarp
To double the speed (play faster) use:
$ melt timewarp:2.0:file.mp4
To half the speed (play slower) use:
$ melt timewarp:0.5:file.mp4
To speed up part of the file, you would have to split it up with in/out points:
$ melt file.mp4 in=0 out=29 timewarp:2.0:file.mp4 in=60 out=238 file.mp4 in=120
Notice that the in/out points need to be scaled by the speed factor when applied to the timewarp producer.