[FFmpeg-trac] #2580(avcodec:new): FLV h264 video decoding corrupted

FFmpeg trac at avcodec.org
Fri May 17 00:04:57 CEST 2013


#2580: FLV h264 video decoding corrupted
-------------------------------------+-----------------------------------
             Reporter:  relevante    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:  h264         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by ubitux):

 Replying to [comment:3 cehoyos]:
 > Replying to [comment:2 ubitux]:
 > > Replying to [comment:1 cehoyos]:
 > > > Is an external library (-vcodec libx264) needed to reproduce this
 problem or is it also reproducible with a native encoder?
 > >
 > > The problem is in the h264 decoder (or eventually flv demuxer), not
 related to the encoding process (it can be reproduced with ffplay).
 >
 > Is it only reproducible with ffplay but not with ffmpeg? If it is
 reproducible with ffmpeg, please provide a command line (ffmpeg -i file -t
 16 -an out.avi) together with the complete, uncut console output to make
 this a valid ticket.
 >

 I pointed out ffplay to insist on the fact that it's not a problem in the
 encoding.

 {{{
 % ./ffmpeg -i /tmp/58af5798-fa2c-42a2-997d-dc8e49de2d8a.flv -t 17 -an -f
 null -
 ffmpeg version N-53165-g3da726f Copyright (c) 2000-2013 the FFmpeg
 developers
   built on May 16 2013 23:20:30 with gcc 4.8.0 (GCC) 20130502 (prerelease)
   configuration: --enable-gpl --enable-version3 --enable-fontconfig
 --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-
 libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-
 x11grab --enable-libopenjpeg --enable-libass --enable-libmodplug --enable-
 libv4l2 --cc=colorgcc --samples=/home/ubitux/fate-samples
 --prefix=/tmp/ffinstall --disable-runtime-cpudetect --enable-libcelt
 --enable-libopencv --enable-frei0r --enable-libcaca --enable-libiec61883
 --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopus
 --enable-libpulse --enable-libspeex --enable-libquvi --assert-level=2
 --enable-libzmq
   libavutil      52. 32.100 / 52. 32.100
   libavcodec     55.  9.100 / 55.  9.100
   libavformat    55.  7.100 / 55.  7.100
   libavdevice    55.  0.100 / 55.  0.100
   libavfilter     3. 68.101 /  3. 68.101
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, flv, from '/tmp/58af5798-fa2c-42a2-997d-dc8e49de2d8a.flv':
   Metadata:
     creationdate    : Wed May 8 10:49:33
   Duration: 00:09:56.16, start: 0.000000, bitrate: 346 kb/s
     Stream #0:0: Video: h264 (Baseline), yuv420p, 192x144, 15 tbr, 1k tbn,
 2k tbc
     Stream #0:1: Audio: speex, 16000 Hz, mono, s16
 Output #0, null, to 'pipe:':
   Metadata:
     creationdate    : Wed May 8 10:49:33
     encoder         : Lavf55.7.100
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 192x144,
 q=2-31, 200 kb/s, 90k tbn, 15 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> rawvideo)
 Press [q] to stop, [?] for help
 [null @ 0x351a040] Encoder did not produce proper pts, making some up.
 [h264 @ 0x3438a20] Overread VUI by 2 bits
 [h264 @ 0x3438a20] left block unavailable for requested intra mode at 0 8
 [h264 @ 0x3438a20] error while decoding MB 0 8
 [h264 @ 0x3438a20] concealing 61 DC, 61 AC, 61 MV errors in I frame
 [h264 @ 0x343baa0] out of range intra chroma pred mode at 0 4
 [h264 @ 0x351b080] left block unavailable for requested intra mode at 0 2
 [h264 @ 0x351b080] error while decoding MB 0 2
 [h264 @ 0x343baa0] error while decoding MB 0 4
 [h264 @ 0x351baa0] negative number of zero coeffs at 0 2
 [h264 @ 0x343baa0] Cannot use next picture in error concealment
 [h264 @ 0x351baa0] error while decoding MB 0 2
 [h264 @ 0x343baa0] concealing 108 DC, 108 AC, 108 MV errors in P frame
 [h264 @ 0x351baa0] Cannot use next picture in error concealment
 [h264 @ 0x351b080] [h264 @ 0x343c220] out of range intra chroma pred mode
 at 6 4
 Cannot use next picture in error concealment
 [h264 @ 0x351baa0] concealing 108 DC, 108 AC, 108 MV errors in P frame
 [h264 @ 0x351b080] concealing 108 DC, 108 AC, 108 MV errors in P frame
 [h264 @ 0x343c220] error while decoding MB 6 4
 [h264 @ 0x343c220] Cannot use next picture in error concealment
 [h264 @ 0x343c220] concealing 103 DC, 103 AC, 103 MV errors in P frame
 [h264 @ 0x343d680] P sub_mb_type 8 out of range at 6 1
 [h264 @ 0x343d680] error while decoding MB 6 1
 [h264 @ 0x343d680] Cannot use next picture in error concealment
 [h264 @ 0x3438a20] P sub_mb_type 32 out of range at 0 4
 [h264 @ 0x343d680] concealing 108 DC, 108 AC, 108 MV errors in P frame
 [h264 @ 0x3438a20] error while decoding MB 0 4
 [h264 @ 0x343c220] Overread VUI by 2 bits
 [h264 @ 0x3438a20] Cannot use next picture in error concealment
 [h264 @ 0x3438a20] [h264 @ 0x343c220] negative number of zero coeffs at 8
 1
 [h264 @ 0x343baa0] P sub_mb_type 25 out of range at 0 2
 [h264 @ 0x343c220] error while decoding MB 8 1
 [h264 @ 0x343c220] concealing 108 DC, 108 AC, 108 MV errors in I frame
 concealing 108 DC, 108 AC, 108 MV errors in P frame
 [h264 @ 0x343baa0] error while decoding MB 0 2
 [h264 @ 0x343baa0] Cannot use next picture in error concealment
 [h264 @ 0x343baa0] concealing 108 DC, 108 AC, 108 MV errors in P frame
 [h264 @ 0x351b080] P sub_mb_type 6 out of range at 6 8
 [h264 @ 0x351b080] error while decoding MB 6 8
 [h264 @ 0x3438a20] out of range intra chroma pred mode at 1 1
 [h264 @ 0x3438a20] error while decoding MB 1 1
 [h264 @ 0x351b080] Cannot use next picture in error concealment
 [h264 @ 0x3438a20] Cannot use next picture in error concealment
 [h264 @ 0x351b080] concealing 55 DC, 55 AC, 55 MV errors in P frame
 [h264 @ 0x3438a20] concealing 108 DC, 108 AC, 108 MV errors in P frame
 [h264 @ 0x3439460] mb_type 498 in P slice too large at 10 3
 [h264 @ 0x3439460] error while decoding MB 10 3
 [h264 @ 0x3439460] Cannot use next picture in error concealment
 [h264 @ 0x3439460] concealing 108 DC, 108 AC, 108 MV errors in P frame
 frame=  255 fps=0.0 q=0.0 Lsize=N/A time=00:00:17.00 bitrate=N/A dup=14
 drop=0
 video:24kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 -100.089869%
 }}}

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


More information about the FFmpeg-trac mailing list