Trouble streaming to shoutcast server

*nix specific usage questions
vlcisawesome
New Cone
New Cone
Posts: 3
Joined: 03 Nov 2009 08:22

Trouble streaming to shoutcast server

Postby vlcisawesome » 03 Nov 2009 08:35

Hello,

I'm having trouble getting VLC "1.0.2 Goldeneye" to connect to my shoutcast server, both of which are running on the same box (Ubuntu 9.10). VLC was simply installed through aptitude. I've searched far and wide, found many similar problems but haven't had any luck resolving this yet.

If I enter the following command:

cvlc -vvv http://127.0.0.1:9070 --no-sout-video --sout '#transcode{acodec=mp3, ab=96, channels=2, samplerate=44100, aenc=ffmpeg}:std{access=shout{mp3=1,bitrate=96,samplerate=44100,channels=2},mux=raw,dst=admin:changeme@127.0.0.1:8001//}'

I get the following error messages:

[0x91804a0] access_output_shout access out warning: failed to connect using 'icy' (shoutcast) protocol
[0x91804a0] access_output_shout access out warning: failed to connect using 'http' (icecast 2.x) protocol
[0x91804a0] access_output_shout access out warning: unable to establish connection, retrying...

And in my shoutcast log i get:

[source] invalid password from 127.0.0.1

Even though the password is definitely correct.

VLC seems to understand the access=shout part,

vlc -l | grep shout:
VLC media player 1.0.2 Goldeneye
playlist New winamp 5.2 shoutcast import
shout Shoutcast radio listings
shout Freebox TV listing (French ISP free.fr services)
shout French TV
shout Shoutcast TV listings
access_output_shout IceCAST output


Any help at all is appreciated, my next step will be to build 0.9.9 (possibly on centos) to see if I can find success with that. But I would much rather get it working here...

Cheers

vlcisawesome
New Cone
New Cone
Posts: 3
Joined: 03 Nov 2009 08:22

Re: Trouble streaming to shoutcast server

Postby vlcisawesome » 04 Nov 2009 09:33

Now trying with 0.9.9a on Ubuntu Jaunty. Here's the verbose output:

