Create example working configuration files for popular webcam models #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank you for creating this project! I found it while trying to get a C922 to work with my own small script that streamed video using cvlc, but I ran in to the issue with the C922 not making its H264 stream available in an easy-to-use way (unlike the C920).
I wanted there to be ready-to-use configuration files for my C920 and C922 models, so I created this pull request. I've tested both on my RPi 3B+ and can get a 1920x1080 30 fps stream (video only) with minimal CPU usage and latency.
For both cameras, I got ~1 second latency with
uvcx_h264_i_frame_period = 1000
setting. It is possible to set it to the minimum value of0
, but this led to the webserver stream loading and spinning forever, although loading/stream.mp4
in VLC was fine. So I went with the next-highest allowed value of1000
.