cancel
Showing results for 
Search instead for 
Did you mean: 

Using STM32MP135F-DK Trying to stream camera over network

Ezvan
Associate

Hello,

 

I'm Trying to stream camera over network(ubuntu), using the procedure from STM wiki. But couldn't able to stream.

When I run command in STM32MP135F-DK board, I get the following 
# v4l2-ctl --set-parm=30;v4l2-ctl --set-fmt-video=width=640,height=480,pixelformat=JPEG --stream-mmap --stream-count=-1 --stream-t
o=- 2>/dev/null | gst-launch-1.0 fdsrc ! jpegparse ! rtpjpegpay ! udpsink host=192.168.23.93 port=9001
VIDIOC_S_PARM: failed: Inappropriate ioctl for device
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

 

And when I run the command in ubuntu, I could get the following 

$ gst-launch-1.0 udpsrc port=5000 ! application/x-rtp, encoding-name=JPEG ! rtpjpegdepay ! jpegparse ! decodebin ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'autovideosink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayGBM\)\ gldisplaygbm0";
Setting pipeline to PLAYING ...
New clock: GstSystemClock

 

And the network connection is established. Checked using the ping command. Can any help me resolve it..?

 

Thanks,

Ezvan

0 REPLIES 0