17 lines
259 B
Bash
17 lines
259 B
Bash
set -a
|
|
|
|
mkdir -p frames
|
|
|
|
ffmpeg \
|
|
-i 'cats computer fun.mp4' \
|
|
-vf 'scale=256:144' \
|
|
-an \
|
|
-y 'frames/cats-%04d.png'
|
|
|
|
ffmpeg \
|
|
-i 'cats computer fun.mp4' \
|
|
-vn \
|
|
-ac 1 \
|
|
-ar 15734 \
|
|
-acodec pcm_u8 \
|
|
-y 'cats-audio.wav'
|