Replies: 1 comment 3 replies
-
As the example uses a 'create_video_configuration', the default framerate will be 30 fps, so forcing a wider range of allowable frame durations might allow for a longer exposure. Also forcing a mild 'overexposure' might help .
Don't think this will influence only one stream but might drive the video levels up so the difference is less noticeable??? Edit.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I am using mjpeg_server_2.py to get a live stream from the Odseven Raspberry Pi Camera Board - "Spy Camera" (5MP).
I have another flask app which produces an HTML page.
To get the live stream on this webpage I am using the <iframe> tag to display the direct stream: http://192.168.1.10:8080/stream.mjpg.
The problem is that there is a significant difference in exposure (I guess) between the direct stream (2.jpg - darker picture) and HTML streaming webpage http://192.168.1.10:8080/index.html (1.jpg - lighter picture)
I tried using picam2.set_controls({"ExposureTime":10000, "AnalogueGain": 1.0}) but this only caused totally black view across both ways of streaming. I tried different ExposureTime values without any luck.
Question:
Is there any way to increase the exposure of the direct mjpg stream?
Many thanks for help in advance
Adam
Beta Was this translation helpful? Give feedback.
All reactions