Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2006 16:44:43 +0200
From:      Jean-Baptiste Quenot <jbq@caraldi.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Question re: batch conversion of m4a files....
Message-ID:  <20060717144443.GE34231@vision.anyware>
In-Reply-To: <44B72900.4060607@gmail.com>
References:  <20060714043346.GC44667@FS.denninger.net> <44B72900.4060607@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* 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/



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