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.4 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_IMAGE_ONLY_32,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,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 ABFC31F463 for ; Wed, 11 Dec 2019 14:27:10 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1if2x8-00080Y-51; Wed, 11 Dec 2019 14:26:58 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1if2x6-00080E-R0 for sox-users@lists.sourceforge.net; Wed, 11 Dec 2019 14:26:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Cdb1ib44kPS5as2lAfeLezZIIyIrLrhjpm5FddSHJ6w=; b=P0mXtkBz/10kn6TD0QmAyzrkaS NsUml3Jukf9V+T3EQmWJzk4H3XbblejQDJbHWQcMSbG1WJuzutLDRD7UmZ5619omN4IINm0v0h0Yh JhCiTlVu6ioWfnuJLeZj6XFgpwMxiay4RsGkg4oe8ScF8DWh/tFSo4arVAnfarzVr5D4=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version:Sender:Reply-To :Cc:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=Cdb1ib44kPS5as2lAfeLezZIIyIrLrhjpm5FddSHJ6w=; b=E 10SUc5+ktBKibaEMwvQyDR61LnQjofwGkdBFwplO/RkTLWkWLW0vSqwgnO+pLzssXGjnIWumMDw23 b4vsF5+mKfSznS9vp4+eLQXNDJzIYt6GSBW1hqoSKhoEbqojjHd3S5f56zjqK27V8cwsbnWETVuzF atbKi8peURAr2mhI=; Received: from mail-qk1-f178.google.com ([209.85.222.178]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.2) id 1if2x4-001AVQ-It for sox-users@lists.sourceforge.net; Wed, 11 Dec 2019 14:26:56 +0000 Received: by mail-qk1-f178.google.com with SMTP id m188so19793730qkc.4 for ; Wed, 11 Dec 2019 06:26:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Cdb1ib44kPS5as2lAfeLezZIIyIrLrhjpm5FddSHJ6w=; b=hPDUkbtdZA4aH4GxifUxSKRKnUpS2hYWhAxLB11vZH8h/po4/Q4cnVZrxYZNI8RI6T zs4Ln12NKMMzzV3TW/ar8/6PexarEFz9jI3yW8DIdHCRwc0dX7bGNJQRyrAsuB9qcBl0 LfeKRttNykpnHn/AivkFH5PvYutCmwhSXgTvtpEZvqcq7gETIAMd7KtFDTEsBvfH/WwM urtxu/SliUItMmiP45UT4eeh7gbBXD0pw7iuVd8UADZKtc2q/cW+fZUCiN8eXES/Ty8/ balkaMoCI1orr09LavRTC5zMCqso1WGQLEf0LppdzlqluBi7GCOHARM20RSEUl7Sumo+ dACA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Cdb1ib44kPS5as2lAfeLezZIIyIrLrhjpm5FddSHJ6w=; b=lnHaA/Oie+KTG3w4TcdRtrraLKHyqW4N8FX/WS6x05DJ77Q2OAfz7+frQpfimPUzHp 9c9VmVkt7xrjPSxLYr0oU/PKsW9lFlmKMfM4wOGAhhwfbV4e067urxEtp2DDucGLsc+k EffnEuV5M7Ei+i9WtOdVRE1Wr4xwvelRiF4cNE1VaL1ptv7ruExXKPEqcpk6we+eaJ9u aw3X7iAlC64mxTkMkYwqDmJtWBL7d1CFBy0cItxNbW9UgsrgKuCFQD8kzqcQaPT8HGgh zShXLntRZlb+RjAUh0eEnqVB1d3PovpdlJdEzf66Kd715tPqmi2LeTPErgEok+FJ9ZYG 1NyQ== X-Gm-Message-State: APjAAAX96ExTv4TNjWQmhhgvIZcsQDwPCljtb+l1iuvXkC8Ppe1R7X85 7BdRv4hl+0Z8vXQMv4FQPA6LDALZV8yhrKM8omcql3mGOg== X-Google-Smtp-Source: APXvYqxvSUk/alnfcGk1uZSh0qKI3jD270EpH1/aOH6HUJdG6MlaQrYjx1kvnl1GXwI7C8Pac/7KnxwjcG58RBMHdcY= X-Received: by 2002:a37:bd81:: with SMTP id n123mr3094648qkf.335.1576074408149; Wed, 11 Dec 2019 06:26:48 -0800 (PST) MIME-Version: 1.0 From: Martin Ratinaud Date: Wed, 11 Dec 2019 18:26:21 +0400 Message-ID: To: sox-users@lists.sourceforge.net X-Headers-End: 1if2x4-001AVQ-It Subject: Wav to Mp3 leads to an mp3 file that has a longer duration 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="===============4764958208951669872==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============4764958208951669872== Content-Type: multipart/alternative; boundary="0000000000003cc96305996e6b0b" --0000000000003cc96305996e6b0b Content-Type: text/plain; charset="UTF-8" Hi all, I'm converting a file called vocals.wav to vocals.mp3 vocals.wav For this I'm using this command ``` sox vocals.wav vocals.mp3 ``` and here is the result of the corresponding files - original file ``` soxi /Users/martin/Downloads/split-test/vocals.wav Input File : '/Users/martin/Downloads/split-test/vocals.wav' Channels : 2 Sample Rate : 44100 Precision : 16-bit Duration : 00:03:00.00 = 7938000 samples = 13500 CDDA sectors File Size : 31.8M Bit Rate : 1.41M Sample Encoding: 16-bit Signed Integer PCM ``` - converted file ``` soxi /Users/martin/Downloads/split-test/vocals.mp3 Input File : '/Users/martin/Downloads/split-test/vocals.mp3' Channels : 2 Sample Rate : 44100 Precision : 16-bit Duration : 00:03:00.04 = 7939544 samples = 13502.6 CDDA sectors File Size : 2.88M Bit Rate : 128k Sample Encoding: MPEG audio (layer I, II or III) ``` You can see that the duration is not the same which is weird and the number of samples also changed. In fact, 1544 samples have been added to the beginning of the file If I try to launch `sox -V vocals.mp3 vocals-trimmed.mp3 trim 1544s` it does not work Can you please help me Thanks ----------------------------------------------------------------------- *Martin RATINAUD* ----------------------------------------------------------------------- --0000000000003cc96305996e6b0b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

