|
From: Jeremy N. - ml s. u. <jn....@wi...> - 2017-10-15 20:44:27
|
On 2017-10-15 19:52, Måns Rullgård wrote: > Dennis Muratshin <fra...@gm...> 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. It's hard to tell from the screenshot how big the files are... but they look as if they might be tiny. The line 1 difference might I guess be a date/time stamp, if the file format allows that. Then ... do we have just one or two 'frames' (if that's an appropriate term) of audio? Might they also have a date/time stamp in them? I'd have thought a dither difference would affect many bytes in the audio stream, but then again maybe that depends on what the audio in the file actually is - silence, test tones, real music? -- Jeremy Nicoll - my opinions are my own |