[FFmpeg-trac] #568(FFmpeg:new): H264 frame drop with the drop of one slice

FFmpeg trac at avcodec.org
Mon Oct 17 21:44:55 CEST 2011


#568: H264 frame drop with the drop of one slice
----------------------------------------+---------------------------------
               Reporter:  hardiksharma  |                  Owner:  michael
                   Type:  defect        |                 Status:  new
               Priority:  normal        |              Component:  FFmpeg
                Version:  unspecified   |               Keywords:
             Blocked By:                |               Blocking:
Reproduced by developer:  0             |  Analyzed by developer:  0
----------------------------------------+---------------------------------
 I am trying to transcode from .264 to yuv format.

 I dropped slices (one by one) in h264 file format and then decoded the
 .264 to yuv format. During decoding, decoder is dropping the respective
 frame if I drop the header slice/first slice of the frame. Happening for P
 and B both.

 Command line to decode- ffmpeg -b:v 512k -r 30 -i error_$sliceno.264 -b:v
 512k -x264opts sar=352:288 -r 30 -y decode_$sliceno.yuv

  ffmpeg -v 9 -loglevel 99 -i error_51.264
 ffmpeg version N-33472-gfbb8468, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct 10 2011 18:37:07 with gcc 4.4.5
   configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
 --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree
 --enable-postproc --enable-version3 --enable-x11grab
   libavutil    51. 20. 1 / 51. 20. 1
   libavcodec   53. 20. 0 / 53. 20. 0
   libavformat  53. 15. 0 / 53. 15. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 43. 6 /  2. 43. 6
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [h264 @ 0x9f1cac0] Format h264 probed with size=2048 and score=51
 [h264 @ 0x9f22d20] no picture
 [h264 @ 0x9f22d20] concealing 47 DC, 47 AC, 47 MV errors
 [h264 @ 0x9f22d20] Missing reference picture
     Last message repeated 13 times
 [h264 @ 0x9f1cac0] max_analyze_duration 5000000 reached at 5000000
 [h264 @ 0x9f1cac0] Estimating duration from bitrate, this may be
 inaccurate

 Seems stream 0 codec frame rate differs from container frame rate: 60.00
 (60/1) -> 30.00 (60/2)
 Input #0, h264, from 'error_51.264':
   Duration: N/A, bitrate: N/A
     Stream #0:0, 152, 1/1200000: Video: h264 (High), yuv420p, 352x288,
 1/60, 30 fps, 30 tbr, 1200k tbn, 60 tbc

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/568>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list