Opened 10 months ago

#10445 new defect

nvenc intra-refresh disabled

Reported by: thorvald Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: nvenc
Cc: thorvald Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

On current master, nvenc intra-refresh seems to not work.

I'm unfortunately not set up to bisect on this machine, but looking at the code in nvenc.c, there was a change in 99dfdb45a89955916651eeaeac77d938e9a4217a for hevc->intraRefreshPeriod from avctx->gop_size to cc->gopLength

However, there's _also_ code which sets gopLength to NVENC_INFINITE_GOPLENGTH if intra_refresh is set, so this combination seems to result in intraRefreshPeriod being effectively disabled.

If I downgrade to a build from Jun 21st, intra-refresh works again.

Change History (0)

Note: See TracTickets for help on using tickets.