[Vorbis] Oggenc producing a different file every time

Joost van Dongen joost at ronimo-games.com
Thu Nov 29 07:29:56 PST 2012


I gave it a try, and that indeed fixes the problem! :) Since you mention
this is "primarily useful for testing", is there any downside to turning
this on, or can I freely do so without worrying it will break something
else?


-
Joost van Dongen
Lead programmer / co-founder
Ronimo Gameswww.ronimo-games.com




On 29 November 2012 16:24, Gregory Maxwell <gmaxwell at gmail.com> wrote:

> On Thu, Nov 29, 2012 at 10:16 AM, Joost van Dongen
> <joost at ronimo-games.com> wrote:
> > We are using the Ogg file format in our game Awesomenauts. Now whenever I
> > rebuild our compressed music files from our uncompressed sources (WAV to
> > OGG), oggenc.exe produces different files. They sound the same, but there
> > are differences in the file. I did a checksum on the hex, and it turns
> out
> > there are small pieces of similar differences throughout the file.
>
> Every ogg logical stream has a serial number. This serial number is
> selected at random so you can usually create chained files through
> straight concatenation.
>
> For oggenc,
>
>        -s, --serial
>               Forces a specific serial number in the output stream.
> This is primarily useful for testing.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis/attachments/20121129/7303f871/attachment.htm 


More information about the Vorbis mailing list