How to set pts from 0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to set pts from 0

penguin flying
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

But NOT WORK.


How to set pts of output file  from 0?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to set pts from 0

Carl Eugen Hoyos-2
Am Fr., 13. März 2020 um 02:59 Uhr schrieb penguin flying
<[hidden email]>:
>
> 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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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