[Vorbis-dev] Re: ogg ACM codec

Paul Bryson paul at msn.com
Wed Jul 20 09:28:01 PDT 2005


"Didier Dambrin" wrote...
> btw is there a place explaining in details why an ogg acm codec can't be 
> done?

I *think* that ACM might be expecting a constant packet size, so you would 
have to pad almost every packet.

ACM does expect each packet to cover the same amount of time, and Vorbis 
packets can vary their length to compensate for complex pieces of audio.

If you made your encoder only output single length packets and you padded 
every packet to the same size, then you could indeed have an ACM compatible 
encoder, but it would be far less efficient and thus probably pretty 
pointless.  The important question here is, do you really need to be using 
ACM?


Paul Bryson 





More information about the Vorbis-dev mailing list