Re: convert wav to ogg twice produces diffrent binary files

Måns Rullgård <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
Dennis Muratshin <[email protected]> writes:

> for example run these commands:
>
> sox.exe src.wav dest1.ogg -G rate 44100
> sox.exe src.wav dest2.ogg -G rate 44100
>
> It will produce two files with small difference between them:
> http://prntscr.com/gxdifd
> Is there any way to avoid it?

It could be due to dither.  Try the -R option to use a fixed seed for
the random number generator.

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.