[FFmpeg-trac] #555(avcodec:open): h264: invalid 8x8 inference, reference decoder works fine (was: ffplay.exe cann't play the h.264.ts file, but the old version is OK!)

FFmpeg trac at avcodec.org
Sat Oct 15 11:40:28 CEST 2011


#555: h264: invalid 8x8 inference, reference decoder works fine
-------------------------------------+-------------------------------------
             Reporter:  wanderman    |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  H264         |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1
 * component:  undetermined => avcodec
 * priority:  normal => important
 * keywords:  H264 TS NOT PLAYED => H264 regression
 * version:  unspecified => git-master
 * analyzed:  1 => 0


Comment:

 Attached h264 raw stream can be decoded with the reference decoder, ffmpeg
 does not decode the stream since 1c3ce2cd3ef3df47eccb0245017a6d2f3d5308b4
 (r21668), protesting "This stream was generated by a broken encoder,
 invalid 8x8 inference"
 {{{
 $ ffmpeg -i invalid8x8.h264
 ffmpeg version N-33659-g1d0afec, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct 15 2011 10:58:34 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
   libavutil    51. 21. 0 / 51. 21. 0
   libavcodec   53. 20. 1 / 53. 20. 1
   libavformat  53. 16. 0 / 53. 16. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 43. 6 /  2. 43. 6
   libswscale    2.  1. 0 /  2.  1. 0
 [h264 @ 0x1304be0] This stream was generated by a broken encoder, invalid
 8x8 inference
 [h264 @ 0x1304be0] sps_id out of range
 [h264 @ 0x1304be0] non-existing PPS referenced
 [h264 @ 0x1304be0] This stream was generated by a broken encoder, invalid
 8x8 inference
 [h264 @ 0x1304be0] sps_id out of range
 [h264 @ 0x1304be0] non-existing PPS 0 referenced
 [h264 @ 0x1304be0] decode_slice_header error
 [h264 @ 0x1304be0] no frame!

 ...

 [h264 @ 0x1304be0] non-existing PPS referenced
 [h264 @ 0x1304be0] non-existing PPS 0 referenced
 [h264 @ 0x1304be0] decode_slice_header error
 [h264 @ 0x1304be0] no frame!
 [h264 @ 0x1304be0] non-existing PPS referenced
 [h264 @ 0x1304be0] non-existing PPS 0 referenced
 [h264 @ 0x1304be0] decode_slice_header error
 [h264 @ 0x1304be0] no frame!
 [h264 @ 0x12fe780] Could not find codec parameters (Video: h264)
 [h264 @ 0x12fe780] Estimating duration from bitrate, this may be
 inaccurate
 invalid8x8.h264: could not find codec parameters
 }}}
 {{{
 $ ffmpeg -i invalid8x8.h264
 FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-libfaad
 --enable-gpl --enable-x11grab --enable-libmp3lame
   libavutil     49.15. 0 / 49.15. 0
   libavcodec    52.20. 1 / 52.20. 1
   libavformat   52.31. 0 / 52.31. 0
   libavdevice   52. 1. 0 / 52. 1. 0
   built on Aug 19 2011 10:40:35, gcc: 4.5.3

 Seems stream 0 codec frame rate differs from container frame rate: 50.00
 (50/1) -> 25.00 (50/2)
 Input #0, h264, from 'invalid8x8.h264':
   Duration: N/A, bitrate: N/A
     Stream #0.0: Video: h264, yuv420p, 720x576, 25 tbr, 1200k tbn, 50 tbc
 At least one output file must be specified
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/555#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list