From owner-freebsd-ports@FreeBSD.ORG Fri Jul 14 05:17:57 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 A878A16A4E0 for ; Fri, 14 Jul 2006 05:17:57 +0000 (UTC) (envelope-from brandoncash@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDBAE43D5A for ; Fri, 14 Jul 2006 05:17:56 +0000 (GMT) (envelope-from brandoncash@gmail.com) Received: by py-out-1112.google.com with SMTP id z59so534222pyg for ; Thu, 13 Jul 2006 22:17:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=uVpNHP1hc8wOPxXHbb45/eTaY4mKJp6qGstdgZ8U/yDwOKH9VRy/Q/nIys69dUESpviqj7MmAaBK0kDsaHY8N+ImuvMVzY3aDPLjvv+6bnC3rPhD1J9wUPp7zaKUMAJkhcdyer3ybw7OvoPhBNR8NRULLy7Q1eaCEZCQi/8CL/U= Received: by 10.35.134.12 with SMTP id l12mr1529697pyn; Thu, 13 Jul 2006 22:17:55 -0700 (PDT) Received: from ?192.168.123.5? ( [70.173.243.50]) by mx.gmail.com with ESMTP id b43sm355195pyb.2006.07.13.22.17.53; Thu, 13 Jul 2006 22:17:55 -0700 (PDT) Message-ID: <44B72900.4060607@gmail.com> Date: Fri, 14 Jul 2006 00:17:52 -0500 From: Brandon Cash User-Agent: Thunderbird 1.5.0.4 (X11/20060609) MIME-Version: 1.0 To: Karl Denninger References: <20060714043346.GC44667@FS.denninger.net> In-Reply-To: <20060714043346.GC44667@FS.denninger.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org 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: Fri, 14 Jul 2006 05:17:57 -0000 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. Hope I could help, -- Brandon Cash Karl Denninger wrote: > Not sure this is the right list.... but..... couldn't find one that was a > better "fit". > > Anyone know if there's a port (or combination of ports) that would allow > conversion of file(s) from m4a format to mp3? > > M4a is a "lossless" format and is similar to what Apple's Itunes uses, but > unprotected (no DRM embedded, so no problem with "reading" them) - I have > a buttload of them but need them in MP3 format for a media player that can't > "eat" m4a native. > > There are Windows "pay for" software solutions, but of course, if there are > ports in the FreeBSD collection that can do this (either singularly or as a > pipeline) that'd be even better.... > > A quick look through the ports descriptions hasn't resulted in a "Eureka!", > so I figured I'd ask here.... perhaps someone else has faced the same > issue... > > Thanks in advance! > > --