-
Notifications
You must be signed in to change notification settings - Fork 152
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
ioctl error while running in standalone mode of Raspi4 #14
Comments
I don't believe UVC gadget has code to parse multiple frames from a single file like that. |
Hi @kbingham , Closing this case here then with a final question about the ' -d ' option as it is missing in the upstream version i guess . What does ' -d ' option is meant for ? I thought it is basically for this purpose only when you don,t have Camera attached to the Pi and want to test a dummy video/image? Thanks for the upstream version info . I have opened this case there . |
In this repository it appears indeed '-d' is used to say no device. In upstream if there is no source device, then simply do not specify either '-d' or '-c' and I believe that enables the test-pattern-generator. But - as ever - if you want support on the upstream - please keep questions there. |
I am running raspi4 in standalone mode i.e, no capture device attcahed to it and assuming that can send a prestored video from Pi to the host machine and can see the output on host machine using vlc/OBS etc. Please correct me if i am wrong .
I ran the command

./uvc-gadget -d -i /home/pi/Downloads/test.mjpeg -u /dev/video0 -v uvc.0
with the 'wlhe' repo but i get 'ioctl' error even though i am passing mjpeg format only .Snap of error :
My issue is similar to this raised in a similar kind of repo by kbingham because for me also ioctl: VIDIOC_ENUM_FMT , Type: Video Capture . Can anyone please share if there is an updated repo which has resolved this issue .
Also i am using VLC and selecting capture device as this newly made UVC camera in the host side.Please correct me if i am wrong .
Thanks for your time and effort ! Really appreciate that.
The text was updated successfully, but these errors were encountered: