Switch from faac to avconv.
This commit is contained in:
parent
16014b677d
commit
8aa93cc95c
1 changed files with 25 additions and 11 deletions
36
encode.bash
36
encode.bash
|
@ -134,17 +134,31 @@ echo ""
|
|||
# doesn't seem to result in the desired quality as tweaking
|
||||
# the quality setting (max 500)--200 was arrived at by iteratively
|
||||
# encoding the same raw audio and subjective listening to the results
|
||||
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
|
||||
avconv -i ${base_file}.wav \
|
||||
-b ${aac_quality}k \
|
||||
-metadata title="${title}" \
|
||||
-metadata artist="${artist}" \
|
||||
-metadata album="${album}" \
|
||||
-metadata year="${year}" \
|
||||
-metadata genre="${genre}" \
|
||||
-metadata writer="${artist}" \
|
||||
-metadata comment="${comment}" \
|
||||
${base_file}.m4a
|
||||
|
||||
#-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 ]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue