Convert .flac to .mp3 with ffmpeg, keeping all metadata

后端 未结 8 890
暗喜
暗喜 2020-12-22 17:38

How can I convert .flac to .mp3 with ffmpeg, keeping all metadata (that is converting Vorbis comment in .flac files to ID3v2 metadata of .mp3)?

8条回答
  •  醉话见心
    2020-12-22 17:57

    The following command keeps high quality on .mp3 (320 kbps), and metadata from .flac file are converted to ID3v2 format, which can be included in .mp3 files:

    ffmpeg -i input.flac -ab 320k -map_metadata 0 -id3v2_version 3 output.mp3
    

提交回复
热议问题