[vlc] Multicast Streaming with VLC

johnny yu johnny__yu at hotmail.com
Wed Feb 22 20:41:16 CET 2006


I used to use the following command to stream audio files, or to rebroadcast 
Shoutcast streams over multicast on a local area network and it no longer 
appears to work:

vlc -I rc --sout udp:239.254.254.251:1234 test.mp3

First I tried using the vlc package from Ubuntu Breezy, version 
0.8.4-svn20050920-3+hal0ubuntu3 and it seg faults.

VLC media player 0.8.4-svn20040920 Janus
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file 
/root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc warning: This doesn't look like a valid plugins cache
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 376 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000000] main root debug: VLC media player - version 0.8.4-svn20040920 
Janus - (c) 1996-2005 the VideoLAN team
[00000000] main root debug: libvlc was configured with ./configure 
--mandir=/share/man --infodir=/share/info --enable-release --prefix=/usr 
--disable-gnome --disable-gtk --disable-familiar --disable-fb --enable-ggi 
--enable-sdl --enable-esd --disable-qt --enable-mad --enable-arts 
--enable-alsa --enable-lirc --enable-a52 --enable-aa --enable-dvbpsi 
--enable-xosd --enable-mozilla --disable-kde --enable-mp4 --enable-dvb 
--enable-dv --disable-satellite --enable-ogg --enable-vorbis 
--enable-wxwidgets --with-wx-config=wxgtk-2.4-config --disable-slp 
--enable-flac --disable-skins --disable-basic-skins --enable-skins2 
--enable-freetype --disable-mkv --enable-v4l --enable-pvr --disable-speex 
--enable-caca --enable-livedotcom --enable-libmpeg2 --enable-dts 
--enable-fribidi --enable-cdio --enable-mod --enable-theora --enable-modplug 
--enable-dvdnav --enable-gnutls --enable-ncurses --enable-smb 
--disable-gnomevfs --enable-faad --with-faad-tree=extras/faad2 
--enable-ffmpeg --with-ffmpeg-tree=extras/ffmpeg --enable-x264 
--with-x264-tree=extras/x264 --enable-glide --enable-svgalib --enable-dvd
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file 
/root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc warning: This doesn't look like a valid plugins cache
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 376 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 
FPU
[00000001] main vlc debug: looking for memcpy module: 4 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000472] main playlist debug: waiting for thread completion
[00000472] main playlist debug: thread 3034135472 (playlist) created at 
priority 0 (src/playlist/playlist.c:183)
[00000473] main private debug: waiting for thread completion
[00000473] main private debug: thread 3025742768 (preparser) created at 
priority 0 (src/playlist/playlist.c:205)
[00000474] main interface debug: looking for interface module: 2 candidates
[00000059] main module debug: using interface module "hotkeys"
[00000474] main interface debug: interface initialized
[00000474] main interface debug: thread 3017350064 (interface) created at 
priority 0 (src/interface/interface.c:211)
[00000475] main interface debug: looking for interface module: 9 candidates
[00000051] main module debug: using interface module "screensaver"
[00000475] main interface debug: interface initialized
[00000475] main interface debug: thread 3008957360 (interface) created at 
priority 0 (src/interface/interface.c:211)
[00000472] main playlist debug: adding playlist item `test.mp3' ( test.mp3 )
[00000476] main interface debug: looking for interface module: 7 candidates
Remote control interface initialized, `h' for help
[00000060] main module debug: using interface module "rc"
[00000476] main interface debug: interface initialized
[00000476] main interface debug: thread 3000560560 (manager) created at 
priority 0 (src/interface/interface.c:196)
[00000472] main playlist debug: creating new input thread
[00000477] main input debug: waiting for thread completion
[00000477] main input debug: thread 2992167856 (input) created at priority 0 
(src/input/input.c:230)
[00000478] main stream output debug: using sout 
chain=`std{mux="",access="udp",url="239.254.254.251:1234"}'
[00000478] main stream output debug: stream=`std'
[00000479] main private debug: looking for sout stream module: 2 candidates
[00000479] main private warning: missing value for option mux
[00000479] main private debug: set sout option: sout-standard-access to udp
[00000479] main private debug: set sout option: sout-standard-url to 
239.254.254.251:1234
[00000479] stream_out_standard private debug: creating 
`udp/(null)://239.254.254.251:1234'
[00000479] stream_out_standard private debug: extention is 251:1234
[00000479] stream_out_standard private debug: extention -> mux=(null)
[00000479] stream_out_standard private debug: using 
`udp/ts://239.254.254.251:1234'
[00000480] main private debug: looking for sout access module: 2 candidates
[00000481] main private debug: looking for network module: 2 candidates
[00000045] main module debug: using network module "ipv4"
[00000045] main module debug: unlocking module "ipv4"
[00000481] main private debug: thread 2983775152 (sout write thread) created 
at priority 0 (udp.c:293)
[00000480] access_output_udp private debug: udp access output 
opened(239.254.254.251:1234)
[00000063] main module debug: using sout access module "access_output_udp"
[00000479] stream_out_standard private debug: access opened
[00000482] main private debug: looking for sout mux module: 1 candidate
Segmentation fault

