Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2011 14:25:59 +0100
From:      "Herbert J. Skuhra" <hskuhra@fastmail.fm>
To:        freebsd-questions@freebsd.org
Subject:   Re: Flac and/or shell problem
Message-ID:  <1298294759.4207.1422136713@webmail.messagingengine.com>
In-Reply-To: <20110221012942.7774d06d@gumby.homeunix.com>
References:  <20110221012942.7774d06d@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 Feb 2011 01:29 +0000, "RW" <rwmaillists@googlemail.com> wrote:
> 
> I found a recipe for converting flac to mp3:
> 
>   flac -cd in.flac  | lame -h - out.mp3
> 
> and I thought I might be able to able to combine multiple flac files
> into a single mp3 file with something like the following: 
> 
> ( flac -cd file1.flac ; flac -cd file2.flac ) | lame -h - both.mp3
> 
> but in practice only the first flac command is executed (see below)

The following command does what you want:

% flac123 --wav=- -q *.flac | lame -h - out.mp3

HTH
Herbert




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1298294759.4207.1422136713>