[FFmpeg-trac] #7562(undetermined:new): using -hwaccel nvdec produces 'No decoder surfaces left' with interlaced input and 3 or more b-frames

FFmpeg trac at avcodec.org
Fri Nov 23 22:43:21 EET 2018


#7562: using -hwaccel nvdec produces 'No decoder surfaces left' with interlaced
input and 3 or more b-frames
-------------------------------------+-------------------------------------
             Reporter:  malakudi     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  nvdec        |               Resolution:
  regression                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by oromit):

 There's not much to bisect here. This probably happens since the change
 from copying the frame to directly handing through the mapped cuvid
 surface, making the decoder dependend on the other parts of the chain
 releasing frames fast enough. The logic to calculate this does not seem to
 be flawless with interlaced content. I suspect it's a paff vs. mbaff issue
 as well.

 You can always increase the buffer size by bumping up extra_hw_frames
 until the chain runs through.

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


More information about the FFmpeg-trac mailing list