How to play the IPTV unicast stream with udpsrc ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to play the IPTV unicast stream with udpsrc ?

tanzhichaoanuo
  Hello everyone:
  Now I want to receive the IPTV unicast stream(H264 TS stream) with udpsrc,but the stream was sent to the   ip:192.168.0.100,port:8050,and My computer IP was 192.168.0.99,If I dont't change My IP address,How can I use udpsrc to receive and play the stream?-----------I want to inspect the stream.
  If the stream was sent to My IP address,I will use:

gst-launch-0.10 -vm udpsrc port=1234  \
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,payload=(int)96" \
! .recv_rtp_sink_0 gstrtpbin latency=800 ! rtpmp2tdepay \
! mpegtsdemux ! ffdec_h264 ! xvimagesink

Thanks very much.
               zhichao.