[FFmpeg-trac] #10517(avcodec:new): NVDEC "No decoder surfaces left" with bad (corrupted) video stream.

FFmpeg trac at avcodec.org
Sat Aug 26 06:08:44 EEST 2023


#10517: NVDEC "No decoder surfaces left" with bad (corrupted) video stream.
------------------------------------+-----------------------------------
             Reporter:  ua0lnj      |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  nvdec       |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by ua0lnj):

 Try mpv with nvdec.
 I can't reproduce the error with ffmpeg, but with mpv it is reproduced

 [ffmpeg/video] h264: No decoder surfaces left
 Error while decoding frame (hardware decoding)!
 [ffmpeg/video] h264: reference picture missing during reorder
 [ffmpeg/video] h264: reference picture missing during reorder
 [ffmpeg/video] h264: reference picture missing during reorder
 [ffmpeg/video] h264: Missing reference picture, default is 65537
 [ffmpeg/video] h264: Missing reference picture, default is 65537
 [ffmpeg/video] h264: Missing reference picture, default is 65537
 [ffmpeg/video] h264: No decoder surfaces left
 Error while decoding frame (hardware decoding)!

 You need to play the entire file, if only a segment, then no error occurs,
 perhaps this is a cumulative error.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10517#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list