
Add a call to avcodec_get_context_defaults3, this sets per-codec default values and in the case of libx264 will stop VideoWriter::open (with fourcc=x264) from failing due to libx264 complaining about broken ffmpeg default settings. Set some additional libx264 encoder parameters.
OpenCV: open source computer vision library Homepage: http://opencv.org Online docs: http://docs.opencv.org Q&A forum: http://answers.opencv.org Dev zone: http://code.opencv.org
Description
Languages
C++
83.4%
Cuda
5.9%
C
3.8%
Java
2.4%
CMake
2.2%
Other
2.1%