[FFmpeg-trac] #1071(avcodec:new): Error return code from hardware decoder is ignored in h264 decoder

FFmpeg trac at avcodec.org
Thu Mar 15 09:41:23 CET 2012


#1071: Error return code from hardware decoder is ignored in h264 decoder
-------------------------------------+-------------------------------------
             Reporter:  wl2776       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  h264         |               Blocked By:
  hardware acceleration decoding     |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by wl2776):

 Looks like my initial diagnostics was wrong.
 I've added some debugging output, and got_picture was 0 after all hardware
 errors.

 However, I was observing green frames accompanied with the following
 messages:

 [h264 @ 0E86DC60]=== avcodec_decode_video2 start ===
 [h264 @ 0E86DC60]Frame num gap 2 13
 [h264 @ 0E86DC60]Frame num gap 2 14
 [h264 @ 0E86DC60]Frame num gap 2 15
 [h264 @ 0E86DC60]Frame num gap 2 0
 [h264 @ 0E86DC60]no picture ooo
 [h264 @ 0E86DC60]illegal short term buffer state detected
 [h264 @ 0E86DC60]=== avcodec_decode_video2 end === bytes_used 59245 got 1
 (360)

 The first and last line were produced by my application and lines in the
 middle were generated by the decoder.

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


More information about the FFmpeg-trac mailing list