How to control VideoWriter encoding bitrate?

asked 2014-03-27 11:10:23 -0500

Dave92F1 gravatar image

Is there a way to control the video codec encoding bitrate in OpenCV?

With ffmpeg you can do -qscale n. That will (indirectly) influence the bitrate. Is there an equivalent via the OpenCV Python bindings?

The bitrate I get now seems to be around 8 to 10 Mbps, which is really high (quality is excellent of course, but I'm trying to save on bandwidth...)

edit retag flag offensive close merge delete

Comments

Were you able to resolve this?

anandmalpani gravatar imageanandmalpani ( 2015-10-14 11:30:33 -0500 )edit