Skip to content

Create example working configuration files for popular webcam models #13

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

andyjack
Copy link

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 of 0, 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 of 1000.

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

Successfully merging this pull request may close these issues.

1 participant