Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-22-2006, 01:11 AM   #1
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Rep: Reputation: 31
video lan client streaming audio files

Hi, I have set up VLC and have got it successfully streaming audio to my local network. I can go to other computers around then network and recieve the streams with either mplayer, xine, or VLC no problems.

But when I try to stream multiple files, eg a playlist, or just select a few songs, at the end of each song the computer recieving the stream will drop the stream so I have to press play or reload the stream after every song.
In preferences, there is a setting that will "keep stream output open" which I have selected but this only makes Mplayer stay open. It still wont play the next song.

If I try to stream an audio cd, the recieving computer will stay open even when I change tracks on the server but if I am streaming tracks off the hard drive, the recieving computer drops the stream every time.

If anyone has got around this problem id love to here how as this is a pretty good program to use otherwise.
Old 10-22-2006, 08:52 AM   #2
Senior Member
Registered: Dec 2005
Distribution: Slackware -current, 14.2
Posts: 1,091

Rep: Reputation: 204Reputation: 204Reputation: 204
I'm not sure if you've setup your stream with the wizard, of if you've built it from the cli, but I've been streaming with vlc for a number of years; I know it took me a while to 'get the cli "just right"', but here it is:

vlc -I http --control http:rc --rc-host --http-host :7000
 --no-rc-show-pos --volume 750 --spdif -vvv /home/xxx/playlist.m3u --random
 --sout-keep --sout '#duplicate{dst=display,dst="std{access=http,mux=raw,url=localhost:8000}"}'
the part that keeps the stream alive, fittingly, is '--sout-keep'

iirc, even if you build the stream from the wizard, or somewhere within the vlc gui, you can still manually add options.

hope this helps.

Old 10-26-2006, 07:36 AM   #3
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Original Poster
Rep: Reputation: 31
Thanks for the reply.

I tried using your command line entry but couldn't get the other computer to connect to the stream (after a lot of playing around with the command, not just straight copy from yours).

Using the GUI I added the sout-keep command, but that just keeps the remote program open, it still wont play the next song.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Streaming Video files on LAN Network sendilkumar Linux - Networking 10 11-06-2006 12:22 AM
streaming audio over lan Murdock1979 Linux - Networking 2 06-16-2006 11:37 PM
Audio Video Streaming mohan_rahul Linux - Software 1 12-16-2005 10:12 AM
streaming audio/ video odd Linux - Software 1 04-27-2004 11:44 AM
Streaming audio and video.... shadar Linux - Newbie 3 07-31-2003 10:52 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration