Personal Use FLAC Streaming Solutions? 46
Kulaid982 asks: "A friend of mine has challenged me to put together an internet music server for him. Ideally he'd like to stream music from his apartment to work. I'm aware of mod_mp3 for Apache, and Shoutcast seems to be a great streaming option, however, most of his music is FLAC or WAV. Obviously, .wav files are only streamable over the fastest networks, so is there an option for on the fly encoding to MP3 or FLAC to stream it? This will be a dedicated music-streaming box for his own personal use. I'm sure someone out there has already done this or something similar, so please share; how'd you pull it off?"
"Some technical specifics: The box is a P3 800 with 512MB of RAM, so I'm thinking Linux over Windows; his internet connection is 3 Mbps down, 256kbps up; and his collection is ~400GB, and is a mix of WAV, FLAC, and SHN (SHORTEN) formats."
Re:shoutcast (Score:1)
Did you do any bit of research at all on this?
Icecast will suit your needs just fine - it'll take your files, and encode on the fly to either vorbis or mp3. If icecast doesn't have native support for the file formats you want, grab something like foobar2000, play everything through that, and get the plugins that pipe that sound output to icecast for post-proccessing.
Icecast homepage [icecast.org]
Re:shoutcast (Score:2)
Re:shoutcast (Score:2)
For example, when you stream with winamp to shoutcast or icecast, it plays/decodes the input files just like when you normally play content, and then it runs it through an encoder and streams it to the server.
So, I think the parent poster meant, using Icec
Re:shoutcast (Score:1, Informative)
It would use too much bandwidth anyway. CD audio (WAV) would use 1411.2 kbps, and FLAC wouldn't reduce that by more than half. Assuming the FLAC is 70% of the input size in the worst case, and TCP overhead limits you to 80% of your line speed, you'd need a connection with 1.2 Mbps upload.
SDSL could work, but many ISPs wouldn't like you uploading at that speed all day, so you'd probably need a T1 (unless you live close enough to work to use 802.11 or dry-pair DSL).
Re:shoutcast (Score:2)
Re:shoutcast (Score:2)
Re:shoutcast (Score:2)
Use... (Score:4, Informative)
-Winamp 2.92 (yes i know its old but it supports shoutcast)
-SHN and FLAC Winamp plugins
-Winamp Shoutcast DSP plugin
-Windows Shoutcast server
The DSP enocdes to MP3 on the fly, and really dosn't use much in the way of system resources.
The only problem i cna think of is remote control.
Re:Use... (Score:2)
There are plenty of web front ends for Winamp that allow you to control it through a browser (just Google - can't remember offhand the particular one I used); or alternatively there is always Terminal Services/VNC, etc.
Re:Use... (Score:3, Informative)
The newest version of WinAMP (5.08) supports the SHOUTcast plugin just fine. You don't need to get an old version.
Re:Use... (Score:3, Insightful)
Re:Use... (Score:1, Redundant)
Agreed.
Re:Use... (Score:1, Informative)
Supercast (Score:5, Informative)
SlimServer (Score:5, Informative)
Runs great on my server, which is almost identical system to the one specified. It should handle everything you need, including multiple formats and transcoding.
Their hardware is not required (but as an owner of one, I can say it is cool).
SlimServer? Apache::MP3? (Score:4, Informative)
I used it for a bit, but ditched it in favor of Lincoln Stein's Apache::MP3 [cpan.org]. My SO still uses SlimServer to stream from home to work, though. The two coexist well on my little Debian server. I don't know if SlimServer supports FLAC; Apache::MP3 does.
Re:SlimServer? Apache::MP3? (Score:3, Informative)
As long as a command line tool to decode the audio exists which can direct its output to standard out, it can be transcoded and streamed using SlimServer.
Winamp (Score:3, Informative)
No, you repeat after me (Score:4, Funny)
I will not dismiss a question with "Ask Google" without giving keywords.
I will not dismiss a question with "Ask Google" without giving keywords.
I will not dismiss a question with "Ask Google" without giving keywords.
Re:No, you repeat after me (Score:2, Funny)
Re:No, you repeat after me (Score:2)
Re:No, you repeat after me (Score:4, Informative)
Personal Use FLAC Streaming Solutions? [google.com]
It's a fun game to play -- try it with other recent Ask Slashdot entries and you start to see how asinine most of the posted questions actually are.
gnump3d (Score:2)
Re:gnump3d (Score:2, Informative)
Yes you can do it, and if it doesn't work for you mail me (I'm the author).
Re:gnump3d (Score:2)
Re:gnump3d (Score:2)
You don't need anything special. (Score:2, Redundant)
The player (Usually WinAmp) decodes the content, transcodes it to MP3 or Vorbis, and streams it to the Shoutcast or Icecast server.
Why stream FLAC? (Score:2)
one part: upling speed (Score:4, Informative)
At that point, the files are getting pretty small. A 128k mp3 is 1/10 the size of a
* an iPod would solve a lot of problems while creating very few. The main problem is the cost. OTOH, it doesn't depend on network availability. It can be used in a lot more places than a computer can. It will play mp3, aac, wav, aiff, and Apple's lossless codec. And it can store files and do other cool things.
Re:one part: upling speed (Score:2)
Re:one part: upling speed (Score:4, Informative)
I agree with the idea of compressing the music and storeing it in a more portable format.
Re:one part: upling speed (Score:3)
1) Your provider. If your provider is decent you will have a good upstream which is able to stream 128k continuously. Unfortunately this is not the case for everyone....
2) The packet filter you use (or if you use a packet filter at all). You can set up PF to prioritize certain traffic so your streams don't suffer from concurrent downloads.
If the 2 above statements are true (you have a decent provider and are user PF), then you certainly can stream 128k reliably over a 256k upst
Ampache (Score:4, Informative)
Currently the following file formats are supported.
* MP3 (Id3v1 & Id3v2)
* OGG
* WMA
* RM
* M4A/AAC/MP4 (Itunes files)
* FLAC
* MPC
Re:Ampache (Score:2)
I currently have Ampache installed with the majority of my collection in FLAC.
While it will "read" your FLAC collection, to my knowledge Ampache currently does not support streaming of FLAC encoded audio. If someone knows how to do it, I would like to know. (And I did search the forums and there were unanswered questions that addressed this so I didn't ask any myself)
You can still use Ampache on the local machine as a collection / playlist manager with FLAC, and it does work flawlessly over the net with
Re:Ampache (Score:1, Informative)
Just to pimp my produce a little more it also supports output to
* Any Player that can read a https STREAM
* Local Play through Moosic
* Local Play through MPD
* Multicasting using IceCast
And it can generate the following Playlist types
* Extended m3u
* Simple m3u
* PLS
* ASX
Public SVN: https://svn.ampache.org/trunk [ampache.org]
Themes: http://w [ampache.org]
Re:Ampache (Score:2)
"This is a limatation of the FLAC codec as far as I understand, I'm pretty sure there was an update to it that allows streaming... But don't quote me on that it's late and I'm tired. "
I thought that was what I saw on the forums, but I couldn't remember so I left the reason why out of my response. I tried using the downsampling settings to transcode from FLAC to MP3 on the fly for streaming, but I was unsuccessful. I'll check to see if there is an upgrade available for the codec installed on my machines.
some solutions (Score:2, Insightful)
What I did may not help you directly, because this is a UNIX method, but if you do have UNIX, then try running nfs over those 2 points (Yes, if you really want to, put Cygwin on Window machines and you can mount them just fine or there is Service For Unix from Microsoft for free.)
Nfs is the best netwo
SlimServer (Score:3, Informative)
I use SlimServer alot. It comes with a software version of the SqueezeBox 2 (which supports ssl tunneling), it can also transcode on the fly to a lower bitrate (must install lame). This is a fantastic feature. I rip my music to mps vbr and transcode to a suitable bitrate for my outbound streams. SlimDevices also has a great support list and most questions are answered in short order.
Winamp and Shoutcast (Score:3, Informative)
I have a shoutcast server which is feed by winamp ruiing on a windows box. It plays back my files in random mode, and with the shout plugin for winamp shouts the stream into the shoutcast sever. The shoucast server then broad casts on the internet. Been up and running for 3 years now zero issues. It just works.
I have also added a freeware product called wwwinamp from Halo 8 productions (The original was actually made by the winamp/shoutcast guys as well, but they droped it and the Halo 8 guy picked it up). The wwwinamp allows be to contol the feed over the internet from a browser.
A different perspective (Score:2)