Use cuda streams for NVENC
NvPipe (video encode + decode) uses CUDA for colour conversion but does not use streams which causes a device sync. This device sync is likely to interfere with out CUDA activities. It may also be an option to do the colour conversion on the CPU to avoid getting in the way of our use of the GPU.
Edited by Nicolas Pope