Created
January 14, 2022 12:19
-
-
Save furryablack/7338028599f40e131aad257123e5e265 to your computer and use it in GitHub Desktop.
Smartphone streams video. Turn it into virtial device by gst.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modprobe -r v4l2loopback | |
modprobe v4l2loopback exclusive_caps=1 | |
ls /dev/video* | |
gst-launch-1.0 souphttpsrc location="http://admin:admin@192.168.0.100:4201/videofeed" do-timestamp=true is-live=true ! multipartdemux ! jpegdec ! videoconvert ! v4l2sink device="/dev/video0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment