[FFmpeg-trac] #7562(undetermined:open): using -hwaccel nvdec produces 'No decoder surfaces left' with interlaced input and 3 or more b-frames
FFmpeg
trac at avcodec.org
Thu Mar 5 04:49:30 EET 2020
#7562: using -hwaccel nvdec produces 'No decoder surfaces left' with interlaced
input and 3 or more b-frames
-------------------------------------+-------------------------------------
Reporter: malakudi | Owner:
Type: defect | Status: open
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: nvdec | Blocked By:
regression |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by Balling):
* status: new => open
Comment:
So this could be because frames_ctx->initial_pool_size = dpb_size + 2;
should be executed here
https://github.com/FFmpeg/FFmpeg/blob/317b7b06fd97cd39feac7df57db22a30550351ff/libavcodec/nvdec.c#L621
see #6989. Well, it can be fixed with
-extra_hw_frames 2, OBVIOUSLY, no surprises here /facepalm.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7562#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list