Merge pull request #9 from iltempo/cover

Extracting cover art at end of script
This commit is contained in:
KrumpetPirate 2016-07-13 07:43:31 -05:00 committed by GitHub
commit 17895e4663

View File

@ -33,5 +33,10 @@ while [ $# -gt 0 ]; do
echo "Done creating chapters. Single file and chaptered files contained in ${OUTPUT_DIR}."
rm tmp.txt
echo "Extracting cover into ${OUTPUT_DIR}/cover.jpg..."
ffmpeg -v error -activation_bytes $AUTHCODE -i "$FILE" -an -vcodec copy "${OUTPUT_DIR}/cover.jpg"
echo "Done."
shift
done