2012年10月28日日曜日

merge mp3 files to one file (OpenSuSE 12.2)

step 1:  concatenate files into one mp3 file.
> cat file1.mp3 file2.mp3 ... > joined.mp3

step 2:  repair broken files using ffmpeg.
> ffmpeg -i joined.mp3 -acodec copy output.mp3

step 3:  copy ID3-tag from a file to the new file. install package id3lib-examples if needed.
> id3cp file1.mp3 output.mp3

0 件のコメント: