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=-3.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=ham 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 6EB2320288 for ; Wed, 19 Jul 2017 12:27:51 +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 1dXo4q-0002uv-PI; Wed, 19 Jul 2017 12:27:40 +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 1dXo4p-0002uU-Fg for sox-users@lists.sourceforge.net; Wed, 19 Jul 2017 12:27:39 +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:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=gbigqKmnfMYB5cSIb87u/Lsj/64miWSAQlzTfCtbkYo=; b=Igyp+2Lkp2LS608/f7dmZXWRRNyLrnVodGY8xrLas5I8S/GU50t8RR8wVGKNyRpO70Aq/TXbkBZ7/En/7g7EADczpgWG/G+OrWjVF1nxFIDRYbjaL0TmUxMD3pWO7oYfqw2Jmrj+k0D+wy2nzWvR4RE6YnAvXmOs8gSBhnaIy40=; 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:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=gbigqKmnfMYB5cSIb87u/Lsj/64miWSAQlzTfCtbkYo=; b=mJ7BQpGAJTXgVQaU8mKNQ5RjbaCH2dvaqxyRtU82atDjHY+zzfjgIeExUp2dFJZWFdg2x0tPAK0sAWJNKKJzrmG5viFm7utM7SLr0hyEko5rQCMMz1Vru6q/NNa2Xz6N7C7bWYhvyuNjVr+fmJYCD0JoXWTJ+P3YoIp6GxiCF34=; X-ACL-Warn: Received: from unicorn.mansr.com ([81.2.72.234]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1dXo4o-0002Ww-4e for sox-users@lists.sourceforge.net; Wed, 19 Jul 2017 12:27:39 +0000 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 13A48163E9; Wed, 19 Jul 2017 13:27:31 +0100 (BST) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Jeremy Nicoll - ml sox users References: <16ee393f55a55bcb52d284c726d191e3@wingsandbeaks.org.uk> Date: Wed, 19 Jul 2017 13:27:31 +0100 In-Reply-To: <16ee393f55a55bcb52d284c726d191e3@wingsandbeaks.org.uk> (Jeremy Nicoll's message of "Wed, 19 Jul 2017 12:48:10 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 X-Headers-End: 1dXo4o-0002Ww-4e 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 Cc: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: sox-users-bounces@lists.sourceforge.net Jeremy Nicoll - ml sox users writes: > On 2017-07-18 21:52, Jonathan H 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/) >> >> It was as simple as >> >> mp3wrap -v "wrapped.mp3" ./*.mp3 >> >> 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? >> >> I know about "--combine concatenate", but that seems to re-compress >> the files. >> >> (The ability to unwrap the combined mp3 into individual files isn't a >> requirement, but it would be a nice thing if possible!) > > This last bit worries me. I don't see how that would be possible > unless some sort of marker was placed between the n'th and (n+1)'th > file. But then, it'd cause some sort of horrible sound when you > played the file... if indeed you ever intend to play such a file... It could be done by wrapping all the files in an MP4 container with a suitable edit list. > If you just want the binary content merged into one long file, surely > a normal file copy/append would do? Or you could zip the set of files > into one file. MP3 streams can be simply concatenated, but first you must remove any ID3 tags and VBR indexes (Xing header). I suppose that's what mp3wrap does. -- = M=E5ns Rullg=E5rd ---------------------------------------------------------------------------= --- 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