Showing results for 
Show  only  | Search instead for 
Did you mean: 


Contributor III

Hello community,

I am trying to setup a RTP video streaming from i.mx8mp to a linux machine running vlc with no sucess.

I tried following this article https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Audio-Video-trough-Camera-stream-and-gst...


I've setup the GStream in the imx server as follows:

gst-launch-1.0 videotestsrc ! videoconvert ! vpuenc_h264 ! rtph264pay config-interval=1 pt=96 ! udpsink host=<host-machine-ip> port=5000


and in the client I tried running VLC with the following:

1. create a sdp file with the following content:

stream.sdpv=0m=video 5000 RTP/AVP 96c=IN IP4 H264/90000

2. After this, with the GStreamer pipepline on the device running, open this .sdp file with VLC Player on the host PC.


The server is running and looks like it is streaming data without errors, but no video is getting out to the VLC


I was also looking at the following link https://www.hackster.io/flint-weller/make-an-ip-camera-with-the-i-mx-8m-plus-and-gstreamer-82a191 . The streaming is working from server to client if I am using GStreamer command in both sides

On the server (NXP) use gst-launch-1.0 -v v4l2src device=/dev/video0 ! imxvideoconvert_g2d ! "video/x-raw, width=1920, height=1080, framerate=30/1" ! vpuenc_h264 ! rtph264pay pt=96 ! rtpstreampay ! udpsink host=<CLIENT_IP_ADDRESS>

On the client use gst-launch-1.0 udpsrc caps = "application/x-rtp-stream, encoding-name=H264" ! rtpstreamdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink


I appreciate any comment,

Thank you,


Tags (3)
0 Kudos
0 Replies