All of the current FLAC streaming implementations (such as Edcast with Icecast) seem to use Ogg as a container for FLAC while streaming.
- What is the reason for this?
- What are the drawbacks of not using Ogg, and streaming the “native” FLAC stream instead?
I’ve done some tests streaming FLAC over HTTP, and it seems to work just fine in VLC. FLAC seems to be built in such a way that frames can stand independently, making it robust against stream corruption and/or dropped frames. Given this, I don’t quite understand why wrapping FLAC in Ogg is necessary.
The FLAC-to-Ogg mapping page has a fairly thorough explanation of why it’s desirable to use Ogg encapsulation in many cases instead of streaming native FLAC:
See the complete page for more information, but the upshot is that while usable for streaming, native FLAC isn’t well-suited to more complex setups and the cost of Ogg encapsulation is quite low. If native FLAC works fine for your specific needs, you can go ahead and use it, but Ogg will ultimately give you more flexibility.