"norm" effect causes intermittent truncation of MP3 output.

Scott Temby <[email protected]> Thu, 17 Jun 2021 23:00:49 +1000
Newsgroups gmane.comp.audio.sox
Message-ID <CAAyoY+s3spoRUHfka7+pTeGF+V_sOKg-1pHnwc0frkXcQGySqw@mail.gmail.com>
Hi,

When using "sox.exe *<source_file>.wav* -C 192.01
*<destination_file>.mp3* norm"
I've found the output is occasionally truncated (shorter duration than the
input, but matches up to that point).

I've tried this on a few systems, and while the fault is intermittent (not
linked to any particular input file or condition), it does repeatedly occur
(a few times in a "batch"). Immediately re-processing the same input files
often yields success, or at least, failures on different files. I've also
tried -C 192.2 to see if that was the issue, and it is not. removing "norm"
solves the problem, and I can reliably encode thousands of files without
truncation.

Hopefully there's an easy fix, if not, at least you are now aware of the
issue.

Regards,
Scott

_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users