[FFmpeg-user] Converting DTS (timestamps) in mpegts to HH:MM:SS:FF

Kieran O Leary kieran.o.leary at gmail.com
Tue Jun 16 11:45:02 EEST 2020


On Tue, Jun 16, 2020 at 9:40 AM Kieran O Leary <kieran.o.leary at gmail.com>
wrote:

> OK, so I figured out that the dts needs to be divided by
> pkt_duration_time, which in this instance was 3600. Not sure how to get
> that aside from using ffprobe as I don't see it listed in the ffmpeg output.
>

Sorry, the dts value needs to be divided by pkt_duration, which gives the
frame number. Also ffmpeg is amazing.

Best,

Kieran.

>


More information about the ffmpeg-user mailing list