How to stream camera over network
I am a beginner with STM32MPUs and I've been trying to follow the example: How to stream camera over network (can't add links because I'm a new member but it's in ST Wiki)
I'm trying to stream the video from an USB Webcam connected to the STM32MP157F-DK2 over the network to another Ubuntu PC running on a virtual machine.
Unfortunately it doesn work. When I run:
v4l2-ctl --set-parm=30;v4l2-ctl --set-fmt-video=width=640,height=480,pixelformat=JPEG --stream-mmap --stream-count=-1 --stream-to=- 2>/dev/null | gst-launch-1.0 fdsrc ! jpegparse ! rtpjpegpay ! udpsink host=192.168.0.9 port=5000I see the webcam's LED on and I get the following output:
Frame rate set to 10.000 fps
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...Then, when I run the command below on the host PC side, nothing happens.
gst-launch-1.0 udpsrc port=5000 ! application/x-rtp, encoding-name=JPEG ! rtpjpegdepay ! jpegparse ! decodebin ! videoconvert ! autovideosinkI have been able to test the webcam and I can see the video on the DK2's display using the following command
gst-launch-1.0 v4l2src device="/dev/video0" ! videoconvert ! autovideosinkAny ideas on what could be wrong with my test?
