Quality controls the amount of compression used in the encoding and therefore the bitrate of the H264 encoding.
My fault, I forgot also import Quality.
Anyway, setting high quality I still get 1280x720 despite I set quality=Quality.VERY_HIGH
MP4Box:
If you want to control the resolution of the recordings in pixels, you need to specify the required width and height in the configuration.
(The default video configuration is 1280 x 720).
So perhaps try a configuration of
Code:
video_config = picam2.create_video_configuration(main={"size":(1920,1080})
Code:
video_config = picam2.create_video_configuration(main={"size":(1672,1254})
Statistics: Posted by sandyol — Mon Mar 11, 2024 7:35 pm