[flac-dev] Flac multi channel

2017-01-25 Thread Olivier Tristan
Hi Guys, I know that FLAC format is currently limited to 8 channels but I was wondering if this hard limitation of the format or if it can be easily circumvented if the flac library is compiled with other settings and/or the software using it don't mind it Thanks ! -- Olivier Tristan Rese

Re: [flac-dev] Flac multi channel

2017-01-25 Thread Tor-Einar Jarnbjo
Hello Olivier, the limitation is in the file format itself, as the number of channels is encoded in a 3 bit field in the streaminfo metadata block. Tor-Einar Am 25. Januar 2017 16:45:32 MEZ schrieb Olivier Tristan : >Hi Guys, > >I know that FLAC format is currently limited to 8 channels but I

Re: [flac-dev] Flac multi channel

2017-01-25 Thread Olivier Tristan
I see :( That what I would call a good struct size optimisation. Please tell me there was another reason behind this being only 3 instead of 8 or 16 bits, right ? 2017-01-25 18:30 GMT+01:00 Tor-Einar Jarnbjo : > Hello Olivier, > > the limitation is in the file format itself, as the number of cha

Re: [flac-dev] Flac multi channel

2017-01-25 Thread Brian Willoughby
For one thing, only stereo files benefit from additional compression by taking advantage of similar audio in the two channels. FLAC files with more than two channels are not any more efficient than separately-compressed monophonic files. In fact, depending upon the audio content, you're probably

Re: [flac-dev] Flac multi channel

2017-01-26 Thread Martin Leese
Federico Miyara wrote: ... > The file format allows some unused fields for future use, such as the > padding block. It could include a flag to indicate a change in the > format adding one more streaminfo byte which would allow up to 256 > channels (actually, 256 + 8), or it could trigger a new byte

Re: [flac-dev] Flac multi channel

2017-01-27 Thread Olivier Tristan
Thanks everybody for their answer. This is quite unfortunate for me, but hey, that's life. I will probably end up doing some multi mono bundle similar to what Protools did back in the days with its .L .R files ++ Le 26/01/2017 à 18:58, Martin Leese a écrit : Federico Miyara wrote: ... The

Re: [flac-dev] Flac multi channel

2017-01-27 Thread Brian Willoughby
Don't overlook the FLAC in Ogg container solution. That's established as a standard for some time now, as far as I know, and would probably be better than a new, proprietary multi mono bundle. I haven't used it myself, but people have been talking about it for a while, and I believe that some "F

Re: [flac-dev] Flac multi channel

2017-01-28 Thread Olivier Tristan
This could make sense indeed. I suppose this is not a libFlac feature and that I should end up using libogg and or adding myself basic ogg support in order to support that ? Thanks ! 2017-01-28 7:37 GMT+01:00 Brian Willoughby : > Don't overlook the FLAC in Ogg container solution. That's establis

Re: [flac-dev] Flac multi channel

2017-01-28 Thread Erik de Castro Lopo
Olivier Tristan wrote: > This could make sense indeed. > I suppose this is not a libFlac feature and that I should end up using > libogg and or adding myself basic ogg support > in order to support that ? libFLAC supports writing a single FLAC stream to an OGG container. Erik -- ---

Re: [flac-dev] Flac multi channel

2017-01-30 Thread Olivier Tristan
So I suppose this means that I cannot use FLAC to write my 16 ogg-flac channels file and neither read it (I was able to read a simple FLAC with ogg transport layer) ? Thanks ! Le 28/01/2017 à 21:43, Erik de Castro Lopo a écrit : Olivier Tristan wrote: This could make sense indeed. I supp