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

Video stream has corrupt frames every few seconds #371

Open
Itox001 opened this issue Nov 26, 2022 · 1 comment
Open

Video stream has corrupt frames every few seconds #371

Itox001 opened this issue Nov 26, 2022 · 1 comment

Comments

@Itox001
Copy link

Itox001 commented Nov 26, 2022

Hello, first, thanks a lot for your work on this project. I have stumbled upon an issue: I have noticed that there is a corrupt frame in my video stream every now and then. I can see it on the /webcam/?action=stream endpoint every few seconds, but sometimes it takes longer or shorter. It looks like this:
image

Next frame for comparison:
image

I noticed it because I am taking timelapses of my 3D prints with the script getting captures form the /webcam/?action=snapshot endpoint, and sometimes the artifacts show in the resulting video. I thought it was a problem with the timelapse rendering first, but then I noticed that even without the printer involved, I can see the same artifacts on the stream directly on the endpoint.

I tried compiling the executable in debug mode, but saw nothing unusual in the logs. Any idea?

Setup:
Raspberry Pi 3B
Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.15.76-v8+

Camera Logitech C920
1920x1080, 7.5 fps

@username7291
Copy link

Which Browser? Try pass the stream to ffmpeg it gives your more Details about the errors. I had little errors in the Picture with Logitech webcam, with a 2m thick good shilded Cable, adding 100µF near the Cam almost fixed it. 2m is well into spec and my Raspberry delivers over 5.00V. Logitech has build in a Resistor on VCC and use more power than other Webcams that may make problems.

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

No branches or pull requests

2 participants