goodrobots / vision_landing

Precision landing using visual targets
GNU General Public License v3.0
202 stars 71 forks source link

Implement fourcc codec option #25

Closed fnoop closed 7 years ago

fnoop commented 7 years ago

Opencv VideoWriter can take a fourcc option which influences how ffmpeg compresses the output stream. Normally this is set to 0 and a gstreamer output is used, or a simple filename. However if using a simple output string, using a fourcc code is the only way to specify a codec.