Carl Eugen Hoyos <[email protected]> added the comment:

Sample plays fine with mplayer -vo sdl -ao sdl -demuxer mpegts (fails completely
with -demuxer lavf), but stutters with ffplay (CPU usage ~70% of one core).
ffmpeg test.avi and test.mpeg produce fine files, ffmpeg test.mp4 produces a
file where video lags audio significantly, no matter which audio codec I use.
(I wonder if this is related to issue 1302)

ffmpeg -i ArteHD_playback_issues_bug788.m2t test.mp4
FFmpeg version SVN-r19568, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --cc=/opt/intel/cce/10.1.023/bin/icc --cpu=core2 --enable-gpl
--extra-cflags=-parallel --extra-ldflags=-parallel --enable-postproc
--enable-avfilter --enable-pthreads --enable-nonfree --enable-version3
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdirac
--enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame
--extra-cflags='-I/usr/include/openjpeg -I/usr/include/gsm' --enable-libopenjpeg
--enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.32. 0 / 52.32. 0
  libavformat   52.37. 0 / 52.37. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    0. 5. 0 /  0. 5. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Aug  3 2009 01:02:01, gcc: Intel(R) C++ gcc 4.3 mode
[NULL @ 0x138d490]non-existing SPS 32 referenced in buffering period
[NULL @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 32 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS 0 referenced
[h264 @ 0x138d490]decode_slice_header error
[h264 @ 0x138d490]no frame!
[h264 @ 0x138d490]non-existing SPS 15 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 15 referenced in buffering period
[h264 @ 0x138d490]B picture before any references, skipping
[h264 @ 0x138d490]decode_slice_header error
[h264 @ 0x138d490]no frame!
[h264 @ 0x138d490]non-existing SPS 19 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 19 referenced in buffering period
[h264 @ 0x138d490]B picture before any references, skipping
[h264 @ 0x138d490]decode_slice_header error
[h264 @ 0x138d490]no frame!
[h264 @ 0x138d490]non-existing SPS 23 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 23 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS 0 referenced
[h264 @ 0x138d490]decode_slice_header error
[h264 @ 0x138d490]no frame!
[h264 @ 0x138d490]non-existing SPS 27 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 27 referenced in buffering period
[h264 @ 0x138d490]B picture before any references, skipping
[h264 @ 0x138d490]decode_slice_header error
[h264 @ 0x138d490]no frame!
[h264 @ 0x138d490]non-existing SPS 7 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 7 referenced in buffering period
[h264 @ 0x138d490]B picture before any references, skipping
[h264 @ 0x138d490]decode_slice_header error
[h264 @ 0x138d490]no frame!
[h264 @ 0x138d490]non-existing SPS 8 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 8 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS 0 referenced
[h264 @ 0x138d490]decode_slice_header error
[h264 @ 0x138d490]no frame!
[h264 @ 0x138d490]non-existing SPS 9 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 9 referenced in buffering period
[h264 @ 0x138d490]B picture before any references, skipping
[h264 @ 0x138d490]decode_slice_header error
[h264 @ 0x138d490]no frame!
[h264 @ 0x138d490]non-existing SPS 10 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 10 referenced in buffering period
[h264 @ 0x138d490]B picture before any references, skipping
[h264 @ 0x138d490]decode_slice_header error
[h264 @ 0x138d490]no frame!
[h264 @ 0x138d490]number of reference frames exceeds max (probably corrupt
input), discarding one

Seems stream 0 codec frame rate differs from container frame rate: 100.00
(100/1) -> 50.00 (50/1)
    Last message repeated 10 times
Input #0, mpegts, from 'ArteHD_playback_issues_bug788.m2t':
  Duration: 00:00:13.86, start: 90400.406000, bitrate: 12005 kb/s
  Program 1000
    Stream #0.0[0x1842]: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50
tbr, 90k tbn, 100 tbc
    Stream #0.1[0x184d](ger): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
    Stream #0.2[0x184e](fra): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Output #0, mp4, to 'test.mp4':
    Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 200
kb/s, 50 tbn, 50 tbc
    Stream #0.1(ger): Audio: aac, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[h264 @ 0x138d490]non-existing SPS 32 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]number of reference frames exceeds max (probably corrupt
input), discarding one
    Last message repeated 7 times
[h264 @ 0x138d490]non-existing SPS 15 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 19 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 23 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 27 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 7 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 8 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 9 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]non-existing SPS 10 referenced in buffering period
[h264 @ 0x138d490]non-existing PPS referenced
[h264 @ 0x138d490]error while decoding MB 14 16, bytestream (-9)17.6kbits/s
[h264 @ 0x138d490]concealing 2355 DC, 2355 AC, 2355 MV errors
[h264 @ 0x138d490]missing picture in access unit12.67 bitrate= 914.4kbits/s
[mp2 @ 0x138dc80]incomplete frame
Error while decoding stream #0.1
[h264 @ 0x138d490]missing picture in access unit
frame=  646 fps= 63 q=31.0 Lsize=    1561kB time=12.71 bitrate=1005.5kbits/s
video:1439kB audio:110kB global headers:0kB muxing overhead 0.714866%

----------
status: new -> open
substatus: new -> reproduced
title: ffplay/ffmpeg unable to properly play back Arte HD stream -> ffplay 
unable to properly play back Arte HD stream

____________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/roundup/ffmpeg/issue788>
____________________________________________________

Reply via email to