[vorbis-dev] Concatenating waves

Lourens Veen lourens at rainbowdesert.net
Fri Apr 30 14:37:55 PDT 2004



On Fri 30 April 2004 22:36, Adriano Almeida wrote:
> Hello,
> I want to guarantee that a few wav files when converted to .ogg
> use the same codebook and configuration so that I can will store
> the setup packets 1 time, saving the space used for each file's
> setup packets and, when decoding(playing) the files, sparing the
> time wasted setting things up.
>
> For that I realize that if I concatenate all .wav in one big .wav
> and then transform it to .ogg, they will share the same codebooks
> and configs. (right??)

Sounds right, there's only one header so...

> So, my big question is?? Should I  put silence between them or a
> big noise (fill the wav from peek to peek)?? each one will be
> easier to identify when I read the big ogg and try to separate
> only the audio packets that correspond to the same old wav files?

Why not just store the offsets somewhere (in a comment for example)?

Lourens

-- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list