Okay so maybe the Ubuntu package is broken so I decided to recompile from 
source and try it there.  I downloaded the latest 0.8.4a source from 
videolan.org and compiled.  Using the same command line with the newly 
compiled binary I get:

VLC media player 0.8.4a Janus
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file 
/root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 177 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 
FPU
[00000001] main vlc debug: looking for memcpy module: 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000225] main playlist debug: waiting for thread completion
[00000225] main playlist debug: thread 3083717552 (playlist) created at 
priority 0 (src/playlist/playlist.c:183)
[00000226] main private debug: waiting for thread completion
[00000226] main private debug: thread 3075324848 (preparser) created at 
priority 0 (src/playlist/playlist.c:205)
[00000227] main interface debug: looking for interface module: 1 candidate
[00000045] main module debug: using interface module "hotkeys"
[00000227] main interface debug: interface initialized
[00000227] main interface debug: thread 3066911664 (interface) created at 
priority 0 (src/interface/interface.c:211)
[00000225] main playlist debug: adding playlist item `test.mp3' ( test.mp3 )
[00000229] main interface debug: looking for interface module: 2 candidates
Remote control interface initialized, `h' for help
[00000046] main module debug: using interface module "rc"
[00000229] main interface debug: interface initialized
[00000229] main interface debug: thread 3058473904 (manager) created at 
priority 0 (src/interface/interface.c:196)
[00000225] main playlist debug: creating new input thread
[00000231] main input debug: waiting for thread completion
[00000232] main stream output debug: using sout 
chain=`std{mux="",access="udp",url="239.254.254.251:1234"}'
[00000232] main stream output debug: stream=`std'
[00000233] main private debug: looking for sout stream module: 1 candidate
[00000231] main input debug: thread 3050081200 (input) created at priority 0 
(src/input/input.c:230)
[00000233] main private warning: missing value for option mux
[00000233] main private debug: set sout option: sout-standard-access to udp
[00000233] main private debug: set sout option: sout-standard-url to 
239.254.254.251:1234
[00000233] stream_out_standard private debug: creating 
`udp/(null)://239.254.254.251:1234'
[00000233] stream_out_standard private debug: extention is 251:1234
[00000233] stream_out_standard private debug: extention -> mux=(null)
[00000233] stream_out_standard private debug: using 
`udp/ts://239.254.254.251:1234'
[00000235] main private debug: looking for sout access module: 1 candidate
[00000237] main private debug: looking for network module: 1 candidate
[00000031] main module debug: using network module "ipv4"
[00000031] main module debug: unlocking module "ipv4"
[00000237] main private debug: thread 3041672112 (sout write thread) created 
at priority 0 (udp.c:293)
[00000235] access_output_udp private debug: udp access output 
opened(239.254.254.251:1234)
[00000049] main module debug: using sout access module "access_output_udp"
[00000233] stream_out_standard private debug: access opened
[00000239] main private debug: looking for sout mux module: 0 candidates
[00000239] main private error: no sout mux module matched "ts"
[00000233] stream_out_standard private error: no suitable sout mux module 
for `udp/ts://239.254.254.251:1234'
[00000237] main private debug: thread 3041672112 joined (udp.c:341)
[00000235] access_output_udp private debug: udp access output closed
[00000049] main module debug: unlocking module "access_output_udp"
[00000233] main private warning: no sout stream module matching "std" could 
be loaded
[00000233] main private debug: destroying chain... (name=std)
[00000233] main private debug: destroying chain done
[00000232] main stream output error: stream chained failed for 
`std{mux="",access="udp",url="239.254.254.251:1234"}'
[00000231] main input error: cannot start stream output instance, aborting
status change: ( New input: test.mp3 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000231] main input debug: thread 3050081200 joined 
(src/input/input.c:386)
status change: ( stop state: 0 )
[00000225] main playlist: nothing to play

So it doesn't seg fault, but it doesn't stream either.  I have a feeling my 
problem is here:

00000239] main private error: no sout mux module matched "ts"

Biut I don't know what to do about it.  Can anyone help?

Thank you.

_________________________________________________________________
Designer Mail isn't just fun to send, it's fun to receive. Use special 
stationery, fonts and colors. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list