mono16/video-rickroll/extract.sh
2024-08-31 09:30:21 -07:00

17 lines
266 B
Bash

set -a
mkdir -p frames
ffmpeg \
-i rickroll.mp4 \
-vf 'scale=320:230,framerate=60000/1001' \
-an \
-y 'frames/rickroll-%05d.png'
ffmpeg \
-i rickroll.mp4 \
-vn \
-ac 1 \
-ar 15734 \
-acodec pcm_u8 \
-y 'rickroll-audio.wav'