From owner-freebsd-ports@FreeBSD.ORG Mon Jul 17 14:44:48 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59B4816A4DE for ; Mon, 17 Jul 2006 14:44:48 +0000 (UTC) (envelope-from jbq@anyware-tech.com) Received: from caraldi.com (195-13-58-165.oxyd.net [195.13.58.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id A323A43D46 for ; Mon, 17 Jul 2006 14:44:47 +0000 (GMT) (envelope-from jbq@anyware-tech.com) Received: from vision.anyware (10.21.96-84.rev.gaoland.net [84.96.21.10]) by caraldi.com (Postfix) with ESMTP id 4CBDE60E9 for ; Mon, 17 Jul 2006 16:44:42 +0200 (CEST) Received: by vision.anyware (Postfix, from userid 1021) id B91F8632D; Mon, 17 Jul 2006 16:44:43 +0200 (CEST) Date: Mon, 17 Jul 2006 16:44:43 +0200 From: Jean-Baptiste Quenot To: freebsd-ports@freebsd.org Message-ID: <20060717144443.GE34231@vision.anyware> Mail-Followup-To: freebsd-ports@freebsd.org References: <20060714043346.GC44667@FS.denninger.net> <44B72900.4060607@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <44B72900.4060607@gmail.com> User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: Re: Question re: batch conversion of m4a files.... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 14:44:48 -0000 * Brandon Cash: > Well, I don't know of anything that does specifically that, but there is audio/faad and audio/lame. The purpose of faad > is to read in various formats, and it can output wav. Likewise, LAME can read in wav and output mp3. > > With this in mind, you can have faad write to stdout, and have LAME read from stdin: > faad -o - in.m4a | lame -h -b 128 - out.mp3 > > If you wanted to put that in a script, you could just have it `sed' out the 'm4a' in favor of 'mp3' in the file name. > > Another option would be to use multimedia/mplayer, but I'm not sure of the syntax for that. Yes, it works, just do "mplayer yourfile.m4a" -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/