[Vorbis] oggdec and ogg123 playing audio from an Ogg Theora+Vorbis file?

Ralph Giles giles at xiph.org
Fri Sep 2 17:49:54 PDT 2005


On Fri, Sep 02, 2005 at 06:50:44PM -0500, J.B. Nicholson-Owens wrote:

> Are oggdec and ogg123 supposed to be able to extract or play audio from an 
> Ogg Theora+Vorbis file?

Unfortunately not. Both of these utilites use the vorbisfile convenience 
library, which has never been updated to handle multiplexed streams. 
Patches very welcome.

> If the programs are not supposed to do this job now, are any improvements 
> planned so they can do this job in the future?

Updating vorbisfile to (at least) just take the first vorbis substream 
in every multiplexed chain segment would be the ideal fix. It's a small 
matter of programming, but not trivial; the way vorbisfile tracks the 
file segments needs to be generalized.

If you just want something that works now, you can use the oggzsplit 
utility from annodex.net to break out the audio stream you're interested 
in and pipe that to ogg123 or oggenc.

HTH
 -r


More information about the Vorbis mailing list