Am 01.06.2017 um 09:58 schrieb Srinath K R:> AVCodecContext::refs is
used to control the DPB size to be used by the
> encoder. The default value for AVCodecContext::refs as set in
> libavcodec/options_table.h is 1.
>
> This patch sets AVCodecContext::refs to 0 for h264_nvenc and hevc_nvenc in
> order to let the driver take the decision of the correct DPB size to
use in
> all cases.
>
> Signed-off-by: Srinath K R <s...@nvidia.com>

applied locally, will push with my next batch of patches.

Is this supposed to fix the issue with -bf >0?
For me, even with this applied, I still get the same old error:
[h264_nvenc @ 0x257c400] EncodePicture failed!: no encode device (1)

Using nvidia-drivers 381.22

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to