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?

  • @s38b35M5@lemmy.world
    link
    fedilink
    English
    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

    • ѕєχυαℓ ρσℓутσρє
      link
      English
      3
      edit-2
      1 year ago

      Tip: You can add an & just before the last ; to run these conversions concurrently. For more sophisticated control on the concurrency, I’d use parallel.