Hi Moritz,
Without actually trying to reproduce, there is one obvious (to me)
error in your command line:
setpts=PTS-4[3]
This isn't doing what you expect it to. PTS is in "ticks", i.e. certain
incremental units, but normally not in seconds. That timebase is
"1/TB". TB is what you see as "tbn" (or "tbc"? doesn't matter) here:
[SAR 1:1 DAR 3:2], 25 tbr, 25 tbn, 25 tbc
and here:
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1200x400
[SAR 1:1 DAR 3:1], q=-1--1, 25 fps, 12800 tbn, 25 tbc
The setpts docs have this example:
• Apply an offset of 10 seconds to the input PTS:
setpts=PTS+10/TB
So likely you need to use:
setpts=PTS-4/TB[3]
Thank you very much, it's working now!
Michael
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".