[FFmpeg-user] Translate dts to hh:mm:ss?

Nicolas George nicolas.george at normalesup.org
Fri May 10 16:22:26 CEST 2013


Le primidi 21 floréal, an CCXXI, Tom Horsley a écrit :
> Is there any way to translate those pts/dts timestamps into
> a number of seconds so I can look at that time in the resulting
> file to see if there is a problem there?

You need to know the time base. ffprobe -show_streams can show it, but for
MPEG-PS, it is always 1/90000.

Note that you will also need to subtract the start time to find the
corresponding frame in the output file.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130510/d9b637f3/attachment.asc>


More information about the ffmpeg-user mailing list