[FFmpeg-trac] #424(undetermined:new): A/V desync on transport stream
FFmpeg
trac at avcodec.org
Thu Sep 1 12:33:47 CEST 2011
#424: A/V desync on transport stream
-------------------------+--------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: normal | Component: undetermined
Version: git-master | Keywords:
Blocked By: | Blocking:
Reproduced: 0 | Analyzed: 0
-------------------------+--------------------------
http://streams.videolan.org/issues/5203/ts720p_i_fr.ts
The stream contains 720p60 H264 video and mp2 stereo sound. When
transcoded with FFmpeg, the resulting file is non-interleaved, i.e. the 15
seconds of sound come first (without picture). MPlayer's mpegts demuxer
indicates that the stream does start with mostly identical timestamps for
audio and video (but plays the video too fast).
FFmpeg seems to believe that audio starts with timestamps ~130 and video
with ~260.
{{{
$ ffmpeg -i ts720p_i_fr.ts -qscale 5 out.avi
ffmpeg version N-32263-g3584b01, Copyright (c) 2000-2011 the FFmpeg
developers
built on Sep 1 2011 12:14:35 with gcc 4.5.3
configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
libavutil 51. 14. 0 / 51. 14. 0
libavcodec 53. 12. 0 / 53. 12. 0
libavformat 53. 10. 0 / 53. 10. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 37. 0 / 2. 37. 0
libswscale 2. 0. 0 / 2. 0. 0
[mpegts @ 0x8c963a0] Continuity Check Failed
[mpegts @ 0x8c963a0] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x8c963a0] PES packet size mismatch
Input #0, mpegts, from 'ts720p_i_fr.ts':
Duration: 00:00:14.61, start: 130.272000, bitrate: 9237 kb/s
Program 16
Metadata:
service_name : PMR COBRA 1213
service_provider: PMR
Stream #0.0[0x109]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 90k tbn, 120 tbc
Stream #0.1[0x103]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz,
stereo, s16, 128 kb/s
[buffer @ 0x8d86a00] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1
sws_param:
Incompatible sample format 's16' for codec 'ac3', auto-selecting format
'flt'
Output #0, avi, to 'out.avi':
Metadata:
ISFT : Lavf53.10.0
Stream #0.0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1280x720 [SAR
1:1 DAR 16:9], q=2-31, 200 kb/s, 60 tbn, 60 tbc
Stream #0.1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, flt,
128 kb/s
Stream mapping:
Stream #0.0 -> #0.0 (h264 -> mpeg4)
Stream #0.1 -> #0.1 (mp2 -> ac3)
Press [q] to stop, [?] for help
[mpegts @ 0x8c963a0] Continuity Check Failed
Last message repeated 1 times 236kB time=00:00:14.27 bitrate=
135.6kbits/s
[mpegts @ 0x8c963a0] PES packet size mismatch
[h264 @ 0x8c9b6e0] error while decoding MB 76 41, bytestream (-5)
[h264 @ 0x8c9b6e0] concealing 293 DC, 293 AC, 293 MV errors
frame= 852 fps= 31 q=5.0 Lsize= 177161kB time=00:00:14.62
bitrate=99241.4kbits/s
video:12002kB audio:228kB global headers:0kB muxing overhead 1348.534109%
}}}
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/424>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list