matiasandina / python_camera

Code for different python camera apps
MIT License
0 stars 0 forks source link

Codecs and bitrates are likely to not work #8

Open matiasandina opened 11 months ago

matiasandina commented 11 months ago

I was looking for a way to reduce the size of videos. In general one can:

I have included externalization of extension and codecs. It's likely that if you don't compile opencv from source you can't record with some encodings (h264). It's also likely that compressing on acquisition is computationally too expensive to handle in realtime (videos drop a bunch of frames).

I have not found a way to change bitrate (a search through opencv itself makes me think it's actually a common issue that people have)