-
Notifications
You must be signed in to change notification settings - Fork 91
WaitForFrame times out on RPi (with LifeCam and RPi internal camera) #34
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
Comments
rmmod bcm2835-v4l2 I replaced the resolution with 640 * 480 without problems |
With my raspicam i get always streaming:operation not permitted - any ideas? (also with sudo). If i attach a usb webcam everything works fine. |
I have the same problem as @tobearlabs - Pi Zero WH, Pi ZeroCam.. |
Fixed it! This happens because the Zero is to slow to handle high-resolution video streams. Using |
On RPi3 with Ubuntu/arm64 with a Microsoft Studio webcam always times out on cam.WaitForFrame(..) call when using YUYV 4:2:2 and 1920x1080 while 640x480 works just fine. However MJPEG works fine at 1920x1080. No other errors just a timeout. Potential there is a buffer issue somewhere since the amount of data with YUY will be much higher?
However MJPEG also fails. A different RPi with Raspbian and an internal RPi Cam getting the following trace:
DeviceConfig: /dev/video0, Motion-JPEG,
Available formats:
Planar YVU 4:2:0, 32-bit BGRA/X 8-8-8-8, H.264, UYVY 4:2:2, Y/CbCr 4:2:0, VYUY 4:2:2, YUYV 4:2:2, 24-bit RGB 8-8-8, JFIF JPEG, Motion-JPEG, YVYU 4:2:2, Y/CrCb 4:2:0, Planar YUV 4:2:0, 24-bit BGR 8-8-8,
Supported frame sizes for format: Motion-JPEG
[32-3280;2]x[32-2464;2],
Request: Motion-JPEG [32-3280;2]x[32-2464;2]
Result: Motion-JPEG 3280x2464
Wait frame..
Webcam wait frame, retrying: Timeout occured
Wait frame..
Webcam wait frame, retrying: Timeout occured
Wait frame..
The timeout is at 10sec but I have tried minutes and it never yields data same when trying YUYV Is this normal? What could the issue be?
Also a Logitech Brio has the same issue, timeout on WaitForFrame.
The text was updated successfully, but these errors were encountered: