Make mp4 chapters optional.
This commit is contained in:
parent
0420590244
commit
16014b677d
1 changed files with 11 additions and 8 deletions
|
@ -146,6 +146,8 @@ faac -q ${aac_quality} \
|
||||||
--cover-art "${cover}" \
|
--cover-art "${cover}" \
|
||||||
${base_file}.wav
|
${base_file}.wav
|
||||||
|
|
||||||
|
if [ -f ${aac_notes_path}/${date}.notes ]
|
||||||
|
then
|
||||||
# put together the just-so input file for mp4chaps
|
# put together the just-so input file for mp4chaps
|
||||||
echo "00:00:00.000 Start" > \
|
echo "00:00:00.000 Start" > \
|
||||||
${base_file}.chapters.txt
|
${base_file}.chapters.txt
|
||||||
|
@ -155,6 +157,7 @@ ${base_file}.chapters.txt
|
||||||
|
|
||||||
# write the chapter marks to the AAC/MP4 file
|
# write the chapter marks to the AAC/MP4 file
|
||||||
mp4chaps -o -z -i ${base_file}.m4a
|
mp4chaps -o -z -i ${base_file}.m4a
|
||||||
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Encoding ${base_file}.ogg at quality ${ogg_quality}."
|
echo "Encoding ${base_file}.ogg at quality ${ogg_quality}."
|
||||||
|
|
Loading…
Reference in a new issue