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.
  • sub_o@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.

      • Beto@lemmy.studio
        link
        fedilink
        English
        arrow-up
        3
        ·
        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.