Sergis n00b
Joined: 08 Sep 2004 Posts: 14 Location: Latvia
|
Posted: Fri Dec 28, 2007 7:40 am Post subject: vlc + udp multicast stream problems. |
|
|
Hello all!
I have strange problems with vlc and multicast stream, it sometimes works,sometimes not. on eth0 is two multicast streams with adress 224.1.1.1:11111 and 224.1.1.2:11111, eth1 outgoing interface:
There is one gentoo box with 2 net cards:
/etc/conf.d/net:
Code: |
config_eth1=( "85.*.*.123/27" )
routes_eth1=( "default via 85.*.*.97" )
config_eth0=( "null" )
|
/etc/conf.d/local.start:
Code: |
echo "0" > /proc/sys/net/ipv4/conf/eth1/rp_filter
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
|
I have compiled multicast support in kernel
/usr/src/linux/.config:
Code: |
CONFIG_IP_MULTICAST=y
|
I run vlc from console with parametrs:
Code: |
vlc -vvv udp://@224.1.1.1:11111
|
vlc console log:
Code: |
VLC media player 0.8.6c Janus
starting VLC root wrapper... using UID 1000 (vlc)
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /home/vlc/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 202 modules
[00000001] main private debug: opening config file /home/vlc/.vlc/vlcrc
[00000001] main private warning: config file /home/vlc/.vlc/vlcrc does not exist yet
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000269] main playlist debug: waiting for thread completion
[00000269] main playlist debug: thread 3082554256 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000270] main private debug: waiting for thread completion
[00000270] main private debug: thread 3074161552 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000271] main interface debug: looking for interface module: 1 candidate
[00000271] main interface debug: using interface module "hotkeys"
[00000271] main interface debug: thread 3065740176 (interface) created at priority 0 (interface/interface.c:231)
[00000269] main playlist debug: adding playlist item `udp://@224.1.1.1:11111' ( udp://@224.1.1.1:11111 )
[00000273] main interface debug: looking for interface module: 3 candidates
Remote control interface initialized. Type `help' for help.
[00000273] main interface debug: using interface module "rc"
[00000273] main interface debug: thread 3057290128 (manager) created at priority 0 (interface/interface.c:216)
[00000269] main playlist debug: creating new input thread
[00000275] main input debug: waiting for thread completion
[00000275] main input debug: thread 3048897424 (input) created at priority 0 (input/input.c:265)
[00000275] main input debug: creating statistics handler
[00000275] main input debug: `udp://@224.1.1.1:11111' gives access `udp' demux `' path `@224.1.1.1:11111'
[00000275] main input debug: creating demux: access='udp' demux='' path='@224.1.1.1:11111'
[00000277] main demuxer debug: looking for access_demux module: 0 candidates
[00000277] main demuxer warning: no access_demux module matched "udp"
[00000275] main input debug: creating access 'udp' path='@224.1.1.1:11111'
[00000278] main access debug: looking for access2 module: 8 candidates
[00000278] access_udp access debug: opening server=:0 local=224.1.1.1:11111
[00000278] main access debug: net: connecting to '[]:0@[224.1.1.1]:11111'
[00000278] main access debug: looking for network module: 1 candidate
[00000278] ipv6 access debug: 224.1.1.1: Address family for hostname not supported
[00000278] main access debug: using network module "ipv6"
[00000278] main access debug: removing module "ipv6"
[00000278] main access debug: looking for network module: 1 candidate
[00000278] ipv4 access debug: resolving 224.1.1.1:11111...
[00000278] ipv4 access debug: resolving :0...
[00000278] ipv4 access debug: IP_ADD_MEMBERSHIP multicast request
[00000278] main access debug: using network module "ipv4"
[00000278] main access debug: removing module "ipv4"
[00000278] main access debug: using access2 module "access_udp"
[00000282] main private debug: pre buffering
status change: ( new input: udp://@224.1.1.1:11111 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
|
Sometimes i got asci picture from stream,sometimes it says pre buffering, i try stable vlc and alpha vlc from portage,but without suscess, i use wireshark to see trafic on switch who connected to eth0, there is multicast group join request and udp streams, i can open streams using vlc on windows Xp connected to this network.
if vlc is launched and says prebufering iftop shows, 5,78Mbp traffic from: 80.*.*.66 to 224.1.1.1
Need help! |
|