Switch from faac to avconv.

This commit is contained in:
Thomas Gideon 2014-01-01 16:23:06 -05:00
parent 16014b677d
commit 8aa93cc95c

View file

@ -134,17 +134,31 @@ 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
faac -q ${aac_quality} \ avconv -i ${base_file}.wav \
-o ${base_file}.m4a \ -b ${aac_quality}k \
--title "${title}" \ -metadata title="${title}" \
--artist "${artist}" \ -metadata artist="${artist}" \
--album "${album}" \ -metadata album="${album}" \
--year "${year}" \ -metadata year="${year}" \
--genre "${genre}" \ -metadata genre="${genre}" \
--writer "${artist}" \ -metadata writer="${artist}" \
--comment "${comment}" \ -metadata comment="${comment}" \
--cover-art "${cover}" \ ${base_file}.m4a
${base_file}.wav
#-metadata cover-art="${cover}" \
#-acodec fdk_aac \
#faac -q ${aac_quality} \
#-o ${base_file}.m4a \
#--title "${title}" \
#--artist "${artist}" \
#--album "${album}" \
#--year "${year}" \
#--genre "${genre}" \
#--writer "${artist}" \
#--comment "${comment}" \
#--cover-art "${cover}" \
#${base_file}.wav
if [ -f ${aac_notes_path}/${date}.notes ] if [ -f ${aac_notes_path}/${date}.notes ]
then then