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
    4
    ·
    edit-2
    8 months 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
      8 months 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

  • DolphinMath@slrpnk.net
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    8 months ago

    Installing VLC on your iPhone is probably the easiest solution. It should play the Opus files without any transcoding needed.

    • DolphinMath@slrpnk.net
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      edit-2
      8 months ago

      If you really need to convert the files to something like AAC for native iPhone playback, I would suggest either fre:ac (audio only) or MKVToolnix (video and audio).

      • m-p{3}@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        8 months ago

        FYI MKVtoolNix doesn’t do transcoding, it simply allows you inspect/modify metadata and demux/remux data streams into an MKV container.it’s indeed useful and I use it often, but it wouldn’t be for OP’s use-case.

        • DolphinMath@slrpnk.net
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          8 months ago

          Oh dang, you’re right. I used to use StaxRip back when I was doing more encoding and then finish with MKVToolNix, but I think the gui is Windows only.

          Probably should have recommended Handbrake.

  • db2@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    3
    ·
    8 months ago

    I downloaded a “Linux ISO” which came as a series of *.opus files. My iPhone

    Trololol

  • mateomaui@reddthat.com
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    8 months ago

    Can probably use Audacity. May need to install a ffmpeg plugin first to read the opus files, then:

    goto Tools > Apply Macro > Palette…

    select “MP3 Conversion”

    then click “Files…” to choose your files and it should start a batch process.

    Before that, probably go to Edit > Preferences > Directories and change the entry for “Macro output” to a custom folder so it’s easy to find. (note: the instructions on that settings page says to leave a field blank to use the last directory, but that’s not the case for macro output, definitely set a custom location for that.)

    edit: also a good method for converting FLAC if there’s a need for it