On 09/03/16 18:04, Gordon Scott wrote:
On Wed, 2016-03-09 at 17:31 +0000, Peter Alefounder wrote:

Thanks to all for the comments. I still think something I could use
from the command line would be easier - a simple shell script loop.

Did you look further at sox for conversion?

Chris Liddell said he used it to resample, but it does many more things
than that.

You may well find that the following just works:

sox  mytrack.flac  mytrack.mp3

If not, try deliberately converting in two stages:

sox  mytrack.flac  mytrack.wav
sox  mytrack.wav   mytrack.mp3

That would allow you to verify that the .wav itself is sensible.

Historically, not many distros package sox with MP3 support 'cause of the patent license issues - I don't know if that's changed much, these days.

I tend to use "lame" directly because, well, I've been doing this kind of stuff for a while, and back then, lame was the only choice.....

And I tend to use "flac" for flacs, just because....


--
Please post to: [email protected]
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to