HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: MaiTiano on 2012-05-23 03:13:28

Title: The possibility of streaming FLAC music?
Post by: MaiTiano on 2012-05-23 03:13:28
Currently, I am curious of how to stream the FLAC music to users.

As you guys know, the mp3 file can be streamed to users, which means user can play the mp3 file as receiving it gradually instead of getting the whole mp3 file.

Is there any similar possible way to do the same streaming operation to FLAC file?

Thanks.
Title: The possibility of streaming FLAC music?
Post by: Brazil2 on 2012-05-23 15:23:22
http://www.absoluteradio.co.uk/about/techn...vices/flac.html (http://www.absoluteradio.co.uk/about/technology_services/flac.html)

It seems to be down as I'm typing this message but I've already used it. TBH it was hard to heard the difference with the Vorbis @ 160 kbps stream.
Title: The possibility of streaming FLAC music?
Post by: Clifoo on 2012-05-26 19:24:51
Maybe tell us the purpose, then we consider how sensible is that. Anyway, Icecast (http://www.icecast.org/) should be the solution. But we also need source client for Icecast. I don't really know the one capable of encapsulating and streaming Ogg-FLAC. Those provided by Xiph.org (ices (http://www.icecast.org/ices.php) and ezstream (http://www.icecast.org/ezstream.php)) don't seem to support FLAC.

Ices - streams Ogg Vorbis or MP3
Ezstream - "Supported media formats for streaming are MP3, Ogg Vorbis and Ogg Theora"

That's a pity, because it looks like it suppots FLAC as an input, but then  transcodes to one of the formats above.
Title: The possibility of streaming FLAC music?
Post by: Brazil2 on 2012-05-26 19:56:58
Working online radio:
http://radio.cesnet.cz:8000/cro-d-dur.flac (http://radio.cesnet.cz:8000/cro-d-dur.flac)

Web site:
http://www.rozhlas.cz/d-dur/english (http://www.rozhlas.cz/d-dur/english)

Technical info:
http://www.cesnet.cz/doc/techzpravy/2008/u...-flac-encoding/ (http://www.cesnet.cz/doc/techzpravy/2008/using-flac-encoding/)
Title: The possibility of streaming FLAC music?
Post by: MaiTiano on 2012-05-27 10:09:32
Many ways to stream FLAC. GIYF. (http://www.giyf.com/)

I guess the more interesting question is whether you can do it under a bunch of constraints (on the hardware used on both ends, on your budget, etc.). On both the server and the client side, there are a lot more devices that can handle MP3 than FLAC. So again, the question becomes whether you can go with FLAC under constraints on your setup.


Yes, Google is a good way to learn something. But I do not find too much useful materials for me to understand how to stream a flac file. Maybe, the searching method I used is not so smart.

1. actually there is a well-known music player which can play not only normal mp3/aac lossy music, but also can play ape/flac lossless music files. 
So, playing software in the user side is not the problem. Besides, our first goal is to satisfy the users of us who have installed our pc/mobile music software.
2. budget is not the problem neither. Cause we kind of have the proper CDN network, server sources, etc, there is no much extra money to be spent for streaming flac file specifically.
Finally, what we have to face to is how to make the flac streaming work!

I really hope there is a reference example for me to do this thing. Maybe, some one of you can leave me some hints for doing this. Thanks.
Title: The possibility of streaming FLAC music?
Post by: Brand on 2012-05-27 11:45:10
Well, the above linked radio FLAC stream is working quite well for me in Foobar. Only thing missing is metadata.

Unless you want to stream inside the browser, in which case I guess you might need something Flash based..
Title: The possibility of streaming FLAC music?
Post by: Frank Bicking on 2012-05-27 15:31:27
Off-topic replies split to: Streaming FLAC requires more bandwidth (http://www.hydrogenaudio.org/forums/index.php?showtopic=95185)
Title: The possibility of streaming FLAC music?
Post by: evereux on 2012-05-27 17:58:43
I've streamed FLAC (only a quick test mind) using Subsonic (http://www.subsonic.org/pages/index.jsp) to my iPhone running iSub. There is a web based browser too that I guess should work.