I'm converting a= file called vocals.wav to vocals.mp3
For this I'm using this command

```
sox vocals.wav vocals.mp3
```
and here is the result of the corresponding files

- original file
```
soxi /Users/martin/= Downloads/split-test/vocals.wav

Input File =C2=A0 =C2=A0 : '/Use= rs/martin/Downloads/split-test/vocals.wav'
Channels =C2=A0 =C2=A0 = =C2=A0 : 2
Sample Rate =C2=A0 =C2=A0: 44100
Precision =C2=A0 =C2=A0 = =C2=A0: 16-bit
Duration =C2=A0 =C2=A0 =C2=A0 : 00:03:00.00 =3D 7938000 s= amples =3D 13500 CDDA sectors
File Size =C2=A0 =C2=A0 =C2=A0: 31.8M
B= it Rate =C2=A0 =C2=A0 =C2=A0 : 1.41M
Sample Encoding: 16-bit Signed Inte= ger PCM
```

- converted file
```
soxi /Users/martin/Downloads/split-test/vocals.mp3
=
Input File =C2=A0 =C2=A0 : '/Users/martin/Downloads/split-test/voca= ls.mp3'
Channels =C2=A0 =C2=A0 =C2=A0 : 2
Sample Rate =C2=A0 =C2= =A0: 44100
Precision =C2=A0 =C2=A0 =C2=A0: 16-bit
Duration =C2=A0 =C2= =A0 =C2=A0 : 00:03:00.04 =3D 7939544 samples =3D 13502.6 CDDA sectors
Fi= le Size =C2=A0 =C2=A0 =C2=A0: 2.88M
Bit Rate =C2=A0 =C2=A0 =C2=A0 : 128k=
Sample Encoding: MPEG audio (layer I, II or III)
```

You can see that the duration is not the same which is= weird and the number of samples also changed.
In fact, 1544 samp= les have been added to the beginning of the file

I= f I try to launch `sox -V vocals.mp3 vocals-trimmed.mp3 trim 1544s` it does= not work

Can you please help me

Thanks



-----------------------------------= ------------------------------------
Martin RATINAUD
--------------= ---------------------------------------------------------
--0000000000003cc96305996e6b0b-- --===============4764958208951669872== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============4764958208951669872== 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 --===============4764958208951669872==--