I am using OpenCV's VideoWriter
to record videos with FFMPEG. I am using the lossless FFV1 codec. As far as I can tell if the FourCC code 'F', 'F', 'V', '1'
is specified, the codec defaults to FFV1 version 3, however, I would like to record using FFV1 version 1 for interoperability reasons down the line. In FFMPEG the switch can be easily acheived by passing the -level 1
flag to the encoder.
Is there a way in OpenCV to pass such parameters to the encoder through the VideoWriter
object or through any other means?