<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to losslessly concatenate / merge MP3 files</title>
	<atom:link href="http://lyncd.com/2009/02/how-to-merge-mp3-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 14:19:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kevin</title>
		<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/comment-page-1/#comment-3411</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sun, 17 Apr 2011 04:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://lyncd.com/?p=92#comment-3411</guid>
		<description>Thanks! This was VERY helpful for a series of large merges. Used the technique here along in a nice bash script.</description>
		<content:encoded><![CDATA[<p>Thanks! This was VERY helpful for a series of large merges. Used the technique here along in a nice bash script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sticks</title>
		<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/comment-page-1/#comment-3316</link>
		<dc:creator>sticks</dc:creator>
		<pubDate>Wed, 16 Mar 2011 21:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://lyncd.com/?p=92#comment-3316</guid>
		<description>Thanks a lot for the contribution. I&#039;ll be sure to check it out if/when I have VBR files I need to combine.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the contribution. I&#8217;ll be sure to check it out if/when I have VBR files I need to combine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: human mathematics</title>
		<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/comment-page-1/#comment-3258</link>
		<dc:creator>human mathematics</dc:creator>
		<pubDate>Sun, 06 Feb 2011 05:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://lyncd.com/?p=92#comment-3258</guid>
		<description>Thanks very much for posting. One small change for Ubuntu Linux 10.04 ,I use id3v2 instead of id3cp -- there&#039;s no id3lib from the apt-get as far as I can tell. And I already had id3v2.

With this option it&#039;s not automatic so there is surely something better for those who try harder.</description>
		<content:encoded><![CDATA[<p>Thanks very much for posting. One small change for Ubuntu Linux 10.04 ,I use id3v2 instead of id3cp &#8212; there&#8217;s no id3lib from the apt-get as far as I can tell. And I already had id3v2.</p>
<p>With this option it&#8217;s not automatic so there is surely something better for those who try harder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: svil</title>
		<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/comment-page-1/#comment-3257</link>
		<dc:creator>svil</dc:creator>
		<pubDate>Sun, 30 Jan 2011 13:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://lyncd.com/?p=92#comment-3257</guid>
		<description>after some looooong trial and error, found the following way to join VBR mp3s into one with _correct_ _basic_ headers/size, understood same by multiple readers (mp3info, eyeD3, mad):
$ cat infiles..* &gt; cat.joined.mp3  #join files
$ cutmp3 -a 0:0 -b 99999:0 -i cat.joined.mp3 -O cut3.cat.joined.mp3  #clean out stuff
$ vbrfix cut3.cat.joined.mp3 -O vbr.cut3.cat.joined.mp3  #fix

u may prepend a step to remove any id3*tags, say by $ id3v2 -D infiles.. , 
and append a step to put correct id3 tags on final result

well, it depends on input materials - YMMV... Reencoding is always a final option.

here all utils i tried:

utils for info/reading: 
 eyeD3 files..
 mp3info -x -r a infiles..

utils for joining (first 3 work ~equivalent): 
 cat infiles.. &gt; result
 mpgtx -j -o result infiles.. 
 qmp3join -o result infiles..  (from quelcom package)  
 mp3wrap result infiles.. 

utils for cleanup/fix: 
 cutmp3  #actualy an editor but with a nifty feature to skip crap)
 id3v2 -D    #remove all id3* tags
 ffmpeg -f mp3 -i infile -acodec copy outfile    #copies too much through, put extra id3v2.4 hdr
 mp3val -f   #sometimes enough
 vbrfix
these two were not of much use:
 mp3check -B -e
 checkmp3

vbrfix is from  http://home.gna.org/vbrfix/ https://gna.org/svn/?group=vbrfix - compiled from source, may need fix of the input-options-checking. All else is ubuntu packages.

have fun</description>
		<content:encoded><![CDATA[<p>after some looooong trial and error, found the following way to join VBR mp3s into one with _correct_ _basic_ headers/size, understood same by multiple readers (mp3info, eyeD3, mad):<br />
$ cat infiles..* &gt; cat.joined.mp3  #join files<br />
$ cutmp3 -a 0:0 -b 99999:0 -i cat.joined.mp3 -O cut3.cat.joined.mp3  #clean out stuff<br />
$ vbrfix cut3.cat.joined.mp3 -O vbr.cut3.cat.joined.mp3  #fix</p>
<p>u may prepend a step to remove any id3*tags, say by $ id3v2 -D infiles.. ,<br />
and append a step to put correct id3 tags on final result</p>
<p>well, it depends on input materials &#8211; YMMV&#8230; Reencoding is always a final option.</p>
<p>here all utils i tried:</p>
<p>utils for info/reading:<br />
 eyeD3 files..<br />
 mp3info -x -r a infiles..</p>
<p>utils for joining (first 3 work ~equivalent):<br />
 cat infiles.. &gt; result<br />
 mpgtx -j -o result infiles..<br />
 qmp3join -o result infiles..  (from quelcom package)<br />
 mp3wrap result infiles.. </p>
<p>utils for cleanup/fix:<br />
 cutmp3  #actualy an editor but with a nifty feature to skip crap)<br />
 id3v2 -D    #remove all id3* tags<br />
 ffmpeg -f mp3 -i infile -acodec copy outfile    #copies too much through, put extra id3v2.4 hdr<br />
 mp3val -f   #sometimes enough<br />
 vbrfix<br />
these two were not of much use:<br />
 mp3check -B -e<br />
 checkmp3</p>
<p>vbrfix is from  <a href="http://home.gna.org/vbrfix/" rel="nofollow">http://home.gna.org/vbrfix/</a> <a href="https://gna.org/svn/?group=vbrfix" rel="nofollow">https://gna.org/svn/?group=vbrfix</a> &#8211; compiled from source, may need fix of the input-options-checking. All else is ubuntu packages.</p>
<p>have fun</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: panzi</title>
		<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/comment-page-1/#comment-3236</link>
		<dc:creator>panzi</dc:creator>
		<pubDate>Wed, 29 Dec 2010 04:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://lyncd.com/?p=92#comment-3236</guid>
		<description>The &quot;cat file list... &#124; ffmpeg -f mp3 -i - -acodec copy outfile.mp3&quot; version does not work for me but mp3wrap works ok.</description>
		<content:encoded><![CDATA[<p>The &#8220;cat file list&#8230; | ffmpeg -f mp3 -i &#8211; -acodec copy outfile.mp3&#8243; version does not work for me but mp3wrap works ok.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lindylex</title>
		<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/comment-page-1/#comment-2273</link>
		<dc:creator>Lindylex</dc:creator>
		<pubDate>Sun, 09 May 2010 07:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://lyncd.com/?p=92#comment-2273</guid>
		<description>&quot;There is another way, without going through mp3wrap.
cat file list... &#124; ffmpeg -f mp3 -i - -acodec copy outfile.mp3
And then the id3 copy command.&quot;

Shelby, this works perfectly no need to install unnecessary things, Thanks Lex</description>
		<content:encoded><![CDATA[<p>&#8220;There is another way, without going through mp3wrap.<br />
cat file list&#8230; | ffmpeg -f mp3 -i &#8211; -acodec copy outfile.mp3<br />
And then the id3 copy command.&#8221;</p>
<p>Shelby, this works perfectly no need to install unnecessary things, Thanks Lex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nirpius</title>
		<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/comment-page-1/#comment-1802</link>
		<dc:creator>nirpius</dc:creator>
		<pubDate>Tue, 23 Feb 2010 14:05:23 +0000</pubDate>
		<guid isPermaLink="false">http://lyncd.com/?p=92#comment-1802</guid>
		<description>Just thought you may want to know you can substitute the first line of code for

&lt;code&gt; mp3wrap tmp.mp3 *.mp3&lt;/code&gt;

to wrap all files in the folder together</description>
		<content:encoded><![CDATA[<p>Just thought you may want to know you can substitute the first line of code for</p>
<p><code> mp3wrap tmp.mp3 *.mp3</code></p>
<p>to wrap all files in the folder together</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sticks</title>
		<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/comment-page-1/#comment-3315</link>
		<dc:creator>sticks</dc:creator>
		<pubDate>Sat, 16 Jan 2010 22:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://lyncd.com/?p=92#comment-3315</guid>
		<description>The reason  I didn&#039;t just use cat was that, if you have ID3 tags on the beginning (v2) and/or end (v1) of your files, they will all get concatenated together amongst the mp3 frames.

This should not be noticeable in the audio playback (most players will just skip over the invalid data), and the tags don&#039;t take up much space, so you can do it this way if you want.

But, if you&#039;re just going to cat the files, you don&#039;t even need the other steps! Just do &quot;cat 1.mp3 2.mp3 &gt; all.mp3&quot; like I wrote in the post, and you&#039;re done. (As long as you have an ID3v2 tag at the beginning of file 1, it&#039;ll still be read.)

I wanted to strip these out and end with a &quot;clean&quot; file in the end, which is why I went looking for mp3wrap in the first place.

The other problem with using cat is that the file duration will still be screwed up in iTunes.</description>
		<content:encoded><![CDATA[<p>The reason  I didn&#8217;t just use cat was that, if you have ID3 tags on the beginning (v2) and/or end (v1) of your files, they will all get concatenated together amongst the mp3 frames.</p>
<p>This should not be noticeable in the audio playback (most players will just skip over the invalid data), and the tags don&#8217;t take up much space, so you can do it this way if you want.</p>
<p>But, if you&#8217;re just going to cat the files, you don&#8217;t even need the other steps! Just do &#8220;cat 1.mp3 2.mp3 > all.mp3&#8243; like I wrote in the post, and you&#8217;re done. (As long as you have an ID3v2 tag at the beginning of file 1, it&#8217;ll still be read.)</p>
<p>I wanted to strip these out and end with a &#8220;clean&#8221; file in the end, which is why I went looking for mp3wrap in the first place.</p>
<p>The other problem with using cat is that the file duration will still be screwed up in iTunes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/comment-page-1/#comment-1545</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Tue, 12 Jan 2010 05:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://lyncd.com/?p=92#comment-1545</guid>
		<description>&lt;blockquote&gt;Thanks for the info. But It seems mp3wrap has got some limit on either the number of input files or total size.&lt;/blockquote&gt;

If you have wild-carded the mp3 input file list, you just be running into the shell expansion limit.  If so, use the xargs trick:

$ find  -name \*mp3&#124;xargs mp3wrap all.mp3</description>
		<content:encoded><![CDATA[<blockquote><p>Thanks for the info. But It seems mp3wrap has got some limit on either the number of input files or total size.</p></blockquote>
<p>If you have wild-carded the mp3 input file list, you just be running into the shell expansion limit.  If so, use the xargs trick:</p>
<p>$ find  -name \*mp3|xargs mp3wrap all.mp3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shelby</title>
		<link>http://lyncd.com/2009/02/how-to-merge-mp3-files/comment-page-1/#comment-1221</link>
		<dc:creator>Shelby</dc:creator>
		<pubDate>Fri, 02 Oct 2009 16:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://lyncd.com/?p=92#comment-1221</guid>
		<description>There is another way, without going through mp3wrap.
&lt;code&gt;cat file list... &#124; ffmpeg -f mp3 -i - -acodec copy outfile.mp3&lt;/code&gt;
And then the id3 copy command.</description>
		<content:encoded><![CDATA[<p>There is another way, without going through mp3wrap.<br />
<code>cat file list... | ffmpeg -f mp3 -i - -acodec copy outfile.mp3</code><br />
And then the id3 copy command.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

