Right. I was under the impression that TB was not always available in
setpts because I tried the incorrect formula 'N*TB" on a short video and
I obtained pts=0 in all the frames. I forgot that TB is typically a very
small value and that the pts is rounded down to an integer value. Facepalm!
The constant TB is available, so to retime the stream as a 30 fps
stream, it would be
-vf setpts=N/30/TB
If a framerate value has been set then
-vf setpts=N/FR/TB
Gyan
_______________________________________________
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".
_______________________________________________
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".