18 February, 2008, 05:26:13 PM

I was having trouble with my jaudiotagger OggVorbis library code because it was failing to write changes to an OggVorbis file. The problem being that the original file contains additional (Audio?) packets on the same Ogg Page as the Setup Header, (I hadn't encountered this before , all my test files start a new page after the Setup header packet) - is it valid.

Below is a summary of the first three OggPages, as you can see the packets that follow immediately after the Setupheader are only one byte long, but the last packet is 255 to indicate it goes on to the next page, is this some attempt at padding within Ogg to allow the Vorbis Comment to expand, or a way to introduce a delay in the start of the music, real audio packet wouldnt be 1 byte long would it ?

Thanks anyone for any help you can give me with this, Next Ogg Page Header:isValid:true:type:2:oggPageHeaderLength:28:length:30:seqNo:0:packetIncomplete:false:serNum:1500NextPkt(start:0:length:30), (CODEC INFO)