Am 28.08.2020 um 13:38 schrieb Edward Park:
Hi,

Let's assume the framerate is constant. For example, I want to delay a video by 
5 frames and then hstack the original video and the delayed version:

ffmpeg -i test.mp4 -vf "split[a][b];[b]setpts=PTS+5/(FR*TB)[c];[a][c]hstack" -y 
out.mp4

I would try tpad=start=5, but I'm not sure what happens for the first 5 
frames... If your example works I'm pretty sure it would work.

ffmpeg -i test.mp4 -vf "split[a],tpad=start=5[b];[a][b]hstack" -y out.mp4

yes, that does also work fine. For the first 5 frames it's black, or the first frame can be cloned if "start_mode=clone" is added.

Michael

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to