Hi,
I’m using NVenc v7.0 (for compatibility with older systems).
My code has spsId and .ppsId set to 0 on the NV_ENC_CONFIG_H264 structure.
Here and there in my output H.264 files I’m seeing non-zero values; 1, 2, 3, etc.
even when no values on the sequence/picture parameter sets change.
I understand that in v7.0 the values are reserved and must be set to 0 so I’m guessing NVenc chooses the actual IDs.
Note: I am calling NvEncReconfigureEncoder a lot.
A few questions relating to this:
- What exactly causes the numbers to increment?
- If I use a more recent NVenc version (where these values are not reserved anymore) and leave these values as 0, will it always then force them to 0?
- To upgrade to use, say, NVenc 8.0 (to take advantage of the spsId/ppsId field funtionality), can I get away with just setting NVENCAPI_MAJOR_VERSION to 8, as long as I’m not using any deprecated fields or features removed from the newer version?
- If I call NvEncGetSequenceParams passing spsId=0 and ppsId=0 via the NV_ENC_SEQUENCE_PARAM_PAYLOAD structure, I get a bitstream that seems to ignore those parameters. What then is the point of those parameters?
Thanks in advance,
Eric