Quote:
Originally Posted by Thad House
The wpilib opencv artifacts are not compiled with non-free codec support. Because of this, both VideoWriter and VideoCapture do not support reading or writing from encoded streams such as Avi or mpeg-4. You will need to write individual frames as jpegs using imwrite if you want to write frames.
|
Does it work using MPJEG as the codec type for VideoWriter? We've done that before as an alternative to tying up CPU cycles trying to do H264 or whatever encoding on the fly.