I have a collection of music in flac format and now I want to store them on my phone. flac files get too much space and downloading all the playlist in mp3 takes as much time as finding decent and real high quality flacs (there is plenty of songs on internet which only look like 320kbps and are not really high quality). So I decided to convert my flac files into mp3 and I prefer minimum amount of quality loss; what is the best software for it?

  • Doesn’t matter if conversion take some time if the quality would be decent.
      • Beto@lemmy.studio
        link
        fedilink
        English
        arrow-up
        41
        ·
        1 year ago

        ffmpeg is written by Fabrice Bellard, who’s one of the most underrated programmers in the world (he also wrote QEMU). It’s probably the best tool out there, still actively maintained, and most commercial apps are probably using it under the hood for any kind of conversion.

          • drwankingstein@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            5
            ·
            1 year ago

            better then virtual box, when comparing to vmware it has some wins and some losses, windows guests, vmware wins, linux guests qemu wins, assuming you dont need any more advanced features. in which qemu always wins

          • Beto@lemmy.studio
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            It depends on what you mean by better. Faster? More user friendly? More versatile?

            • Nimous@lemmy.dbzer0.comOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              If it has the performance it is better. If it doesn’t have professional features of vmware workstation like networking and settings, it’s not better.

      • m-p{3}@lemmy.ca
        link
        fedilink
        English
        arrow-up
        12
        ·
        1 year ago

        It’s one of the pillars of anything A/V. Most if not all streaming provider uses it in their backend and frontend, and most conversion and playback tools (ie: HandBrake, VLC) depends on it.

      • Kissaki@feddit.de
        link
        fedilink
        English
        arrow-up
        12
        ·
        edit-2
        1 year ago

        It’s not old. It’s actively maintained. It has recent releases and is actively being developed. It existed for a long time - as in it’s stable and feature-rich.

        It’s so versatile I use it for all my audio and video mixing, encoding, and conversion needs.

        If you can write a small script invoking it for all files automatically is simple enough - and better than manually writing a conversion command for each file.

      • pudcollar@lemmy.ml
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        2
        ·
        1 year ago

        It’s a CLI tool, it’s a great generalist tool for converting video and audio but you have to script it if you want to do a recursive batch job.

        • iorale@lemmy.fmhy.net
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          1 year ago

          Or use Shutter Encoder, it’s basically FFMPEG with a GUI (altough with 1.7.3 I’ve run into problems with some codecs, use 1.7.2)

          But for this it might be easier to just script it than drag and drop every file, depends on OP

  • pudcollar@lemmy.ml
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    edit-2
    1 year ago

    I use FRE:AC https://www.freac.org/downloads-mainmenu-33

    It can do bulk conversions with a recursive directory search and works in most OSes

    I had the exact same use case as you, 1TB of FLACs onto a 256gb phone. Because you prefer minimal quality loss, Opus is the format for you, not MP3. You can maintain transparency-level quality with 128kbps, Opus is roughly equivalent in quality to a mp3 twice its size. AAC and Vorbis are also preferable to MP3 in this aspect, but inferior to Opus. At this point, mp3s are only useful for devices that can’t decode any better codec.

    Then i do a search-replace for *.flac -> *.opus on the playlists. I use PowerAmp on android to play the tunes, can recommend.

    • Nimous@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      PowerAmp has a good UI but lacks some features and usage ease so I highly recommend Musicolet.

      • pudcollar@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I just tried it. I can’t bulk import external playlists, so I’m not using it. I keep my playlists in with the music directories so I have to scroll past 3,000 artists to get to any of them in musicolet.

  • drwankingstein@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    1 year ago

    dont convert them to mp3, use either AAC or Opus, 192kbps is typically good enough for high quality, but a lot of people will just encode 128kbps

  • sub_o@beehaw.org
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    1 year ago

    I dunno, I normally use my bash script + ffmpeg to convert batch flacs to mp3s

    #!/bin/bash
    
    cd "${1}"
    
    for subdir in *; do
        cd "${subdir}"
    
        for input in *.flac; do
            echo ${input%.*}
            ffmpeg -i "${input}" -ab 320k  -map_metadata 0 -id3v2_version 3 "${input%.*}.mp3" && rm "${input}"
        done
    
        cd ..
    done
    

    Then i’d just run my script.sh [directory that contains flac] you might want to remove && rm "${input}" if you don’t want it to delete your flac files automatically.

  • S13Ni@lemmy.studio
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Everyone is recommending ffmpeg. So am I, but with Axiom UI, since everyone is not used to working in terminal. You can convert entire folders just as well like you could with ffmpeg normally. I am used to command line stuff, but I still prefer this for simple conversions out of convenience. https://axiomui.github.io/

  • JelloBrains@kbin.social
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    I use FFmpeg Batch Audio Video converter, it’s just a GUI FFmpeg. I use it to convert FLAC to MP3 when I was going on a trip and only had a CD Player and I use it to convert 7.1 Audio down to AC3 5.1 to fit my sound system. It has a MP3 preset but I had to add one for the 5.1 conversion.

  • Jemmy@lemmy.one
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    I used to use musicbee for this. Good app for organising your music on your desktop and you can configure it to convert audio format when syncing to your phone. It’s been a while since I used it, but it did the job nicely

  • art101@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    If you’re using Windows then Foobar 2000 is great. I use it for manually managing and tidying my collection in addition to converting pretty much any format to any other format.

    That being said, you can install it as a snap in Linux as well if that’s your poison.

    • iorale@lemmy.fmhy.net
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Audacity uses FFMPEG to work with flac files, since it’s only going to convert them might as well go directly with FFMPEG