UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
561 Views
Registered: ‎10-11-2019

Streaming with Gstreamer

Jump to solution

Hello,

I am trying to stream out a 4k@30Hz H264 encoded video through my ZCU104 ethernet port. I am using the below pipeline:

gst-launch-1.0 filesrc location = bbb_sunflower_2160p_30fps_normal_avc.mp4 ! qtdemux ! video/x-h264 ! rtph264pay  ! udpsink host=192.168.10.153 port=9001

It doesnt cause any errors as I can see from TeraTerm.

I want to watch this stream with VLC.

I click on Media -> Open Network Stream... 

Then I set the following:

vlc_networkstream.JPG

Then I click the play button. But nothing happens. I cant watch the stream.

Is there anyone that can help me, please?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Observer chlee.tw
Observer
263 Views
Registered: ‎09-02-2018

Re: Streaming with Gstreamer

Jump to solution

Hi @yildiz.bilgin :

1. Please add h264parse to insert SPS/PPS in every IDR frame.

gst-launch-1.0 filesrc location = bbb_sunflower_2160p_30fps_normal_avc.mp4 ! qtdemux ! h264parse config-interval=-1 ! rtph264pay  ! udpsink host=192.168.10.153 port=9001

 2. you can use TS@RTP

gst-launch-1.0 filesrc location = bbb_sunflower_2160p_30fps_normal_avc.mp4 ! qtdemux ! h264parse config-interval=-1 ! mpegtsmux ! rtpmp2tpay ! udpsink host=192.168.10.153 port=9001 sync=true

you can use VLC to open rtp:@:9001

View solution in original post

10 Replies
Scholar watari
Scholar
498 Views
Registered: ‎06-16-2013

Re: Streaming with Gstreamer

Jump to solution

Hi @yildiz.bilgin 

 

Would you change networkt URL from "udp://@192.168.10.153:9001" to "udp://@:9001" on VLC ?

 

Best regards,

0 Kudos
476 Views
Registered: ‎10-11-2019

Re: Streaming with Gstreamer

Jump to solution
Hello @watari ,
I have tried it. Still doesnt work...

Regards
0 Kudos
Scholar watari
Scholar
468 Views
Registered: ‎06-16-2013

Re: Streaming with Gstreamer

Jump to solution

Hi @yildiz.bilgin 

 

Would you share your source and sink host's IP address or network diagram ?

 

Best regards,

0 Kudos
463 Views
Registered: ‎10-11-2019

Re: Streaming with Gstreamer

Jump to solution

Hello @watari 

This is my ZCU104 board IP address:

fpga_ip.JPG

And this is my pc ip:

pc_ip.JPG

Best regards

0 Kudos
Observer chlee.tw
Observer
462 Views
Registered: ‎09-02-2018

Re: Streaming with Gstreamer

Jump to solution

Hi @yildiz.bilgin :

For H264@RTP, you should create a sdp file to descirbe the rtp session and use vlc to open this file.

you can refer to https://stackoverflow.com/questions/34983409/play-a-sdp-file-with-vlc

 

 

0 Kudos
446 Views
Registered: ‎10-11-2019

Re: Streaming with Gstreamer

Jump to solution
Hello @chlee.tw

Thank you for your reply. My computers os is Windows. And i think your solution is for linux. Do you know a solution for Windows?

Regards
0 Kudos
394 Views
Registered: ‎10-11-2019

Re: Streaming with Gstreamer

Jump to solution
Hello @arruda596
So, how can I stream a video and watch it on VLC? Do you know that?
Regards
0 Kudos
Highlighted
290 Views
Registered: ‎10-11-2019

Re: Streaming with Gstreamer

Jump to solution

Hello @chlee.tw 

I create a sdp file;

sdp1.JPG

But still, I cant watch the stream on VLC.

What am I doing wrong? Can you please help me?

0 Kudos
Observer chlee.tw
Observer
264 Views
Registered: ‎09-02-2018

Re: Streaming with Gstreamer

Jump to solution

Hi @yildiz.bilgin :

1. Please add h264parse to insert SPS/PPS in every IDR frame.

gst-launch-1.0 filesrc location = bbb_sunflower_2160p_30fps_normal_avc.mp4 ! qtdemux ! h264parse config-interval=-1 ! rtph264pay  ! udpsink host=192.168.10.153 port=9001

 2. you can use TS@RTP

gst-launch-1.0 filesrc location = bbb_sunflower_2160p_30fps_normal_avc.mp4 ! qtdemux ! h264parse config-interval=-1 ! mpegtsmux ! rtpmp2tpay ! udpsink host=192.168.10.153 port=9001 sync=true

you can use VLC to open rtp:@:9001

View solution in original post

249 Views
Registered: ‎10-11-2019

Re: Streaming with Gstreamer

Jump to solution
Hello @chlee.tw

It works!!! Thank you so much

Best regards
0 Kudos