Wednesday, October 14, 2015

Coverting Wav to Mp3 with LAME

lame command to convert wav to mp3:

lame -V2 input.wav --tt "Title" --ta "Artist Name" --tl "Album Name" --ty 2015 --ti Logo_art.png output.mp3


This adds a title, Artist name, year and other ID3 metadata including album art.

Adding album art only:

lame --ti /path/to/file.jpg audio.mp3


It is possible to add more than one image to a MP3 with eyeD3. To do this you have to add a description to each image tag like:

eyeD3 --force-update --no-color --quiet --add-image "frontcoverimage.jpg:FRONT_COVER:front cover" --add-image "backcoverimage.jpg:BACK_COVER:back cover" file.mp3


The developer of eyeD3 said:

    The ID3 spec says that if there are multiple images in a single tag than each must have a unique description.

No comments:

Post a Comment