uvcsink using arbitrary sources
Markus Fritsche
mfritsche at reauktion.de
Fri Aug 18 12:18:04 UTC 2023
Hello,
I have a Raspberry Pi Zero 2 W set up as an USB gadget. This is recognized on my host correctly as
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'YUYV' (YUYV 4:2:2)
Size: Discrete 640x360
Interval: Discrete 0.010s (100.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.500s (2.000 fps)
If I start the pipeline
gst-launch-1.0 videotestsrc ! queue ! uvcsink v4l2sink::device=/dev/video0
on the RPI and then open the UVC device on my host, I can see the test video just fine. However, if I start
gst-launch-1.0v4l2src ! video/x-raw,width=640,height=360 ! tee name="local"! queue ! jpegenc ! rtpjpegpay ! udpsink host=192.168.88.51 port= 5000
on my host and
gst-launch-1.0 udpsrc port=5000 ! application/x-rtp, encoding-name=JPEG, payload=26 ! rtpjpegdepay ! queue ! jpegdec ! uvcsink v4l2sink::device=/dev/video0
on the rpi, the run time counter on the rpi just stops (no other error is being printed) and vlc on my host cannot open the video stream.
Is this supposed to work?
What additional info should I provide?
Best regards,
Markus
More information about the gstreamer-devel
mailing list