From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3561 216.34.176.0/20 X-Spam-Status: No, score=-2.4 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS, T_DKIM_INVALID shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id F2B9420288 for ; Wed, 19 Jul 2017 21:54:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1dXwvM-0006fW-0y; Wed, 19 Jul 2017 21:54:28 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1dXwvL-0006fR-9n for sox-users@lists.sourceforge.net; Wed, 19 Jul 2017 21:54:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:To:From:Date; bh=Du6yizTKWN4RsKx1/rWcL4acmoIorLxbItruxlkz1UE=; b=IJCcCXZfLVjH8Czio3lafI/hxf5Yk8l2w5t4oykxnW7wmI0QIOveJVF8ZIeLg08qofThdQQF7Q0FbalbFRWU5LGGgevvoCpUWRdevz0MMS/2R9h4Fmoj9QJ+vqtvhwK1929qFXi6Q4bmN0iuTIfTmbXxsPN/8RwUdC4aNbOPROo=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:To:From:Date; bh=Du6yizTKWN4RsKx1/rWcL4acmoIorLxbItruxlkz1UE=; b=FOcn2UEduHpSRIR8wQK0Wppxr7OwaU6TCX/g/oQr5jajqi0Kky5dFnhs6J1AcXHJGT9S4U0fVZXnUINHdmHgNDz+LhUAFGf89cFzupvUEQZ4v6I+1YZJEoEVxyuEQbGjerJGU30wWVGqCqSCsq0a8x90nFpZf+v5HlPIXocUu+g=; Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.49 as permitted sender) client-ip=209.85.214.49; envelope-from=fmiser@gmail.com; helo=mail-it0-f49.google.com; Received: from mail-it0-f49.google.com ([209.85.214.49]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1dXwvK-0003kA-Ft for sox-users@lists.sourceforge.net; Wed, 19 Jul 2017 21:54:27 +0000 Received: by mail-it0-f49.google.com with SMTP id v127so7546689itd.0 for ; Wed, 19 Jul 2017 14:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Du6yizTKWN4RsKx1/rWcL4acmoIorLxbItruxlkz1UE=; b=nl18GdFcpQctdhHW+4J0FFmP/MVdN0isjd1eXRLPGC42zzfCGDCAtXBtyNRxF0Ijss 0bO+JX2/LUYnn6WozBqR6HQbZLhHPW8owP9q6qpAavUAobvUDYvuTJ2xD9lY7wkVVdr3 +0KB6cxHe7P1t+Uf1r8xKXq3PGVNkSiT+dgM4rxgDJFpcl0uvORQtoJxIuV3bwK6fWwp +r4Q5CpKcY8A4kZg0QV2aM17JQv5MenUG/sEl9c1S/Lx7vHedWpI0x50NQqnVL+IBUak rFAeRA1MLGHJfX3C6L2vVg/ZnDfkUYZgwu+vqt8NsaDpxJ+zul/CSqQ8qN+5RpoiMD2p ezag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Du6yizTKWN4RsKx1/rWcL4acmoIorLxbItruxlkz1UE=; b=gEjG6ZKNrjjUgbZ/ZbO4AXWL56WAFXTB+dUQP14tc+x+y37Osc6bH78vzoZeqpiPEu v9ksYvTxltDqq6EALb2KX/awVqnLndE7eG41WewCJOYnQMI1/2B0eSZSTRKfxTDuWXze E1JSZSQBf+R0+rQo53/X4YODn/6y8Oc5qy0iSMs/lTR9Ex8G59FnRyxNZvXbFCPMI7GS AnGmO42EGLHryXdMUhcws7vYDZ45pp2yMczDiwFgShEirXnHFqj8t00R94mfsCKh86hM 7BP5i4bncvYYB2ldNRRx1mPFNeQocYVvTaLWmsU4h4nVvj+3A5OExwf1MGuTELk8dqrH uPUg== X-Gm-Message-State: AIVw110ZyHYFZaK74qetAZ+EbMdTZIxahesA7ZlU5PG8XNVZQidk1scd +GUZbjR2M+GpLLMNBjA= X-Received: by 10.36.33.202 with SMTP id e193mr1398646ita.92.1500501260928; Wed, 19 Jul 2017 14:54:20 -0700 (PDT) Received: from Daniel ([172.56.12.157]) by smtp.gmail.com with ESMTPSA id w6sm431308itb.2.2017.07.19.14.54.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Jul 2017 14:54:20 -0700 (PDT) Date: Wed, 19 Jul 2017 16:54:17 -0500 From: fmiser To: sox-users@lists.sourceforge.net Message-ID: <20170719165417.7edbccee@Daniel> In-Reply-To: References: X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Headers-End: 1dXwvK-0003kA-Ft Subject: Re: Using sox as an alternative to mp3wrap to losslessly concat a dir full of mp3s? 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net > Jonathan wrote: > I wanted to combine all mp3 files into one in each directory > using Ubuntu command line. > > I started using a thing called MP3Wrap > (https://sourceforge.net/projects/mp3wrap/) > except it turns out to horribly break id3 tags, doesn't > recognise vbr properly etc. > > Is there are way of losslessly concatenating mp3 files with sox, > or is it a job for another tool? SoX decodes as the first step - so it will not losslessly concatenate MP3 files. ffmeg can do it, though. Something like: ffmpeg -i "concat:file1.mp3|file2.mp3" -c copy output.mp3 or create a text file with one source file per line like this: file '/path/to/file1' file '/path/to/file2' file '/path/to/file3' and this command: ffmpeg -i list-of-files.text -c copy output.mp3 > (The ability to unwrap the combined mp3 into individual files > isn't a requirement, but it would be a nice thing if possible!) If you document the timing (length) of the source files, mp3split should be able to be used to separate them again. But it is not a built-in feature like it is with mp3wrap. ------------------------------------------------------------------------------ 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