

To install ffmpeg on Fedora: sudo dnf install. To install ffmpeg on Ubuntu, Debian, and Linux Mint: sudo apt install ffmpeg. Use the appropriate command below to install it on your own computer. The post title comes from “Convertible” by The Wedding Present, or Theweddingpresent as they were presenting themselves in 1996 when they released Mini, featuring this track. The software is available on all major Linux distros and can be easily installed using your system’s package manager. The recursive conversion and artwork/metadata mapping works better than in Audacity, so I’ll be doing this from now on. Using it for other file types is also an improvement on my previous Audacity macro approach.

This workflow meant I could convert all of the opus files I had. It converts it using our parameters and names the output file by switching the extension for mp3. The results will be slightly different anyway, but this shows how. You can play with ffmpeg -c:a aac -b:a 320k -i input.file -o out.m4a to see how the command line handles it. Initially, an mp3 subdirectory is made, then ffmpeg receives the opus file via the quoted curly braces as an input. Perhaps a better workaround is to use Audacitys command line encoder, for example: ffmpeg -i -b:a 96k 'f.m4a' but thats not very user friendly. This one-liner will find (recursively) all. iname '*.opus' -exec bash -c 'D=$(dirname ".mp3"' \ Ĭredit to this StackOverflow answer.
