[FFmpeg-user] How to set pts from 0

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Mar 14 16:42:42 EET 2020


Am Fr., 13. März 2020 um 02:59 Uhr schrieb penguin flying
<theflyingpenguin2020 at gmail.com>:
>
> i want the pts of the output file begins with 0.
>
> using this cmd:
> ffmpeg -i 0.flv  -c:v libx264 -vf setpts=PTS-STARTPTS -acodec libfdk_aac -f
> mp4  -y out.mp4

Complete, uncut console output missing, try -movflags +negative_cts_offsets
(or -movflags -negative_cts_offsets).

Carl Eugen


More information about the ffmpeg-user mailing list