![]() |
Video Streaming via UDP
hi there,
i cant watch video stream which is @ udp protocol thou i have been trying to make it work for which i used KMplayer, VLC and SMplayer all three failed to start the stream that i can watch on my laptop. Its IPTV service provided by my ISP, streaming link is like udp://@123.456.7.8:1234 I dont know whats is wrong can someone help me? |
Re: Video Streaming via UDP
What's the res?
|
Re: Video Streaming via UDP
|
Re: Video Streaming via UDP
Quote:
With googling I found http://wiki.multimedia.cx/index.php?title=MPlayer_FAQ and http://www.advenage.com/topics/chang...an-linux.php)? So it suggests mplayer can play udp:// links and you may want to try switching to igmp version 2. Hope that helps |
Re: Video Streaming via UDP
thx for reply
i have checked it already link without @ not work... and as for Mplayer and IGMP i will see and let u know... |
Re: Video Streaming via UDP
mplayer dont play keep saying no stream found on ip...
|
Re: Video Streaming via UDP
is there any command for setting timeout?
|
Re: Video Streaming via UDP
bump can someone help or i just sell my n900 and buy hd2?
|
Re: Video Streaming via UDP
I doubt that timeout is the problem, and it is likely either a network problem or problem calling mplayer.
Maybe try the -msglevel option to get more information: mplayer -msglevel all=6 udp://239.194.0.53:6053 See if there is anything in the output that will give more clues as to the problem. |
Re: Video Streaming via UDP
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands. ~ $ mplayer -msglevel all=6 udp://@239.194.0.16:6016 MPlayer SVN-r30099-4.2.1 (C) 2000-2009 MPlayer Team CPU: ARM get_path('codecs.conf') -> '/home/user/.mplayer/codecs.conf' Reading /home/user/.mplayer/codecs.conf: Can't open '/home/user/.mplayer/codecs.conf': No such file or directory Reading /usr/etc/mplayer/codecs.conf: Can't open '/usr/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --prefix=/usr --extra-cflags=-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp --disable-speex --disable-dvdnav --disable-dvdread --disable-dvdread-internal --disable-real --disable-xanim CommandLine: '-msglevel' 'all=6' 'udp://@239.194.0.16:6016' init_freetype Using Unoptimized OnScreenDisplay get_path('fonts') -> '/home/user/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/home/user/.mplayer/input.conf' Can't open input config file /home/user/.mplayer/input.conf: No such file or directory Can't open input config file /usr/etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config get_path('@239.194.0.16:6016.conf') -> '/home/user/.mplayer/@239.194.0.16:6016.conf' Playing udp://@239.194.0.16:6016. get_path('sub/') -> '/home/user/.mplayer/sub/' STREAM_UDP, URL: udp://@239.194.0.16:6016 Filename for url is now udp://@239.194.0.16:6016 Filename for url is now udp://@239.194.0.16:6016 Listening for traffic on 239.194.0.16:6016 ... Timeout! No data from host 239.194.0.16 udp_streaming_start failed No stream found to handle url udp://@239.194.0.16:6016 vo: x11 uninit called but X11 not initialized.. Exiting... (End of file) ~ $ |
Re: Video Streaming via UDP
My first thought is that something is blocking UDP traffic from the server to your phone. Are you behind a firewall? Typically you would be behind a NAT firewall with the typical wifi router set-up. NAT will block UDP unless you have taken extra steps to make it work somehow.
What is the IP address of your laptop that you use to watch video? What is the IP address of your n900 when you are trying to watch video? The other possibilities are that you aren't using the correct URL or that mplayer does not support the stream. You could rule those out by trying to run mplayer on your laptop just like you did on your n900. |
Re: Video Streaming via UDP
i am using tano and vlc on my laptop and pc, typing the same Ip address @ N900, thou the video start after sometime on laptop and pc. if its working fine then whats the problem with n900?
laptop ip 192.168.0.101 n900 ip 192.168.0.102 i will try opening all ports but its senseless... |
Re: Video Streaming via UDP
given static ip to n900 and opened all ports tcp/udp 1 to 65535 from router, still the same...
|
Re: Video Streaming via UDP
try disabling power control on the wifi interface. never know.......
|
Re: Video Streaming via UDP
192.168.*.* is a private network IP so your router is doing NAT. UDP does not work through NAT without other tricks like port forwarding, STUN, or ICE. The software you're using on your laptop or PC might be using STUN or ICE or setting rules on your router via UPnP/Bonjour. I don't think that mplayer supports these options.
Your best bet might be to set up port forwarding on the router for the UDP packets to your n900. |
Re: Video Streaming via UDP
@rfeese: but it works for the lap- and desktop. Something else surely. Are both are cabled and.....
|
Re: Video Streaming via UDP
I would look at your router settings. See if there are ports forwarded when playing UDP streams from your laptop or PC. Something is happening to allow the UDP packets to transverse the NAT. The n900 and mplayer are not set up to do the automagic port-forwarding stuff that PCs and Macs are set up to do.
|
All times are GMT. The time now is 12:12. |
vBulletin® Version 3.8.8