[FFmpeg-user] h264 stream errors with ffplay/ffmpeg but works with mplayer.

Andy Furniss andyqos at ukfsn.org
Sat Apr 14 22:16:50 CEST 2012


Hi.

This transport stream (37meg) 
http://www.andyqos.ukfsn.org/h264-mplayer-ok-ffmpeg-errors.ts

Plays OK with current mplayer svn with or without -demuxer lavf , but 
with current ffplay/ffmpeg I get lots of errors and corrupted output -

bash-3.2$ ffplay h264-mplayer-ok-ffmpeg-errors.ts
ffplay version N-39796-g64bd7f8 Copyright (c) 2003-2012 the FFmpeg 
developers
   built on Apr 14 2012 17:51:46 with gcc 4.2.3
   configuration: --prefix=/usr --enable-gpl --enable-libx264 
--enable-libfaac --enable-nonfree
   libavutil      51. 46.100 / 51. 46.100
   libavcodec     54. 14.101 / 54. 14.101
   libavformat    54.  3.100 / 54.  3.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 69.101 /  2. 69.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 11.100 /  0. 11.100
   libpostproc    52.  0.100 / 52.  0.100
[aac_latm @ 0xa1c4dc0] audio config changed
[h264 @ 0xa1c4a20] non-existing SPS 0 referenced in buffering period
[h264 @ 0xa1c4a20] non-existing PPS referenced
[h264 @ 0xa1c4a20] non-existing SPS 0 referenced in buffering period
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] no frame!
[h264 @ 0xa1c4a20] non-existing SPS 0 referenced in buffering period
[h264 @ 0xa1c4a20] non-existing PPS referenced
[h264 @ 0xa1c4a20] non-existing SPS 0 referenced in buffering period
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] non-existing PPS 0 referenced
[h264 @ 0xa1c4a20] decode_slice_header error
[h264 @ 0xa1c4a20] no frame!
[h264 @ 0xa1c4a20] mmco: unref short failure
     Last message repeated 5 times
[h264 @ 0xa1c4a20] Missing reference picture
[h264 @ 0xa1c4a20] Reference 2 >= 2
[h264 @ 0xa1c4a20] error while decoding MB 2 1, bytestream (7290)
[h264 @ 0xa1c4a20] Missing reference picture
[h264 @ 0xa1c4a20] Reference 4 >= 2
[h264 @ 0xa1c4a20] error while decoding MB 4 13, bytestream (6201)


<snip lots of the same>

[mpegts @ 0xa1bbde0] Could not find codec parameters (Unknown: none 
([17][0][0][0] / 0x0011))
[mpegts @ 0xa1bbde0] Could not find codec parameters (Unknown: none 
([5][0][0][0] / 0x0005))
[mpegts @ 0xa1bbde0] Could not find codec parameters (Unknown: none 
([11][0][0][0] / 0x000B))
     Last message repeated 2 times
[NULL @ 0xa1c5160] start time is not set in estimate_timings_from_pts
[NULL @ 0xa1c5720] start time is not set in estimate_timings_from_pts
[NULL @ 0xa1f28e0] start time is not set in estimate_timings_from_pts
[NULL @ 0xa1f8940] start time is not set in estimate_timings_from_pts
[NULL @ 0xa1feb80] start time is not set in estimate_timings_from_pts
[NULL @ 0xa204dc0] start time is not set in estimate_timings_from_pts
[mpegts @ 0xa1bbde0] PES packet size mismatch
Input #0, mpegts, from 'h264-mplayer-ok-ffmpeg-errors.ts':
   Duration: 00:00:30.66, start: 52774.382778, bitrate: 10044 kb/s
   Program 17472
     Stream #0:0[0x65]: Video: h264 (High) ([27][0][0][0] / 0x001B), 
yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 50.33 fps, 50 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x66](eng): Audio: aac_latm ([17][0][0][0] / 0x0011), 
48000 Hz, stereo, s16
     Stream #0:2[0x6a](eng): Unknown: none ([17][0][0][0] / 0x0011) 
