From owner-freebsd-questions@FreeBSD.ORG Mon Feb 21 13:26:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5483E106567A for ; Mon, 21 Feb 2011 13:26:00 +0000 (UTC) (envelope-from hskuhra@fastmail.fm) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 27D118FC14 for ; Mon, 21 Feb 2011 13:25:59 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 807BD20633 for ; Mon, 21 Feb 2011 08:25:59 -0500 (EST) Received: from web1.messagingengine.com ([10.202.2.211]) by compute3.internal (MEProxy); Mon, 21 Feb 2011 08:25:59 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:mime-version:content-transfer-encoding:content-type:in-reply-to:references:subject:date; s=smtpout; bh=OjTCPGjlZMqjQqm7t5VgVk7pdzI=; b=hjZw5PY4fnvoiVC9eWbRxnmGkkhl76oRS426gsumlGx/P6dML7Y6rCId/2v0fhmIaBtQTgkjcIGDOO41oF4F/HK+xxwfxTas/css0ONLa2UwKe+bj9O+rHvVIGHon6dqo0S89raLZSTEmueouQnYS8bfKcMIyfXILY3ev2jfGmI= Received: by web1.messagingengine.com (Postfix, from userid 99) id 6006E9E13BB; Mon, 21 Feb 2011 08:25:59 -0500 (EST) Message-Id: <1298294759.4207.1422136713@webmail.messagingengine.com> X-Sasl-Enc: UXrgPJURDOv1J9r2M9j6VeLu9zVPrYfVOm2TO6IZBxiU 1298294759 From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <20110221012942.7774d06d@gumby.homeunix.com> References: <20110221012942.7774d06d@gumby.homeunix.com> Date: Mon, 21 Feb 2011 14:25:59 +0100 Subject: Re: Flac and/or shell problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 13:26:00 -0000 On Mon, 21 Feb 2011 01:29 +0000, "RW" 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