From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 452C01F5AE for ; Thu, 17 Jun 2021 17:00:46 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1ltvNV-0007j2-9b; Thu, 17 Jun 2021 17:00:29 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltvNL-0007ii-Pw for sox-users@lists.sourceforge.net; Thu, 17 Jun 2021 17:00:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-ID:To:Date:From:Subject: Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To: Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZRgBw2g6sBOirBuNdqqbhgNbFhkFhEmaOuJZxF7OOGU=; b=BZg0TSAsBET9i5j66YwfKXy3ah SmPnPmnZJUZLVhQrBWQmSSzo5c6M7edr7FbVXc0jFqWuxrP8Z0Qmx+D08/mYIDwMQbJ56qgd+2XgS XrRHnZozmZTOgBPcYBJbsEqe7NA7FtMqwUVEloodRfVlbesAeML4M/Y71PFhgBkVaOP4=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-ID:To:Date:From:Subject:Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ZRgBw2g6sBOirBuNdqqbhgNbFhkFhEmaOuJZxF7OOGU=; b=N3vYFqMs6VO9gxuBICourJ85Qf o94+RQOJYPFAAA+RYWUsb1SITTDl8/JKEvhFc0ARso7C5pUMxU3A03H0NI3JLIWJDdludSZYd0r8H rBRbXlIJ6PlRaEOmQjSwidwMgrYEcXwsXRXQ3t4eti8uRJ40DNKtXWfCoj2jVnezIhhI=; Received: from mail-pf1-f172.google.com ([209.85.210.172]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3) id 1ltvNI-00E0Dy-Jt for sox-users@lists.sourceforge.net; Thu, 17 Jun 2021 17:00:22 +0000 Received: by mail-pf1-f172.google.com with SMTP id p13so5562171pfw.0 for ; Thu, 17 Jun 2021 10:00:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=damsmart.com.au; s=google; h=in-reply-to:references:thread-topic:user-agent:mime-version :content-transfer-encoding:subject:from:date:to:message-id; bh=ZRgBw2g6sBOirBuNdqqbhgNbFhkFhEmaOuJZxF7OOGU=; b=EHp6uKdEmviq8ArP0NafzmdQHDVji1YaaLPDdAlc+6hbJi6FqxX1jJpUJ0R1mj+IlF qNMUfyQEl1s1J2fYJN2mMceymOij9dxK8T+42RwatWe43W1qb5wb1MXhq1cc9DySGCU2 us3ru2XF1dgp9FgeiuBoV9aFGLWfS8pIR0f9pjN1LpKX7l+LdGCaci630811Q96YqyWp QWAM7UNp1l8W1f6tsZDIb1mE/GWVhVCIZ8Jhb3oBz0l1RlXkqiUe3PcRxqYdqxpUkghq 8ybuYak//6S4w8iGraaeFz2La5Wc/xuvwBmuoFjfLsNmRSO21wg2K7wT3doh/9K+pfyO XcrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:in-reply-to:references:thread-topic:user-agent :mime-version:content-transfer-encoding:subject:from:date:to :message-id; bh=ZRgBw2g6sBOirBuNdqqbhgNbFhkFhEmaOuJZxF7OOGU=; b=oReqGgJkEkU+KoMLPxF5dAgdysbPQDXNF2zrX1H5emtQaOP31yK8T1ALgir/xmQ10b geM760gDiAgu+qPg6UPGwuVPSaV3/IYXt28RLRlAVcsSSk43OdUq247lhcrYx11fc6Gy enJ25IeXrZTPbQpZPZ32mbb/9DMOyT75cWLnwFGXP0f/uDp14ZcSDT+p9zx5upaL8sTk fHlWJhWhdoZa/9GxlFvMbP9r3sxSB2SeHeost3uAi7pD0/KvSadNli7NFQsj868WPpJu tKfB8kdJTGV0Sl9jCbtIJ7uzo62xq8UCMpjVOx/aZioSAO2h4OWlLR4lrM8QHFluMbHE cbdQ== X-Gm-Message-State: AOAM533EvKdomgAdsR/ZfLHXcg5qIO0cHc5mJN/acLrT11jJdRDQyEAh XPsffUdeSNEpxxyy3yEtZ/Fn6Yi1E5FXjXA+1XROUvHM3K1lApdUwdxQuPArI2jvQXMi3cgioUD BQhG1Lf+UMkwQ2Fy2mH4cJNglX995d+VB7Lse2SulwlgX2Kl7baXuOJ8YncAFO/qNsuChcyE/l8 FVRK4yZ38xNw== X-Google-Smtp-Source: ABdhPJzA5spToGI464MyUP0asBkjUtAKxXqWNiiQFE5u/hb2SrhrzCiPTXXt5QqWgHCtYf1ulDdDRg== X-Received: by 2002:a05:6a00:234c:b029:2ff:13b8:e11c with SMTP id j12-20020a056a00234cb02902ff13b8e11cmr631521pfj.47.1623949210760; Thu, 17 Jun 2021 10:00:10 -0700 (PDT) Received: from [10.10.77.48] (ppp118-208-180-40.cbr-trn-nor-bras39.tpg.internode.on.net. [118.208.180.40]) by smtp.gmail.com with ESMTPSA id q13sm5697817pff.13.2021.06.17.10.00.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jun 2021 10:00:10 -0700 (PDT) In-Reply-To: <20210617154633.tbqvi26ogztfdt7d@fastmail.com> References: <20210617154633.tbqvi26ogztfdt7d@fastmail.com> X-Referenced-Uid: 6349 Thread-Topic: [EXTERNAL] Re: [SoX-users] "norm" effect causes intermittent truncation of MP3 output. User-Agent: Android X-Is-Generated-Message-Id: true MIME-Version: 1.0 X-Local-Message-Id: <4820dfc0-8d9f-43fb-81eb-d0ee81c651da@damsmart.com.au> From: Scott Temby Date: Fri, 18 Jun 2021 03:00:06 +1000 To: sox-users@lists.sourceforge.net Message-ID: <4820dfc0-8d9f-43fb-81eb-d0ee81c651da@damsmart.com.au> X-Headers-End: 1ltvNI-00E0Dy-Jt Subject: Re: [EXTERNAL] Re: "norm" effect causes intermittent truncation of MP3 output. X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: multipart/mixed; boundary="===============3537849830876800319==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============3537849830876800319== Content-Type: multipart/alternative; boundary="----AI8TY3OMZ8X0Z3U1PNW4TESKJZJUU6" Content-Transfer-Encoding: 7bit ------AI8TY3OMZ8X0Z3U1PNW4TESKJZJUU6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Thanks Peter, I'm aware of the frame/chunk granularity at the end, I'm tal= king about serious truncation, e=2Eg=2E 30min input wav, with a 4 minute MP= 3=2E Without the "norm" argument, everything reliably processes as expected= =2E Cheers, Scott On 18 Jun=2E 2021, 1:54 am, at 1:54 am, "Peter P=2E" <= peterparker@fastmail=2Ecom> wrote: >Hi Scott, > >encountered a similar thin= g and was told that the file length of mp3 >files has a lower resolution as= it stores data in chunks=2E If your =2Ewav >is a bit longer than the mp3 b= ut not long enough to fill up another >chunk at the end this might get disc= arded=2E Don't quote me on this, just >remembering something I asked here y= ears ago=2E=2E=2E > >* Scott Temby [2021-06-17= 16:03]: >> Hi, >> >> When using "sox=2Eexe *=2Ewav* -C 192= =2E01 >> *=2Emp3* norm" >> I've found the output is occas= ionally truncated (shorter duration >than the >> input, but matches up to t= hat point)=2E >> >> 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")=2E Immediately re-= processing the same input >files >> often yields success, or at least, fail= ures on different files=2E I've >also >> tried -C 192=2E2 to see if that wa= s the issue, and it is not=2E removing >"norm" >> solves the problem, and I= can reliably encode thousands of files >without >> truncation=2E >> >> Ho= pefully there's an easy fix, if not, at least you are now aware of >the >> = issue=2E >> >> Regards, >> Scott > > >> __________________________________= _____________ >> Sox-users mailing list >> Sox-users@lists=2Esourceforge=2E= net >> https://lists=2Esourceforge=2Enet/lists/listinfo/sox-users > > > >__= _____________________________________________ >Sox-users mailing list >Sox-= users@lists=2Esourceforge=2Enet >https://lists=2Esourceforge=2Enet/lists/li= stinfo/sox-users ------AI8TY3OMZ8X0Z3U1PNW4TESKJZJUU6 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Thanks Peter= ,

