HydrogenAudio

Lossy Audio Compression => Ogg Vorbis => Ogg Vorbis - Tech => Topic started by: alexnoe on 2004-05-12 07:07:57

Title: Vorbis - ACM not creating init packets
Post by: alexnoe on 2004-05-12 07:07:57
When trying to implement remuxing
ogg-in-avi -> vorbis-in-mkv or just ogg-in-avi -> real OGG/Vorbis file
I found out that Vorbis-ACM doesn't create any of the 3 initialization packets, meaning that the corresponding RAW AVI stream is not a valid OGG/Vorbis file. So where am I supposed to get them from?
Title: Vorbis - ACM not creating init packets
Post by: robUx4 on 2004-05-12 09:18:07
Maybe you should ask Xiph about it. If the software is officially supported by them they may correct it. Otherwise try to find the author of Vorbis ACM... BTW for any ACM codec you can have private data in the WAVEFORMAT structure (or something like that) it's not located there ?
Title: Vorbis - ACM not creating init packets
Post by: VolMax on 2004-05-12 10:06:04
Because decoding is possible without this packets, it should be posible to rebuild them directly or from the rest of them. AFAIK the first packet contains Vorbis tag (with codec id).
Title: Vorbis - ACM not creating init packets
Post by: QuantumKnot on 2004-05-12 11:49:43
Anything encoded using Vorbis ACM is evil lol
Title: Vorbis - ACM not creating init packets
Post by: alexnoe on 2004-05-12 12:25:01
There are 8 bytes of private data in WAVEFORMATEX in those files :-(
Quote
Anything encoded using Vorbis ACM is evil lol
That's why I want to support remuxing <evil> -> <file>