[FFmpeg-trac] #11553(avcodec:open): BUG error code returned when decoding vp9

FFmpeg trac at avcodec.org
Mon May 5 01:48:47 EEST 2025


#11553: BUG error code returned when decoding vp9
------------------------------------+-----------------------------------
             Reporter:  jasper      |                    Owner:  (none)
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  vp9         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |
------------------------------------+-----------------------------------
Changes (by mkver):

 * reproduced:  0 => 1

Comment:

 It's not a bug in the decoder, but in the FFmpeg cli tool: In
 packet_decode() in ffmpeg_dec.c an AVPacket is sent to the decoder; if
 avcodec_send_packet() does not return an error, the AVFrames are received
 until the decoder signals EAGAIN. But if an error happens, no call to
 avcodec_receive_frame() happens and the decoder is supposed to need new
 input to produce any output. This is wrong for VP9 (and maybe some other
 decoders) as there is a BSF involved and the BSF need not have been
 completely drained.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11553#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list