user@server:~$ cvlc -vvv http://127.0.0.1:9070 --no-sout-video --sout '#transcode{acodec=mp3,ab=96,channels=2,samplerate=44100,aenc=ffmpeg}:std{access=shout{mp3=1,bitrate=64,samplerate=44100,channels=2,name='--please stay polite--',genre='shitgaze'},mux=raw,dst=admin:lols@127.0.0.1:8001/}'
VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--enable-maintainer-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=2ubuntu1' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-realrtsp' '--disable-dv' '--enable-x264' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file /home/user/.cache/vlc/plugins-04041e.dat
[00000001] main libvlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main libvlc debug: module bank initialized, found 271 modules
[00000001] main libvlc warning: Unable to get HAL device properties
[00000001] main libvlc debug: opening config file (/home/user/.config/vlc/vlcrc)
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main libvlc debug: looking for memcpy module: 3 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000368] main interaction debug: thread started
[00000368] main interaction debug: thread 3079302032 (Interaction control) created at priority 0 (interface/interaction.c:382)
[00000370] main input debug: Creating an input for 'Media Library'
[00000370] main input debug: Input is a meta file: disabling unneeded options
[00000370] main input debug: `file/xspf-open:///home/user/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/user/.local/share/vlc/ml.xspf'
[00000370] main input debug: creating access 'file' path='/home/user/.local/share/vlc/ml.xspf'
[00000371] main access debug: looking for access module: 3 candidates
[00000371] access_file access debug: opening file `/home/user/.local/share/vlc/ml.xspf'
[00000371] main access debug: using access module "access_file"
[00000371] main access debug: TIMER module_Need() : 4.761 ms - Total 4.761 ms / 1 intvls (Avg 4.761 ms)
[00000376] main stream debug: Using AStream*Stream
[00000376] main stream debug: pre-buffering...
[00000376] main stream debug: received first data for our buffer
[00000370] main input debug: creating demux: access='file' demux='xspf-open' path='/home/user/.local/share/vlc/ml.xspf'
[00000377] main demux debug: looking for demux module: 1 candidate
[00000377] playlist demux debug: using XSPF playlist reader
[00000377] main demux debug: using demux module "playlist"
[00000377] main demux debug: TIMER module_Need() : 1.881 ms - Total 1.881 ms / 1 intvls (Avg 1.881 ms)
[00000370] main input debug: `file/xspf-open:///home/user/.local/share/vlc/ml.xspf' successfully opened
[00000392] main xml debug: looking for xml module: 2 candidates
[00000392] main xml debug: using xml module "xml"
[00000392] main xml debug: TIMER module_Need() : 4.411 ms - Total 4.411 ms / 1 intvls (Avg 4.411 ms)
[00000377] playlist demux debug: parsed 0 tracks successfully
[00000392] main xml debug: removing module "xml"
[00000370] main input debug: EOF reached
[00000370] main input debug: control type=1
[00000377] main demux debug: removing module "playlist"
[00000371] main access debug: removing module "access_file"
[00000370] main input debug: TIMER input launching for 'Media Library' : 16.628 ms - Total 16.628 ms / 1 intvls (Avg 16.628 ms)
[00000394] main preparser debug: thread started
[00000394] main preparser debug: waiting for thread initialization
[00000394] main preparser debug: thread 3070856080 (preparser) created at priority 0 (playlist/thread.c:79)
[00000395] main fetcher debug: thread started
[00000395] main fetcher debug: waiting for thread initialization
[00000395] main fetcher debug: thread 3056753552 (fetcher) created at priority 0 (playlist/thread.c:108)
[00000369] main playlist debug: thread started
[00000369] main playlist debug: waiting for thread initialization
[00000369] main playlist debug: rebuilding array of current - root Playlist
[00000369] main playlist debug: rebuild done - 0 items, index -1
[00000369] main playlist debug: thread 3048360848 (playlist) created at priority 0 (playlist/thread.c:117)
[00000396] main interface debug: looking for interface module: 1 candidate
[00000396] main interface debug: using interface module "hotkeys"
[00000396] main interface debug: TIMER module_Need() : 1.311 ms - Total 1.311 ms / 1 intvls (Avg 1.311 ms)
[00000396] main interface debug: thread started
[00000396] main interface debug: thread 3039968144 (interface) created at priority 0 (interface/interface.c:168)
[00000398] main interface debug: looking for interface module: 1 candidate
[00000398] inhibit interface error: Failed to connect to the D-Bus session daemon: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.

[00000398] main interface warning: no interface module matching "inhibit,none" could be loaded
[00000398] main interface debug: TIMER module_Need() : 36.054 ms - Total 36.054 ms / 1 intvls (Avg 36.054 ms)
[00000398] main interface error: no suitable interface module
[00000001] main libvlc error: interface "inhibit,none" initialization failed
[00000400] main interface debug: looking for interface module: 1 candidate
[00000400] main interface debug: using interface module "screensaver"
[00000400] main interface debug: TIMER module_Need() : 1.381 ms - Total 1.381 ms / 1 intvls (Avg 1.381 ms)
[00000400] main interface debug: thread started
[00000400] main interface debug: thread 3031575440 (interface) created at priority 0 (interface/interface.c:168)
[00000369] main playlist debug: adding item `http://127.0.0.1:9070' ( http://127.0.0.1:9070 )
[00000369] main playlist debug: rebuilding array of current - root Playlist
[00000369] main playlist debug: rebuild done - 1 items, index -1
[00000402] main interface debug: looking for interface module: 22 candidates
[00000400] screensaver interface warning: failed to connect to the D-BUS daemon: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.

