Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Substream Quality setting #755

Closed
mckochan opened this issue Mar 30, 2023 · 5 comments
Closed

Substream Quality setting #755

mckochan opened this issue Mar 30, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@mckochan
Copy link

Would it be possible to add a Quality variable for the sub streams?
SD30 is extremely blocky for me.

I've tried setting QUALITY_CAM_NAME_SUB to SD60 but it didn't work.

Also, sub streams are typically lower fps than main stream. Is it possible to set sub stream to 5fps?

@mrlt8 mrlt8 added the enhancement New feature or request label Mar 31, 2023
mrlt8 added a commit that referenced this issue Mar 31, 2023
@mrlt8
Copy link
Owner

mrlt8 commented Apr 1, 2023

Been playing around this for a couple of days, and, while we are able to change the FPS on the camera, the changes seems to apply to both the low and high, so having a different FPS on each stream doesn't seem possible, at least with the current firmware.

An interesting side effect is that the changing the FPS seems to affect the overall shutter speed which could potentially be useful to boost the night vision even further.

mrlt8 added a commit that referenced this issue Apr 3, 2023
* Add `SUB_QUALITY` option #755

* timelapse/save multiple snapshots #757

* rtsp-simple-server to MediaMTX
@mckochan
Copy link
Author

mckochan commented Apr 3, 2023

Awesome, thanks. I could definitely see 10fps being usable to save bandwidth and possibly boost night vision

mrlt8 added a commit that referenced this issue Apr 7, 2023
mrlt8 added a commit that referenced this issue Apr 7, 2023
* HA MQTT auto discovery #751

* remove debug

* Update stream.py

* Change default IMG_DIR to media #660

* Fix API snapshots

* Command to change FPS #609 #749  #755

* Update docs
@mrlt8 mrlt8 closed this as completed Apr 20, 2023
@roger-
Copy link

roger- commented Jun 18, 2023

Is there a list of valid quality settings?

@mrlt8
Copy link
Owner

mrlt8 commented Jun 18, 2023

Should be able to go from 1 to 255. I believe the default "SD" option uses 30 on most cams.

@roger-
Copy link

roger- commented Jul 9, 2023

Thanks. Any pointers on how to set the FPS on all substreams to 5 via the docker config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants