VLC 1.1.0 rc1 - Streaming to a specific interface (--miface)

This is a special forum aimed at testing and reporting regressions that happens on VLC 1.1.0.

This IS just about REGRESSIONS AND TESTING, no feature requests or bug reporting for OLD issues.
BraCa
New Cone
New Cone
Posts: 7
Joined: 24 Apr 2010 16:07

VLC 1.1.0 rc1 - Streaming to a specific interface (--miface)

Postby BraCa » 09 Jun 2010 22:04

Hi guys, i'm trying to stream a movie to a specific network interface. The problem is that if i stream it to the wlan0 interface, i'm able to watch it another machine in my network (as expected), but if i try to watch that stream in the same machine that is streaming it, it does not work, but if, i select the eth0 interface instead, it just works fine

Interfaces list (ifconfig)

Code: Select all

eth0 Link encap:Ethernet HWaddr 00:1b:fc:bf:4b:5c inet addr:192.168.1.68 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:febf:4b5c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9193 errors:0 dropped:0 overruns:0 frame:0 TX packets:406 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:12155003 (12.1 MB) TX bytes:57995 (57.9 KB) wlan0 Link encap:Ethernet HWaddr 00:13:e8:64:b0:13 inet addr:192.168.1.69 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::213:e8ff:fe64:b013/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:183 errors:0 dropped:0 overruns:0 frame:0 TX packets:11570 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:21554 (21.5 KB) TX bytes:16011783 (16.0 MB)
Now about vlc, to do the streaming stuff, i'm doing this:

Code: Select all

vlc /home/braca/filmes/movie.avi --miface-addr 192.168.1.69 --sout '#rtp{mux=ts,dst=239.1.1.1,port=5004,ttl=10}' --sout-rtp-ttl='10'
The streaming to the wlan0 interface is working as i've checked it with wireshark in wlan0

The problem is, that if i try to watch that stream in the same computer, for ex " vlc -vvv rtp://@239.1.1.1:5004" vlc doesnt show me anything, and wireshark shows me that the interface eth0 has made a join to the group "239.1.1.1" and then eth0 interface starts receiving all UDP packets, but for some reason vlc dont show me nothing...

This is what i get from the vlc

Code: Select all

