Extracting cover art

This commit is contained in:
Alexander Greim 2016-07-13 11:58:43 +02:00
parent 9d28be4f06
commit 2774675e5b

View File

@ -33,5 +33,10 @@ while [ $# -gt 0 ]; do
echo "Done creating chapters. Single file and chaptered files contained in ${OUTPUT_DIR}." echo "Done creating chapters. Single file and chaptered files contained in ${OUTPUT_DIR}."
rm tmp.txt 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 shift
done done