Fix ID3, switch to ffmpeg

This commit is contained in:
Thomas Gideon 2018-10-11 10:28:48 -04:00
parent cf25c8e782
commit b2a5147ede

View file

@ -104,7 +104,7 @@ ${base_file}.mp3
# lame package from Lucid lacks the --ti switch for image # lame package from Lucid lacks the --ti switch for image
# found eyed3 via a web search # found eyed3 via a web search
eyeD3 --add-image ${cover}:FRONT_COVER \ eyeD3 --add-image ${cover}:FRONT_COVER \
--set-text-frame="TCOP:${copyright}" \ --url-frame="WCOP:${copyright}" \
${base_file}.mp3 ${base_file}.mp3
echo "" echo ""
@ -134,8 +134,8 @@ echo ""
# doesn't seem to result in the desired quality as tweaking # doesn't seem to result in the desired quality as tweaking
# the quality setting (max 500)--200 was arrived at by iteratively # the quality setting (max 500)--200 was arrived at by iteratively
# encoding the same raw audio and subjective listening to the results # encoding the same raw audio and subjective listening to the results
avconv -i ${base_file}.wav \ ffmpeg -i ${base_file}.wav \
-b ${aac_quality}k \ -b:a ${aac_quality}k \
-metadata title="${title}" \ -metadata title="${title}" \
-metadata artist="${artist}" \ -metadata artist="${artist}" \
-metadata album="${album}" \ -metadata album="${album}" \