sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: "Måns Rullgård" <mans@mansr.com>
To: Dennis Muratshin <frankinshtein85@gmail.com>
Cc: sox-users@lists.sourceforge.net
Subject: Re: convert wav to ogg twice produces diffrent binary files
Date: Sun, 15 Oct 2017 19:52:02 +0100	[thread overview]
Message-ID: <yw1xy3ocmegd.fsf@mansr.com> (raw)
In-Reply-To: <8d5716b7-dcfa-07ef-3e06-ece12859fd7c@gmail.com> (Dennis Muratshin's message of "Sat, 14 Oct 2017 21:16:10 +0500")

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.

-- 
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
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

  reply	other threads:[~2017-10-15 19:08 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 [this message]
2017-10-15 20:44   ` Jeremy Nicoll - ml sox users
2017-10-16 13:54   ` Dennis Muratshin

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=yw1xy3ocmegd.fsf@mansr.com \
    --to=sox-users@lists.sourceforge.net \
    --cc=frankinshtein85@gmail.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).