[00000402] main interface debug: using interface module "signals"
[00000402] main interface debug: TIMER module_Need() : 3.189 ms - Total 3.189 ms / 1 intvls (Avg 3.189 ms)
[00000402] main interface debug: thread started
[00000402] main interface debug: thread 3014790032 (interface) created at priority 0 (interface/interface.c:168)
[00000404] main interface debug: looking for interface module: 22 candidates
[00000404] dummy interface: using the dummy interface module...
[00000404] main interface debug: using interface module "dummy"
[00000404] main interface debug: TIMER module_Need() : 1.932 ms - Total 1.932 ms / 1 intvls (Avg 1.932 ms)
[00000404] main interface debug: thread started
[00000404] main interface debug: thread 3006397328 (interface) created at priority 0 (interface/interface.c:168)
[00000369] main playlist debug: starting new item
[00000369] main playlist debug: processing request item null node Playlist skip 0
[00000369] main playlist debug: creating new input thread
[00000413] main input debug: Creating an input for 'http://127.0.0.1:9070'
[00000413] main input debug: thread started
[00000413] main input debug: waiting for thread initialization
[00000414] main stream output debug: stream=`transcode'
[00000415] main stream out debug: looking for sout stream module: 1 candidate
[00000414] main stream output debug: stream=`std'
[00000418] main stream out debug: looking for sout stream module: 1 candidate
[00000418] main stream out debug: set config option: sout-standard-access to shout{mp3=1,bitrate=64,samplerate=44100,channels=2,name=--please stay polite--,genre=newgaze}
[00000418] main stream out debug: set config option: sout-standard-mux to raw
[00000418] main stream out debug: set config option: sout-standard-dst to admin:omg@127.0.0.1:8001/
[00000418] stream_out_standard stream out debug: creating `shout{mp3=1,bitrate=64,samplerate=44100,channels=2,name=--please stay polite--,genre=newgaze}/raw://admin:omg@127.0.0.1:8001/'
[00000418] stream_out_standard stream out debug: extension is 1:8001/
[00000418] stream_out_standard stream out debug: extension -> mux=(null)
[00000418] stream_out_standard stream out debug: using `shout{mp3=1,bitrate=64,samplerate=44100,channels=2,name=--please stay polite--,genre=newgaze}/raw://admin:omg@127.0.0.1:8001/'
[00000420] main access out debug: looking for sout access module: 1 candidate
[00000420] main access out debug: set config option: sout-shout-mp3 to 1
[00000420] main access out debug: set config option: sout-shout-bitrate to 64
[00000420] main access out debug: set config option: sout-shout-samplerate to 44100
[00000420] main access out debug: set config option: sout-shout-channels to 2
[00000420] main access out debug: set config option: sout-shout-name to --please stay polite--
[00000420] main access out debug: set config option: sout-shout-genre to newgaze
[00000420] access_output_shout access out warning: failed to connect using 'icy' (shoutcast) protocol
[00000413] main input debug: thread 2998004624 (input) created at priority 10 (input/input.c:370)
[00000420] access_output_shout access out warning: failed to connect using 'http' (icecast 2.x) protocol
[00000420] access_output_shout access out warning: unable to establish connection, retrying...
[00000420] access_output_shout access out warning: failed to connect using 'icy' (shoutcast) protocol
[00000420] access_output_shout access out warning: failed to connect using 'http' (icecast 2.x) protocol
[00000420] access_output_shout access out warning: unable to establish connection, retrying...
[00000420] access_output_shout access out warning: failed to connect using 'icy' (shoutcast) protocol
[00000420] access_output_shout access out warning: failed to connect using 'http' (icecast 2.x) protocol
[00000420] access_output_shout access out warning: unable to establish connection, retrying...
[00000420] access_output_shout access out warning: failed to connect using 'icy' (shoutcast) protocol
[00000420] access_output_shout access out warning: failed to connect using 'http' (icecast 2.x) protocol
[00000420] access_output_shout access out warning: unable to establish connection, retrying...
[00000420] access_output_shout access out warning: failed to connect using 'icy' (shoutcast) protocol
[00000420] access_output_shout access out warning: failed to connect using 'http' (icecast 2.x) protocol
[00000420] access_output_shout access out warning: unable to establish connection, retrying...


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

Who is online

Users browsing this forum: No registered users and 20 guests