[Vorbis] Q: [OT] concatenating audio files

Ralph Giles giles at xiph.org
Mon Mar 16 11:47:36 PDT 2009


On Mon, Mar 16, 2009 at 2:34 AM, Ulrich Windl
<ulrich.windl at rz.uni-regensburg.de> wrote:

> Can I simple concatenate the flac files to make on big file (and then reencode
> that), or do I need special tools. Those sound chunks end in the middle of tracks,
> so I need a perfect solution for clear sound.

You can't concatenate flac files directly. Sox can combine them for
you. For example:

sox part1.flac part2.flac part3.flac all.flac

will make a new file called 'all.flac' which consists of the
concatenated audio from each part. If you sox was built without flac
support, decode each part to a .wav file, run sox on the .wavs and
then recompress all.wav.

Also, most tools will handle concatenated vob files, so you can try
'cat'-ing those together before extracting the audio in the first
place.

HTH,
 -r


More information about the Vorbis mailing list