Now I am using VFW to make avi file from cv::Mat. Two 320x240 images captured from two camera then combined into 640x240. This combined image is added to VFW and user can determine the end of file in real time.
I would like to use GPU to encode this file so I tried to videoWriter in cudacodec but heard that it has not worked for a long time.
Is there any good solution to encode with GPU?