vlc

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

vlc

532 次查看
zohargolan
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 127.0.0.1a=rtpmap:96 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,

Zohar

标记 (3)
0 项奖励
0 回复数