Web radio with VLC

About encoding, codec settings, muxers and filter usage
CrazyCat
New Cone
New Cone
Posts: 4
Joined: 30 Nov 2004 19:28

Web radio with VLC

Postby CrazyCat » 30 Nov 2004 19:38

Hi there :)
I've a server (debian 3.1RC2) on wich is installed VLC and I use it as streaming server.

I've a small trouble:

I use a playlist (created with a find /home/mp3 -name *.mp3 > playlist.m3u) and run my vlc by launching:

Code: Select all

vlc --loop --random playlist.m3u --sout '#standard{access=http,mux=raw,url=192.168.0.3:10000}' &
The trouble is that when listening with winamp or vlc, the player stops at the end of each song, I've to press the play to launch the listening of the following (but on my server, vlc follow up reading).

I wonder I've some troubles with my command line, but I can't understand wich...
Someone could help me plz?

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 01 Dec 2004 02:38

the magic command line option is --sout-keep.

Guest

Postby Guest » 01 Dec 2004 08:38

really? who hide it in the manual?
10x a lot man :)

CrazyCat
New Cone
New Cone
Posts: 4
Joined: 30 Nov 2004 19:28

Postby CrazyCat » 01 Dec 2004 08:58

Well, now I've a big error:

Code: Select all

crazycat@cc-nux:~$ vlc --loop /home/samba/mp3/Naheulbeuk/*.mp3 --sout-keep '#standard{access=http,mux=raw,url=192.168.0.3}' VLC media player 0.8.1 Janus libhal.c 696 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised "Service "org.freedesktop.Hal" does not exist" [00000235] skins2 interface error: Cannot open display [00000235] skins2 interface error: Cannot initialize OSFactory Interface de commande à distance initialisée, « h » pour obtenir de l'aide. [00000243] main private: creating httpd [00000247] mux_dummy private: Open [00000271] mpeg_audio packetizer: MPGA channels:2 samplerate:44100 bitrate:128 [00000294] mpeg_audio packetizer: MPGA channels:2 samplerate:44100 bitrate:128 signal 2 received, terminating vlc - do it again in case it gets stuck [00000245] main http daemon: httpd doesn't reference any host, deleting [00000232] main playlist error: refcount is 1, I have a bad feeling about this [00000232] main playlist error: we waited too long, cancelling destruction
I'm launching vlc from console via ssh, can't understand the trouble....

CrazyCat
New Cone
New Cone
Posts: 4
Joined: 30 Nov 2004 19:28

Postby CrazyCat » 01 Dec 2004 09:16

Sorry, I'm a lame :(
I've to use --sout-keep -sout '#standard{......}'


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests