[FFmpeg-trac] #10445(avcodec:new): nvenc intra-refresh disabled

FFmpeg trac at avcodec.org
Mon Jul 3 23:03:49 EEST 2023


#10445: nvenc intra-refresh disabled
----------------------------------+--------------------------------------
             Reporter:  thorvald  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  git-master
             Keywords:  nvenc     |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 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.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10445>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list