LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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, 07:52 AM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,030

Rep: Reputation: 160Reputation: 160
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:

Code:
vlc -I http --control http:rc --rc-host 127.0.0.1:4800 --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.


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

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.
 
  


Reply


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-05-2006 11:22 PM
streaming audio over lan Murdock1979 Linux - Networking 2 06-16-2006 10:37 PM
Audio Video Streaming mohan_rahul Linux - Software 1 12-16-2005 09:12 AM
streaming audio/ video odd Linux - Software 1 04-27-2004 10:44 AM
Streaming audio and video.... shadar Linux - Newbie 3 07-31-2003 09:52 PM


All times are GMT -5. The time now is 07:58 AM.

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