mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +01:00
Merge pull request #9 from iltempo/cover
Extracting cover art at end of script
This commit is contained in:
commit
17895e4663
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user