[NVENC ] Encoding for Multiple Files

Hi all,

What we are trying to do is to encode raw images captured from cameras into a bunch of video chunks.

We tried changing output file around every 100 frames. However, all videos except the first one are missing video headers. We then tried to open another encoder for each new video chunk, but it takes so long to initialize an encoder that it can’t keep up with the image data stream.

We’re wondering if there is a way to change the output file parameter for encoder and quickly reinitialize the encoder, so that the new video files have headers as well.