(visual impaired)
     Stream #0:3[0x69](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
     Stream #0:4[0x96]: Unknown: none ([5][0][0][0] / 0x0005)
     Stream #0:5[0x6e]: Unknown: none ([11][0][0][0] / 0x000B)
     Stream #0:6[0x6f]: Unknown: none ([11][0][0][0] / 0x000B)
     Stream #0:7[0x82]: Unknown: none ([11][0][0][0] / 0x000B)
   Program 17540
   Program 17603
   Program 17664
[h264 @ 0xa1c2d20] Missing reference picture1KB vq= 2749KB sq=    0B 
f=0/0
[h264 @ 0xa1c2d20] decode_slice_header error
[h264 @ 0xa1c2d20] Missing reference picture
[h264 @ 0xa1c2d20] decode_slice_header error
[h264 @ 0xa1c2d20] Missing reference picture
[h264 @ 0xa1c2d20] decode_slice_header error
[h264 @ 0xa1c2d20] Missing reference picture
[h264 @ 0xa1c2d20] decode_slice_header error
[h264 @ 0xa1c2d20] Missing reference picture
[h264 @ 0xa1c2d20] decode_slice_header error
[h264 @ 0xa1c2d20] Missing reference picture
[h264 @ 0xa1c2d20] decode_slice_header error
[h264 @ 0xa1c2d20] concealing 6120 DC, 6120 AC, 6120 MV errors
[h264 @ 0xa2047c0] Missing reference picture4KB vq=12370KB sq=    0B 
f=0/0
[h264 @ 0xa2047c0] decode_slice_header error
[h264 @ 0xa2047c0] Missing reference picture
[h264 @ 0xa2047c0] decode_slice_header error
[h264 @ 0xa2047c0] Missing reference picture
[h264 @ 0xa2047c0] decode_slice_header error
[h264 @ 0xa2047c0] Missing reference picture
[h264 @ 0xa2047c0] decode_slice_header error
[h264 @ 0xa2047c0] Missing reference picture
[h264 @ 0xa2047c0] decode_slice_header error
[h264 @ 0xa2047c0] Missing reference picture
[h264 @ 0xa2047c0] decode_slice_header error
[h264 @ 0xa2047c0] concealing 6120 DC, 6120 AC, 6120 MV errors
[h264 @ 0xa1f5200] mmco: unref short failure3KB vq=15164KB sq=    0B 
f=0/0
     Last message repeated 5 times
[h264 @ 0xa1f5200] Missing reference picture
[h264 @ 0xa1f5200] Reference 2 >= 2
[h264 @ 0xa1f5200] error while decoding MB 2 1, bytestream (7290)
[h264 @ 0xa1f5200] Missing reference picture
[h264 @ 0xa1f5200] Reference 4 >= 2
[h264 @ 0xa1f5200] error while decoding MB 4 13, bytestream (6201)
[h264 @ 0xa1f5200] Missing reference picture
[h264 @ 0xa1f5200] Reference 3 >= 2
[h264 @ 0xa1f5200] error while decoding MB 2 25, bytestream (5927)
[h264 @ 0xa1f5200] Missing reference picture
[h264 @ 0xa1f5200] Reference 3 >= 2
[h264 @ 0xa1f5200] error while decoding MB 4 37, bytestream (5726)
[h264 @ 0xa1f5200] Missing reference picture
[h264 @ 0xa1f5200] Reference 2 >= 2
[h264 @ 0xa1f5200] error while decoding MB 1 49, bytestream (6231)
[h264 @ 0xa1f5200] Missing reference picture
[h264 @ 0xa1f5200] Reference 2 >= 2
[h264 @ 0xa1f5200] error while decoding MB 2 61, bytestream (4741)
[h264 @ 0xa1f55a0] top block unavailable for requested intra4x4 mode -1 
at 1 0
[h264 @ 0xa1f55a0] error while decoding MB 1 0, bytestream (4011)
[h264 @ 0xa1f55a0] Reference 4 >= 2
[h264 @ 0xa1f55a0] error while decoding MB 3 12, bytestream (3357)
[h264 @ 0xa1f55a0] Reference 3 >= 2

and so it continues.

Can anyone else reproduce this or if not suggest what's wrong with with 
my setup.

TIA

Andy.


More information about the ffmpeg-user mailing list