I'm aware of the frame/chunk granularity = at the end, I'm talking about serious truncation, e=2Eg=2E 30min input wav,= with a 4 minute MP3=2E Without the "norm" argument, everything reliably pr= ocesses as expected=2E

Cheers,
Scott
On 18 Jun=2E 20= 21, at 1:54 am, "Peter P=2E" <peterparker@fastmail=2Ecom> wrote:
Hi Sco=
tt,

encountered a similar thing and was told that the file length of= mp3
files has a lower resolution as it stores data in chunks=2E If your= =2Ewav
is a bit longer than the mp3 but not long enough to fill up anot= her
chunk at the end this might get discarded=2E Don't quote me on this,= just
remembering something I asked here years ago=2E=2E=2E

* Sco= tt Temby <scottt@damsmart=2Ecom=2Eau> [2021-06-17 16:03]:
Hi,

When using "sox=2Eex= e *<source_file>=2Ewav* -C 192=2E01
*<destination_file>=2Em= p3* norm"
I've found the output is occasionally truncated (shorter dura= tion than the
input, but matches up to that point)=2E

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

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

Regards,<= br> Scott




Sox-users mailing list
Sox-users@lists=2Esourceforge= =2Enet
https://lists=2Esourceforge=2Enet/lists/listinfo/sox-users





Sox-users mailing list
Sox-users@lists=2E= sourceforge=2Enet
https://lists=2Esourceforge=2Enet/lists/listinfo/sox-users=
------AI8TY3OMZ8X0Z3U1PNW4TESKJZJUU6-- --===============3537849830876800319== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============3537849830876800319== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============3537849830876800319==--