I downloaded a “Linux ISO” which came as a series of *.opus files. My iPhone doesn’t recognize them, so I was wondering if you guys might recommend a program to convert them to *.mp3 files.
Ideally a mac or linux based program with a gui. Any suggestions?
If I’m not wrong, the best way to have best possible quality would be:
ffmpeg -i file.opus -c:a libmp3lame -q:a 0 -map_metadata 0 file.mp3
I know you asked for GUI, but CLI tools are better at this job since it’s very easy to batch process the files using a combination of
find
andparallel
.Also, it’s probably a better idea to keep the files as they are and use a different audio player on your device. I don’t use iOS, so can’t suggest an app.
VLC
ormpv
should work, but I personally prefer music apps with album, artist etc. support. For android, the appGramophone
is great. Another way would be to serve your files via a music server likenavidrome
and using a client likeTempo
(again, it’s the android client I like, but surely there will be iOS alternatives).Here’s a version that will do a batch (in the current folder/directory)
for i in *.opus; do ffmpeg -i "$i" -c:a libmp3lame -q:a 0 -map_metadata 0 "${i%.*}.mp3"; done
Tip: You can add an & just before the last
;
to run these conversions concurrently. For more sophisticated control on the concurrency, I’d useparallel
.