Hi, I am trying to encode with rpc option to change bitrate and framerate while encoding the stream with following options. H.264 works properly. But it seems that AV1 does not work.
H.264:
$ ./video_encode input.yuv 1280 720 H264 out.h264 -br 1500000 -rpc "f900,b500000"
Creating Encoder in blocking mode
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
875967048
842091865
H264: Profile = 66, Level = 51
NVMEDIA: Need to set EMC bandwidth : 376000
NVMEDIA_ENC: bBlitMode is set to TRUE
Frame 900: Changing parameters
Bitrate = 500000
875967048
842091865
Could not read complete frame from input file
File read complete.
Got 0 size buffer in capture
App run was successful
AV1:
$ ./video_encode input.yuv 1280 720 AV1 out.av1 -br 1500000 -rpc "f900,b500000"
Creating Encoder in blocking mode
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 283
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 283
808539713
842091865
NVMEDIA: Need to set EMC bandwidth : 846000
NVMEDIA_ENC: bBlitMode is set to TRUE
Frame 900: Changing parameters
Bitrate = 500000
808539713
842091865
Could not read complete frame from input file
File read complete.
Got 0 size buffer in capture
App run was successful
Here is the encoded bitrate on H.264 and AV1. As you can see, AV1 line shows always 1500kbps.
I had tried framerate. But this was also same result.