Converting opus files to mp3 - eviltoast

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?

  • ѕєχυαℓ ρσℓутσρє@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    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 and parallel.

    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 or mpv should work, but I personally prefer music apps with album, artist etc. support. For android, the app Gramophone is great. Another way would be to serve your files via a music server like navidrome and using a client like Tempo (again, it’s the android client I like, but surely there will be iOS alternatives).

    • s38b35M5@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 year ago

      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