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

Tom Horsley horsley1953 at gmail.com
Fri May 10 16:12:14 CEST 2013


If I encode a possibly corrupted (ntsc) mpg file, I sometimes see things
like this in the log:

[mpeg @ 0x2dc9300] Invalid timestamps stream=0, pts=71146986, dts=71146987, size=32539
[mpeg @ 0x2dc9300] Invalid timestamps stream=0, pts=79134966, dts=79134967, size=30075
[mpeg2video @ 0x2dc9de0] 00 motion_type at 116 13
[mpeg2video @ 0x2dc9de0] Warning MVs not available
[mpeg2video @ 0x2dc9de0] concealing 173 DC, 173 AC, 173 MV errors in P frame
[mpeg2video @ 0x2dc9de0] invalid mb type in P Frame at 32 34
[mpeg2video @ 0x2dc9de0] concealing 120 DC, 120 AC, 120 MV errors in P frame
[mpeg @ 0x2dc9300] Invalid timestamps stream=0, pts=114336132, dts=114336133, size=16833
[mpeg @ 0x2dc9300] Invalid timestamps stream=0, pts=114816612, dts=114816613, size=8305

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?


More information about the ffmpeg-user mailing list