braca@braca-laptop:~$ vlc -vvv rtp://@239.1.1.1:5004 VLC media player 1.1.0-rc The Luggage (revision exported) [0x8b3b760] main libvlc debug: VLC media player - 1.1.0-rc The Luggage [0x8b3b760] main libvlc debug: Copyright © 1996-2010 the VideoLAN team [0x8b3b760] main libvlc debug: revision exported [0x8b3b760] main libvlc debug: 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=1~ppa2' '--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-real' '--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' [0x8b3b760] main libvlc debug: translation test: code is "C" [0x8b3b760] main libvlc debug: checking plugin modules [0x8b3b760] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins-04041e-28.dat [0x8b3b760] main libvlc warning: cannot read /usr/lib/vlc/plugins/plugins-04041e-28.dat (No such file or directory) [0x8b3b760] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0x8b3b760] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins-04041e-28.dat [0x8b3b760] main libvlc debug: module bank initialized (391 modules) [0x8b3b760] main libvlc debug: opening config file (/home/braca/.config/vlc/vlcrc) [0x8b3b760] main libvlc debug: CPU has capabilities MMX MMXEXT FPU [0x8b3b760] main libvlc debug: looking for memcpy module: 3 candidates [0x8b3b760] main libvlc debug: using memcpy module "memcpymmxext" [0x8b4a088] main input debug: Creating an input for 'Media Library' [0x8b4a088] main input debug: Input is a meta file: disabling unneeded options [0x8b4a088] main input debug: using timeshift granularity of 50 MiB [0x8b4a088] main input debug: using timeshift path '/tmp' [0x8b4a088] main input debug: `file/xspf-open:///home/braca/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/braca/.local/share/vlc/ml.xspf' [0x8b4a088] main input debug: creating demux: access='file' demux='xspf-open' path='/home/braca/.local/share/vlc/ml.xspf' [0x8cc3aa8] main demux debug: looking for access_demux module: 2 candidates [0x8cc3aa8] main demux debug: no access_demux module matching "file" could be loaded [0x8cc3aa8] main demux debug: TIMER module_need() : 0.120 ms - Total 0.120 ms / 1 intvls (Avg 0.120 ms) [0x8b4a088] main input debug: creating access 'file' path='/home/braca/.local/share/vlc/ml.xspf' [0x8cc3a88] main access debug: looking for access module: 2 candidates [0x8cc3a88] filesystem access debug: opening file `/home/braca/.local/share/vlc/ml.xspf' [0x8cc3a88] main access debug: using access module "filesystem" [0x8cc3a88] main access debug: TIMER module_need() : 0.107 ms - Total 0.107 ms / 1 intvls (Avg 0.107 ms) [0x8cc5b60] main stream debug: Using AStream*Stream [0x8cc5b60] main stream debug: pre buffering [0x8cc5b60] main stream debug: received first data after 0 ms [0x8cc5b60] main stream debug: pre-buffering done 296 bytes in 0s - 16059 KiB/s [0x8cc5d70] main stream debug: looking for stream_filter module: 5 candidates [0x8cc5d70] main stream debug: no stream_filter module matching "any" could be loaded [0x8cc5d70] main stream debug: TIMER module_need() : 0.082 ms - Total 0.082 ms / 1 intvls (Avg 0.082 ms) [0x8cc5d70] main stream debug: looking for stream_filter module: 1 candidate [0x8cc5d70] main stream debug: using stream_filter module "stream_filter_record" [0x8cc5d70] main stream debug: TIMER module_need() : 0.076 ms - Total 0.076 ms / 1 intvls (Avg 0.076 ms) [0x8b4a088] main input debug: creating demux: access='file' demux='xspf-open' path='/home/braca/.local/share/vlc/ml.xspf' [0x8cc5f28] main demux debug: looking for demux module: 1 candidate [0x8cc5f28] playlist demux debug: using XSPF playlist reader [0x8cc5f28] main demux debug: using demux module "playlist" [0x8cc5f28] main demux debug: TIMER module_need() : 0.092 ms - Total 0.092 ms / 1 intvls (Avg 0.092 ms) [0x8cc4c90] main demux meta debug: looking for meta reader module: 2 candidates [0x8cc4c90] lua demux meta debug: Trying Lua scripts in /home/braca/.local/share/vlc/lua/meta/reader [0x8cc4c90] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x8cc4c90] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x8cc4c90] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x8cc4c90] main demux meta debug: no meta reader module matching "any" could be loaded [0x8cc4c90] main demux meta debug: TIMER module_need() : 0.639 ms - Total 0.639 ms / 1 intvls (Avg 0.639 ms) [0x8b4a088] main input debug: `file/xspf-open:///home/braca/.local/share/vlc/ml.xspf' successfully opened [0x8b60b00] main xml debug: looking for xml module: 2 candidates [0x8b60b00] main xml debug: using xml module "xml" [0x8b60b00] main xml debug: TIMER module_need() : 0.305 ms - Total 0.305 ms / 1 intvls (Avg 0.305 ms) [0x8cc5f28] playlist demux debug: parsed 0 tracks successfully [0x8b60b00] main xml debug: removing module "xml" [0x8b4a088] main input debug: EOF reached [0x8cc5f28] main demux debug: removing module "playlist" [0x8cc5d70] main stream debug: removing module "stream_filter_record" [0x8cc3a88] main access debug: removing module "filesystem" [0x8b4a088] main input debug: TIMER input launching for 'Media Library' : 1.649 ms - Total 1.649 ms / 1 intvls (Avg 1.649 ms) [0x8cc5f28] main interface debug: looking for interface module: 1 candidate [0x8cc5f28] main interface debug: using interface module "hotkeys" [0x8cc5f28] main interface debug: TIMER module_need() : 0.096 ms - Total 0.096 ms / 1 intvls (Avg 0.096 ms) [0x8cc3730] main interface debug: looking for interface module: 1 candidate Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") Warning: call to signal(13, 0x1) [0x8cc2790] main playlist debug: Activated [0x8cc3730] main interface debug: using interface module "inhibit" [0x8cc3730] main interface debug: TIMER module_need() : 2.842 ms - Total 2.842 ms / 1 intvls (Avg 2.842 ms) [0x8cc2790] main playlist debug: adding item `rtp://239.1.1.1:5004' ( rtp://@239.1.1.1:5004 ) [0x8cc7610] main interface debug: looking for interface module: 1 candidate [0x8cc7610] main interface debug: using interface module "signals" [0x8cc7610] main interface debug: TIMER module_need() : 0.153 ms - Total 0.153 ms / 1 intvls (Avg 0.153 ms) [0x8cc7c40] main interface debug: looking for interface module: 1 candidate [0x8cc2790] main playlist debug: rebuilding array of current - root Playlist [0x8cc2790] main playlist debug: rebuild done - 1 items, index -1 [0x8cc7c40] main interface debug: using interface module "globalhotkeys" [0x8cc7c40] main interface debug: TIMER module_need() : 0.461 ms - Total 0.461 ms / 1 intvls (Avg 0.461 ms) [0x8b3b760] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x8cc6ad8] main interface debug: looking for interface module: 5 candidates Blocked: call to setlocale(6, "") Blocked: call to sigaction(17, 0xb4b8a0d4, 0xb4b8a048) Warning: call to signal(13, 0x1) Warning: call to srand(1275900378) Warning: call to rand() Blocked: call to setlocale(6, "") (process:2704): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Warning: call to signal(13, 0x1) Warning: call to signal(13, 0x1) Warning: call to signal(13, 0x1) [0x8efe620] main generic debug: looking for extension module: 1 candidate [0x8efe620] lua generic debug: Opening EXPERIMENTAL Lua Extension module [0x8efe620] lua generic debug: Trying Lua scripts in /home/braca/.local/share/vlc/lua/extensions [0x8efe620] lua generic debug: Trying Lua scripts in /usr/lib/vlc/lua/extensions [0x8efe620] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions [0x8efe620] main generic debug: using extension module "lua" [0x8efe620] main generic debug: TIMER module_need() : 0.251 ms - Total 0.251 ms / 1 intvls (Avg 0.251 ms) [0x8cc6ad8] main interface debug: using interface module "qt4" [0x8cc6ad8] main interface debug: TIMER module_need() : 242.584 ms - Total 242.584 ms / 1 intvls (Avg 242.584 ms) [0x8cc2790] main playlist debug: processing request item null node Playlist skip 0 [0x8cc2790] main playlist debug: starting new item [0x8cc2790] main playlist debug: creating new input thread [0x8cc4f50] main input debug: Creating an input for 'rtp://239.1.1.1:5004' [0x8cc4f50] main input debug: thread (input) created at priority 10 (input/input.c:214) [0x8cc4f50] main input debug: thread started [0x8cc4f50] main input debug: using timeshift granularity of 50 MiB [0x8cc4f50] main input debug: using timeshift path '/tmp' [0x8cc4f50] main input debug: `rtp://@239.1.1.1:5004' gives access `rtp' demux `' path `@239.1.1.1:5004' [0x8cc4f50] main input debug: creating demux: access='rtp' demux='' path='@239.1.1.1:5004' [0x8f065b0] main demux debug: looking for access_demux module: 1 candidate [0x8f065b0] main demux debug: net: opening 239.1.1.1 datagram port 5004 [0x8f065b0] main demux debug: Multicast group join request [0x8f065b0] main demux debug: using access_demux module "rtp" [0x8f065b0] main demux debug: TIMER module_need() : 0.658 ms - Total 0.658 ms / 1 intvls (Avg 0.658 ms) [0x8f06ca0] main demux meta debug: looking for meta reader module: 2 candidates [0x8f06ca0] lua demux meta debug: Trying Lua scripts in /home/braca/.local/share/vlc/lua/meta/reader [0x8f06ca0] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x8f06ca0] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x8f06ca0] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x8f06ca0] main demux meta debug: no meta reader module matching "any" could be loaded [0x8f06ca0] main demux meta debug: TIMER module_need() : 0.817 ms - Total 0.817 ms / 1 intvls (Avg 0.817 ms) [0x8cc4f50] main input debug: `rtp://@239.1.1.1:5004' successfully opened [0x8cc6ad8] qt4 interface debug: IM: Setting an input Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand()
I know that streaming something and watching it in the same machine may look stupid, but it was just a way of showing something that is causing me problems in a project that i'm working on..

Return to “VLC 1.1.0 testing”

Who is online

Users browsing this forum: No registered users and 4 guests