RIFX Ogg vorbis file by OrangeC at 1:16 PM EST on November 30, 2009
I have a file here that seems to be a vorbis format but has a rifx header, is this mixed wav/ogg hybrid or something because i cannot get it to decode.
RIFX is just big endian RIFF, but that doesn't help him, as RIFF Vorbis is itself tricky to deal with. FastElbja brought these to my attention a while ago, and while I know in general how to deal with them I haven't been able to go through all the fun to actually implement it.
by pietastesgood at 9:13 PM EST on November 30, 2009
So basically, this Riff Vorbis is an ogg file with a fake Rifx header?
Would there be any other way besides adding on the original full ogg header to make this decode?
The problem is that Ogg doesn't enter into it at all, it's a raw Vorbis stream. Without the Ogg wrapped around it the normal library can't do anything with it. It isn't just a matter of a header, the whole stream would need to be repackaged. There's likely a way to set up the Vorbis decoder to work directly with this file, though I don't know how to go about it. Some day...