[FFmpeg-trac] #7374(avcodec:new): H.264 decoder is left in broken state after a glitch and switch in input

FFmpeg trac at avcodec.org
Wed Aug 22 12:47:33 EEST 2018


#7374: H.264 decoder is left in broken state after a glitch and switch in input
-------------------------------------+-----------------------------------
             Reporter:  JEEB         |                    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 JEEB):

 Yes, this is not a regression (at least not a recent one) since I've poked
 at this with various versions from the last year+ or so.

 The problem currently is that this glitch or whatever it is happens
 relatively often in certain streams (although I was only recently able to
 capture it as it happened), and the decoder doesn't die hard enough, or
 re-initialize its state properly - thus leading to artifacts in long-
 running decoders for the rest of the session. Let's just say that's not
 optimal. That's the primary reason why I created this ticket.

 I tested with VAAPI in mpv, and it bails out at the glitch point and falls
 back to swdec. Of course the next time the glitch happens, swdec is left
 in a state that isn't optimal.

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


More information about the FFmpeg-trac mailing list