Open letourng opened 4 years ago
The only thing I could get working is using a USB webcam plugged into PI4 with these commands:
sudo uvc-gadget -u /dev/video2 -v /dev/video0
play on Mac:
ffplay -flags low_delay -fflags nobuffer -f avfoundation -video_size 640x360 -framerate 15 -i "0"
Any progress on it ? I am having the exact same issue with ubuntu. I am able to get the webcam stream pretty fine on both windows and ubuntu but when I use a video file only get striped patterns. Has anyone got it working with dummy video device ?
Hi @letourng , Can you please tell are you playing a video(like .mp4) or still image over that /dev/video2 ? Will appreciate your response .
Hello,
I am trying to mount a pi4 as a uvc gadget on my mac OSx laptop and also on my windows laptop.
When I tested with -d option I can see a scrolling test pattern like this https://processors.wiki.ti.com/images/1/12/Luvcview.jpg
But when i launched the following command it doesn't worked:
sudo modprobe g_webcam streaming_maxpacket=1024 ./uvc-gadget -u /dev/video2 -v /dev/video0 -f 1 -r 1
When i tested the same command on linux it's working pretty well actually but not on windows/mac. To get the video stream i am using zoom software application.
Could help me to resolve the issue?