On 2/25/19 12:11 PM, Thomas Groman wrote:
On Mon, 25 Feb 2019 11:40:19 -0800 Dick Steffens <[email protected]> wrote:I am ripping some CDs and converting the .wav files to .mp3. I can do this with the following in Ubuntu 18.04: for file in *.wav; do ffmpeg -i "${file}" -acodec libmp3lame -ab 220k "${file/.wav/.mp3}"; done When I run that in Slackware 14.2 I get the error message: Unknown encoder 'libmp3lame' I have installed slackpkgs for ffmpeg and lame. I'm guessing that the codec provided by the slackpkg has a different name. How do I figure that out? Or is there something else I'm missing here?$ ffmpeg -encoders and see if you can find one relating to mp3 in there. However If it's not in there that's probably due to how licensing that codec was back in the 90s.
I don't find mp3 there. However, I have found a suitable alternative. I searched the mighty Interwebs and discovered folks use k3b, which is installed by default in Slackware. It allows me to insert a CD and rip it to mp3s or, as an option, create a single mp3 file, which is my eventual goal. It will also let me specify .wav files already on my hard drive.
Thanks, though, for the pointer. -- Regards, Dick Steffens _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
