SuprBay: The PirateBay Forum

Full Version: What's a good flac to mp3 converter for Ubuntu ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I also need an MP3 tag editor for ubuntu
Both VLC and Audacity can do the conversion. Audacity can edit (sort of) tags too. But it can be cumbersome going through the process for each track if you have a lot

If you don't mind command line, FFMPEG is your friend. You most likely have it installed already. ("sudo apt install ffmpeg" if you get a 'command not found' error)

For a single file do this in the terminal while in the directory with the file in question:
Code:
ffmpeg -i input.flac -ab 320k -map_metadata 0 -id3v2_version 3 output.mp3
Where input.flac is the source filename, output.mp3 is the target filename and 320k is the bitrate (you can set this to 128 or whichever you like). ID tags will be copied from the source to the target.

For batch processing you can do:
Code:
for f in *.flac;do ffmpeg -i "${f}" -ab 320k -map_metadata 0 -id3v2_version 3 "${f%.*}".mp3;done;
Which will convert all flac files in your current directory to mp3@320kbps preserving all id tags.
(Jun 01, 2021, 19:43 pm)ill88eagle Wrote: [ -> ]Both VLC and Audacity can do the conversion. Audacity can edit (sort of) tags too. But it can be cumbersome going through the process for each track if you have a lot

If you don't mind command line, FFMPEG is your friend. You most likely have it installed already. ("sudo apt install ffmpeg" if you get a 'command not found' error)

For a single file do this in the terminal while in the directory with the file in question:
Code:
ffmpeg -i input.flac -ab 320k -map_metadata 0 -id3v2_version 3 output.mp3
Where input.flac is the source filename, output.mp3 is the target filename and 320k is the bitrate (you can set this to 128 or whichever you like). ID tags will be copied from the source to the target.

For batch processing you can do:
Code:
for f in *.flac;do ffmpeg -i "${f}" -ab 320k -map_metadata 0 -id3v2_version 3 "${f%.*}".mp3;done;
Which will convert all flac files in your current directory to mp3@320kbps preserving all id tags.

I didn't know about FFMPEG or that it was preinstalled.  Thanks for the help
(Jun 03, 2021, 15:47 pm)LadyAnn2 Wrote: [ -> ]I didn't know about FFMPEG or that it was preinstalled.  Thanks for the help

FFMPEG will cover all your video and audio conversion needs, but it takes some reading and hacking. You can usually google how to convert X to Y with ffmpeg and find good answers on stack-exchange and the like. Or you can read through the manual: https://ffmpeg.org/ffmpeg.html
(Jun 03, 2021, 16:27 pm)ill88eagle Wrote: [ -> ]
(Jun 03, 2021, 15:47 pm)LadyAnn2 Wrote: [ -> ]I didn't know about FFMPEG or that it was preinstalled.  Thanks for the help

FFMPEG will cover all your video and audio conversion needs, but it takes some reading and hacking. You can usually google how to convert X to Y with ffmpeg and find good answers on stack-exchange and the like. Or you can read through the manual: https://ffmpeg.org/ffmpeg.html

Ackkkkk!!  You told me to read the instructions  LOL

I love Ubuntu but I've never been a fan of command line procedures.
(Jun 03, 2021, 20:26 pm)LadyAnn2 Wrote: [ -> ]Ackkkkk!!  You told me to read the instructions  LOL

I love Ubuntu but I've never been a fan of command line procedures.

Like I said, most use cases you can get an answer by googling. As for command line in general it depends what I am doing. Stuff like updating / installing / uninstalling programs I tend to prefer the terminal. Simple tasks like batch converting a bunch of files are comfy from the terminal as well. But we all have different preferences.

There is a GUI for FFMPEG if you feel adventurous enough to install something by adding a ppa: https://qwinff.github.io/

That requires you do some lines in the terminal though...

https://qwinff.github.io/downloads.html Wrote:Ubuntu/Mint
PPA for QWinFF is available at https://launchpad.net/~lzh9102/+archive/qwinff. You can install from the ppa by the following command:
Code:
sudo apt-add-repository ppa:lzh9102/qwinff
sudo apt-get update
sudo apt-get install qwinff
You can use EasyTAG for converting into MP3