On Dec 25 23:12:35, derek.rie...@colorado.edu wrote: > Hi, > I am using sox to write a script to convert a bunch of songs to ogg > format from m4a and mp3. Is there any tools I need to get in order to do > this?
With support for the appropriate external libraries compiled in, SoX can process mp3 jist like any other format. For m4a, SoX used to use ffmpeg externally; this was very broken, and thankfully the whole ffmpeg "support" has been kicked out. I use ffmpeg directly to process m4a files. > When my script runs I get an error like this. Show us the script. > Some of the lines > are my scripts output with the current directory. > .\_Unknown_\classics\01 Track 01.mp3 //part of my scripts output > sox FAIL util: Unable to load MAD decoder library (libmad). > sox FAIL formats: can't open input file `.\_Unknown_\Holophonia\01 Track > 01.mp3': > done with directory name .\_Unknown_\classics //part of my scripts output > Would the error > sox FAIL util: Unable to load MAD decoder library (libmad). > mean I don't have the laim library for mpeg files? Don't know what "laim" is, but you probably lack mp3 support, yes. How exactly did you install SoX? > Do I also need the library for ffmpeg if I am using m4a's? The ffmpeg support is no longer there. What version of SoX are you using? > I converted a few .wav files with no problem > so I am thinking there is a library i am missing. Most probably that is the case. > Both libraries are on my system for audacity. My guess would be that you haven't built SoX with support for these libraries, eventhough they are on your system. What system is that, and how eaxctly did you install libmad and sox? Jan ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel