Re: AW: How to play IPTV streamer by udpsrc?

tanzhichaoanuo tanzhichaoanuo at 163.com
Tue May 15 06:20:50 PDT 2012


On 05/15/2012 09:23 AM, tanzhichaoanuo wrote:
> Hello Wim:
If you're unsure if you are receiving anything, try this first

gst-launch-0.10 udpsrc ... ! fakesink -v

then add other elements until it stops working.

Hello Wim:
    Thanks for your reply again.
According to your suggestion,I connect my commputer to the IPTV,and play a
multicast stream.
1。
tzc at tzc-laptop:~$ sudo tcpdump -i eth0
08:58:02.186501 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.190486 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.194492 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.198450 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.202844 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.206425 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.210473 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.215165 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.218436 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.222653 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.226575 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
08:58:02.234453 IP 61.181.150.102.12502 > 225.1.2.2.8034: UDP, length 1348
----------------------------------------------------
at the same I use the command:
tzc at tzc-laptop:~/Myproject$ gst-launch-0.10 udpsrc 
multicast-group=225.1.2.2  port=8034 ... ! fakesink -v 
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
---------------stop, here,can't receive anything.

But When  I play a H264 TS stream(1326 bytes one package)  with VLC ,then : 
gst-launch-0.10 udpsrc  multicast-group=225.1.2.2  port=8034 ... ! fakesink
-v 
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain  
******* (fakesink0:sink) (1328 bytes, timestamp: 0:00:15.638164478,
duration: none, offset: -1, offset_end: -1, flags: 0 ) 0x8e9e240"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain  
******* (fakesink0:sink) (1328 bytes, timestamp: 0:00:15.638214764,
duration: none, offset: -1, offset_end: -1, flags: 0 ) 0x8e9e180"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain  
******* (fakesink0:sink) (1328 bytes, timestamp: 0:00:15.639597342,
duration: none, offset: -1, offset_end: -1, flags: 0 ) 0x8e9e0c0"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain  
******* (fakesink0:sink) (1328 bytes, timestamp: 
------------------------------------------------

So,Now I am sure there may be some problem on udpsrc plugin,Wheather it can
receive the package more than 1348 bytes? have you test it? 
  Thanks very much for you telling me the methord to find the problem.
                                  zhichao.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-play-IPTV-streamer-by-udpsrc-tp4632303p4634446.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list