udp multicast problem?

*nix specific usage questions
djstava
Blank Cone
Blank Cone
Posts: 70
Joined: 17 Dec 2009 05:17

udp multicast problem?

Postby djstava » 20 Jun 2010 18:53

Socket error occurs when I receive the udp multicast stream,and client can connect to the server.I found that the client do not send the IGMP by capture the packets,server rejects the client's connection that client cannot add to the multicast user list. How can I figure it out?
Thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15330
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: udp multicast problem?

Postby Rémi Denis-Courmont » 20 Jun 2010 19:17

Your problem does not make much sense. A client does not connect to a server when multicast streaming.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

djstava
Blank Cone
Blank Cone
Posts: 70
Joined: 17 Dec 2009 05:17

Re: udp multicast problem?

Postby djstava » 21 Jun 2010 03:54

mplayer can play now but vlc still not.
Detail log info:

Code: Select all

cloudsys@Gateway:~$ vlc -vvv udp://239.255.1.9:8001 VLC media player 1.0.6 Goldeneye [0x9782148] main libvlc debug: VLC media player - version 1.0.6 Goldeneye - (c) 1996-2010 the VideoLAN team [0x9782148] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--config-cache' '--disable-maintainer-mode' '--disable-update-check' '--enable-fast-install' '--enable-release' '--prefix=/usr' '--with-binary-version=1ubuntu1.1' '--disable-atmo' '--disable-fluidsynth' '--disable-gnomevfs' '--disable-kate' '--disable-mtp' '--enable-x264' '--disable-zvbi' '--enable-a52' '--enable-aa' '--enable-bonjour' '--enable-caca' '--enable-dca' '--enable-dvb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-freetype' '--enable-fribidi' '--enable-ggi' '--enable-gnutls' '--enable-jack' '--enable-libass' '--enable-libmpeg2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mozilla' '--enable-mpc' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-pulse' '--enable-qt4' '--enable-realrtsp' '--enable-sdl' '--enable-shout' '--enable-skins2' '--enable-smb' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-telx' '--enable-theora' '--enable-twolame' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--with-mozilla-pkg=libxul' '--enable-alsa' '--enable-dv' '--enable-pvr' '--enable-v4l' '--enable-v4l2' '--enable-svgalib' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' [0x9782148] main libvlc debug: translation test: code is "C" [0x9782148] main libvlc debug: checking plugin modules [0x9782148] main libvlc debug: loading plugins cache file /home/cloudsys/.cache/vlc/plugins-04041e.dat [0x9782148] main libvlc debug: recursively browsing `/usr/lib/vlc' [0x9782148] main libvlc debug: module bank initialized (380 modules) [0x9782148] main libvlc debug: opening config file (/home/cloudsys/.config/vlc/vlcrc) [0x9782148] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT FPU [0x9782148] main libvlc debug: looking for memcpy module: 3 candidates [0x9782148] main libvlc debug: using memcpy module "memcpymmxext" [0x9817ff0] main input debug: Creating an input for 'Media Library' [0x9817ff0] main input debug: Input is a meta file: disabling unneeded options [0x9817ff0] main input debug: using timeshift granularity of 50 MBytes [0x9817ff0] main input debug: using timeshift path '/tmp' [0x9817ff0] main input debug: `file/xspf-open:///home/cloudsys/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/cloudsys/.local/share/vlc/ml.xspf' [0x9817ff0] main input debug: creating demux: access='file' demux='xspf-open' path='/home/cloudsys/.local/share/vlc/ml.xspf' [0x981e640] main demux debug: looking for access_demux module: 1 candidate [0x981e640] main demux warning: no access_demux module matching "file" could be loaded [0x981e640] main demux debug: TIMER module_need() : 0.598 ms - Total 0.598 ms / 1 intvls (Avg 0.598 ms) [0x9817ff0] main input debug: creating access 'file' path='/home/cloudsys/.local/share/vlc/ml.xspf' [0x98205c0] main access debug: looking for access module: 3 candidates [0x98205c0] access_file access debug: opening file `/home/cloudsys/.local/share/vlc/ml.xspf' [0x98205c0] main access debug: using access module "access_file" [0x98205c0] main access debug: TIMER module_need() : 0.558 ms - Total 0.558 ms / 1 intvls (Avg 0.558 ms) [0x98206a8] main stream debug: Using AStream*Stream [0x98206a8] main stream debug: pre buffering [0x98206a8] main stream debug: received first data after 0 ms [0x98206a8] main stream debug: pre-buffering done 296 bytes in 0s - 13139 kbytes/s [0x9820de0] main stream debug: looking for stream_filter module: 5 candidates [0x9820de0] main stream debug: TIMER module_need() : 0.567 ms - Total 0.567 ms / 1 intvls (Avg 0.567 ms) [0x9820de0] main stream debug: looking for stream_filter module: 1 candidate [0x9820de0] main stream debug: using stream_filter module "stream_filter_record" [0x9820de0] main stream debug: TIMER module_need() : 0.256 ms - Total 0.256 ms / 1 intvls (Avg 0.256 ms) [0x9817ff0] main input debug: creating demux: access='file' demux='xspf-open' path='/home/cloudsys/.local/share/vlc/ml.xspf' [0x9822450] main demux debug: looking for demux module: 1 candidate [0x9822450] playlist demux debug: using XSPF playlist reader [0x9822450] main demux debug: using demux module "playlist" [0x9822450] main demux debug: TIMER module_need() : 0.321 ms - Total 0.321 ms / 1 intvls (Avg 0.321 ms) [0x9817ff0] main input debug: `file/xspf-open:///home/cloudsys/.local/share/vlc/ml.xspf' successfully opened [0x9823388] main xml debug: looking for xml module: 2 candidates [0x9823388] main xml debug: using xml module "xml" [0x9823388] main xml debug: TIMER module_need() : 5.260 ms - Total 5.260 ms / 1 intvls (Avg 5.260 ms) [0x9822450] playlist demux debug: parsed 0 tracks successfully [0x9823388] main xml debug: removing module "xml" [0x9817ff0] main input debug: EOF reached [0x9822450] main demux debug: removing module "playlist" [0x9820de0] main stream debug: removing module "stream_filter_record" [0x98205c0] main access debug: removing module "access_file" [0x9817ff0] main input debug: TIMER input launching for 'Media Library' : 7.695 ms - Total 7.695 ms / 1 intvls (Avg 7.695 ms) [0x9816a68] main playlist debug: Activated [0x9817ff0] main interface debug: looking for interface module: 1 candidate [0x9817ff0] main interface debug: using interface module "hotkeys" [0x9817ff0] main interface debug: TIMER module_need() : 0.388 ms - Total 0.388 ms / 1 intvls (Avg 0.388 ms) [0x9817ff0] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9818ab8] main interface debug: looking for interface module: 1 candidate [0x9816a68] main playlist debug: rebuilding array of current - root Playlist [0x9818ab8] main interface debug: using interface module "inhibit" [0x9818ab8] main interface debug: TIMER module_need() : 3.182 ms - Total 3.182 ms / 1 intvls (Avg 3.182 ms) [0x9818ab8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9816a68] main playlist debug: rebuild done - 0 items, index -1 [0x981be50] main interface debug: looking for interface module: 1 candidate [0x981be50] main interface debug: using interface module "screensaver" [0x981be50] main interface debug: TIMER module_need() : 0.311 ms - Total 0.311 ms / 1 intvls (Avg 0.311 ms) [0x981be50] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9816a68] main playlist debug: adding item `udp://239.255.1.9:8001' ( udp://239.255.1.9:8001 ) [0x97824b8] main interface debug: looking for interface module: 1 candidate [0x97824b8] main interface debug: using interface module "signals" [0x9817ff0] main interface debug: thread started [0x97824b8] main interface debug: TIMER module_need() : 0.341 ms - Total 0.341 ms / 1 intvls (Avg 0.341 ms) [0x97824b8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x981e338] main interface debug: looking for interface module: 1 candidate [0x97824b8] main interface debug: thread started [0x97824b8] main interface debug: thread ended [0x9818ab8] main interface debug: thread started [0x981be50] main interface debug: thread started [0x981e338] main interface debug: using interface module "globalhotkeys" [0x981e338] main interface debug: TIMER module_need() : 18.290 ms - Total 18.290 ms / 1 intvls (Avg 18.290 ms) [0x981e338] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9782148] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x98304a8] main interface debug: looking for interface module: 4 candidates [0x981e338] main interface debug: thread started [0x981e338] main interface debug: thread ended [0x98304a8] main interface debug: using interface module "qt4" [0x98304a8] main interface debug: TIMER module_need() : 166.449 ms - Total 166.449 ms / 1 intvls (Avg 166.449 ms) [0x98304a8] qt4 interface debug: Error while initializing qt-specific localization [0x98304a8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9816a68] main playlist debug: rebuilding array of current - root Playlist [0x9816a68] main playlist debug: rebuild done - 1 items, index -1 [0x9816a68] main playlist debug: processing request item null node Playlist skip 0 [0x9816a68] main playlist debug: starting new item [0x9816a68] main playlist debug: creating new input thread [0xb7300768] main input debug: Creating an input for 'udp://239.255.1.9:8001' [0x98304a8] main interface debug: thread started [0x98304a8] main interface debug: thread ended [0xb7300768] main input debug: thread (input) created at priority 10 (input/input.c:230) [0xb7300768] main input debug: thread started [0xb7300768] main input debug: using timeshift granularity of 50 MBytes [0xb7300768] main input debug: using timeshift path '/tmp' [0xb7300768] main input debug: `udp://239.255.1.9:8001' gives access `udp' demux `' path `239.255.1.9:8001' [0xb7300768] main input debug: creating demux: access='udp' demux='' path='239.255.1.9:8001' [0xb73033e0] main demux debug: looking for access_demux module: 0 candidates [0xb73033e0] main demux debug: no access_demux module matched "udp" [0xb73033e0] main demux debug: TIMER module_need() : 0.116 ms - Total 0.116 ms / 1 intvls (Avg 0.116 ms) [0xb7300768] main input debug: creating access 'udp' path='239.255.1.9:8001' [0xb7303378] main access debug: looking for access module: 1 candidate [0xb7303378] access_udp access debug: opening server=239.255.1.9:8001 local=:1234 [0xb7303378] main access debug: net: connecting to [239.255.1.9]:8001 from []:1234 [0xb7303378] main access debug: using access module "access_udp" [0xb7303378] main access debug: TIMER module_need() : 1.983 ms - Total 1.983 ms / 1 intvls (Avg 1.983 ms) [0x9838700] main stream debug: Using AStream*Block [0x9838700] main stream debug: pre buffering [0x98304a8] qt4 interface debug: IM: Setting an input [0x98304a8] qt4 interface debug: Updating the geometry [0x98304a8] qt4 interface debug: Updating the geometry [0x98304a8] qt4 interface debug: Using a general info windows [0x9782148] main libvlc debug: deactivating the playlist [0x9816a68] main playlist debug: Deactivate [0x9816a68] main playlist debug: incoming request - stopping current input [0xb7303378] main access debug: waitpipe: object killed [0x9816a68] main playlist debug: dying input [0xb7303378] main access debug: socket 22 polling interrupted [0x9838700] main stream debug: prebuffering done 0 bytes in 29s - 0 kbytes/s [0x9838700] main stream error: cannot pre fill buffer [0xb7300768] main input warning: cannot create a stream_t from access [0xb7303378] main access debug: removing module "access_udp" [0xb7300768] main input debug: thread ended [0x9816a68] main playlist debug: dead input [0x98304a8] qt4 interface debug: IM: Deleting the input [0x98304a8] qt4 interface debug: Updating the geometry [0x98304a8] qt4 interface debug: Updating the geometry [0xb7300768] main input debug: TIMER input launching for 'udp://239.255.1.9:8001' : 29969.283 ms - Total 29969.283 ms / 1 intvls (Avg 29969.282 ms) [0x9816a68] main playlist debug: saving Media Library to file /home/cloudsys/.local/share/vlc/ml.xspf [0x9816a68] main playlist debug: looking for playlist export module: 1 candidate [0x9816a68] main playlist debug: using playlist export module "export" [0x9816a68] main playlist debug: TIMER module_need() : 0.635 ms - Total 0.635 ms / 1 intvls (Avg 0.635 ms) [0x9816a68] main playlist debug: removing module "export" [0x9816a68] main playlist debug: Deactivated [0x9782148] main libvlc debug: removing all services discovery tasks [0x9782148] main libvlc debug: removing all interfaces [0x98304a8] qt4 interface debug: Quitting the Qt4 Interface [0x98304a8] qt4 interface debug: destroying the main Qt4 interface [0x98304a8] qt4 interface debug: Destroying the main interface [0x98304a8] main interface debug: removing module "qt4" [0x981e338] main interface debug: removing module "globalhotkeys" [0x97824b8] main interface debug: removing module "signals" [0x981be50] main interface debug: removing module "screensaver" [0x9818ab8] main interface debug: removing module "inhibit" [0x9817ff0] main interface debug: removing module "hotkeys" [0x9782148] main libvlc debug: removing playlist [0x9816a68] main playlist debug: Destroyed [0x9782148] main libvlc debug: TIMER ML Load : Total 13.511 ms / 1 intvls (Avg 13.511 ms) [0x9782148] main libvlc debug: TIMER Items array build : Total 0.238 ms / 2 intvls (Avg 0.119 ms) [0x9782148] main libvlc debug: TIMER ML Dump : Total 1.084 ms / 1 intvls (Avg 1.084 ms) [0x9782148] main libvlc debug: removing stats [0x9782148] main libvlc debug: removing module "memcpymmxext" [0x9782148] main libvlc debug: opening config file (/home/cloudsys/.config/vlc/vlcrc) [0x9782148] main libvlc debug: writing plugins cache /home/cloudsys/.cache/vlc/plugins-04041e.dat

djstava
Blank Cone
Blank Cone
Posts: 70
Joined: 17 Dec 2009 05:17

Re: udp multicast problem?

Postby djstava » 21 Jun 2010 11:00

I construct an environment using vlc(both server and client) by myself,multicast ip:239.255.0.1,port:8000.Strange is that on Windows XP(v1.0.5),everything is OK and on ubuntu lynx vlc(v1.0.6) is not working,by the way mplayer works well.What's wrong?

Rémi Denis-Courmont
Developer
Developer
Posts: 15330
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: udp multicast problem?

Postby Rémi Denis-Courmont » 23 Jun 2010 02:41

That would be udp://@239.255.1.9:8001
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

djstava
Blank Cone
Blank Cone
Posts: 70
Joined: 17 Dec 2009 05:17

Re: udp multicast problem?

Postby djstava » 24 Jun 2010 09:59

Thanks,it works well.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Andrew_brt and 67 guests