-
Notifications
You must be signed in to change notification settings - Fork 24
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
[IDEA][PI] Screen capture through UVC device #32
Comments
I'm pretty sure I've already seen that this fork has this idea implemented (well, the display side of things) https://github.com/peterbay/uvc-gadget/blob/master/gadget-framebuffer.sh |
oh! thank you!! I'll keep digging. Also, Amazon should deliver me today some dummy hdmi plugs... maybe thats the issue.... |
So, progress... If I run this, with the option in echo "dtoverlay=dwc2,dr_mode=otg" | sudo tee -a /boot/firmware/config.txt
echo " modules-load=dwc2,libcomposite" | sudo tee -a /boot/cmdline.txt
git clone https://github.com/peterbay/uvc-gadget
cd uvc-gadget && make
sudo cp ./uvc-gadget /usr/bin/
sudo cp ./gadget-framebuffer.sh /usr/bin/uvcgfb
sudo chmod +x /usr/bin/uvcgfb
sudo cp uvcgfb.service /etc/systemd/system/
sudo systemctl enable uvcgfb.service
sudo apt install xserver-xorg-video-dummy
# Start X on dummy display
sudo startx -- -config dummy-1920x1080.conf
# Manually for now!
sudo uvc-gadget -f /dev/fb0 -u /dev/video0 https://github.com/hkfuertes/pi_uvc_screen_share/blob/main/dummy-1920x1080.conf But I only get a black screen If I set it to autologin to desktop... hahahaha maybe I write to much, but also, maybe its helpfull to someone else... but again if someone know and wants to point me in the right direction, I'll be greatly greateful :) |
So I had an idea... what if we could send the screen through the UVC gadget.
I have the PoC working, but I only get 1 FPS... If someone could point me in the right direction I ll be greatly gratefull.
With this concept, the usb capture card wont be required. The pi could be connected to a pc via usb and get the image through vlc.
Additionally with the ethernet gadget we could also use
x2x
to control de device...The text was updated successfully, but these errors were encountered: