On Tue, May 30, 2017 at 2:27 PM, Jonathan Girven <
[email protected]> wrote:


> I wondered if it is also possible to do this with an equation in
> setpts (and might be easier to read)?
>

It's possible, not sure about whether it's easier to read:

setpts='if(eq(PTS,STARTPTS),PTS-STARTPTS,if(between(T,2,3)+between(T,6,7),(PTS-STARTPTS-PREV_INPTS)/0.5+PREV_OUTPTS,PTS-STARTPTS+PREV_OUTPTS-PREV_INPTS))'

The above expression applies slow motion to times 2 to 3s and then 6 to 7s.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to