Saturday, September 22, 2012

how to convert flac to mp3 keeping the ID3 tags

Well it's late and I don't have the strenght to comment more but here it is:
    for FILE in *.flac;  do      ffmpeg -i "$FILE" -ab 320k -map_metadata 0 "${FILE%.*}.mp3";  done

2 comments:

  1. This is great, it just does not put the year when the album was made, the flac has the year but will not show it when it rips it to .mp3 format. Thanks.

    ReplyDelete
    Replies
    1. Thanks for the comment, if you upload the file somewhere and share the link I can take a look.

      Delete