Ogg (vorbis) channel separation by maxton at 4:46 PM EDT on April 11, 2015
Is there a way to split up a stereo (or multi-channel) ogg vorbis audio file into its component channels without re-encoding?

i.e., are channels stored within the Ogg container as two vorbis streams that can be demuxed?

Google has only led me to lossless time-based splitting of oggs, not channel-based.

edited 9:57 PM EDT April 11, 2015
by robotortoise at 8:55 AM EDT on April 12, 2015
Um...why can't you just use Audacity and save it as a FLAC or something?
by hcs at 3:49 PM EDT on April 12, 2015
A stereo ogg vorbis file contains only one vorbis stream, which cannot be trivially decomposed into channels.
by maxton at 11:24 AM EDT on April 24, 2015
Thanks for the response, hcs. So stereo ogg vorbis is encoded sort of like the joint-stereo mode of MP3.

However, for audio with more than two channels, I found this quote from the vorbis mailing list:
"<i>Currently, the Vorbis encoder use a mix of lossless stereo and point
stereo for 2 channel encoding. If there are more channels, each channel
is coded independently, hence they are uncoupled.</i>"

So, could this mean that multichannel ogg vorbis files can be losslessly decoupled to multiple independent vorbis streams?

edited 4:34 PM EDT April 24, 2015
by hcs at 1:32 PM EDT on April 24, 2015
Again it is not trivial, but it sounds like it would be possible in that case. The Vorbis spec has all the details needed but it is hard to wrap one's head around. I suggest searching for "audio_channels", this necessarily shows up in most places where you're doing something for each channel. With no coupling you get to disregard the mapping coupling (2.c.ii.A) and section 4.3.5.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source