sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Dennis Muratshin <frankinshtein85@gmail.com>
To: "Måns Rullgård" <mans@mansr.com>
Cc: sox-users@lists.sourceforge.net
Subject: Re: convert wav to ogg twice produces diffrent binary files
Date: Mon, 16 Oct 2017 18:54:40 +0500	[thread overview]
Message-ID: <0242d355-c038-18bf-6181-89132027f210@gmail.com> (raw)
In-Reply-To: <yw1xy3ocmegd.fsf@mansr.com>

Thank you! '-R' option helped. Now files are identical:

sox -R src.wav dest1.ogg -G rate 44100
sox -R src.wav dest1.ogg -G rate 44100


15.10.2017 23:52, Måns Rullgård пишет:
> Dennis Muratshin <frankinshtein85@gmail.com> 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.
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

      parent reply	other threads:[~2017-10-16 13:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-14 16:16 convert wav to ogg twice produces diffrent binary files Dennis Muratshin
2017-10-15 18:52 ` Måns Rullgård
2017-10-15 20:44   ` Jeremy Nicoll - ml sox users
2017-10-16 13:54   ` Dennis Muratshin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0242d355-c038-18bf-6181-89132027f210@gmail.com \
    --to=sox-users@lists.sourceforge.net \
    --cc=mans@mansr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).