dither4/video-rickroll/extract.sh

18 lines
266 B
Bash
Raw Normal View History

2024-08-31 02:34:55 +00:00
set -a
mkdir -p frames
ffmpeg \
2024-08-31 16:30:10 +00:00
-i rickroll.mp4 \
-vf 'scale=320:230,framerate=60000/1001' \
2024-08-31 02:34:55 +00:00
-an \
2024-08-31 16:30:10 +00:00
-y 'frames/rickroll-%05d.png'
2024-08-31 02:34:55 +00:00
ffmpeg \
2024-08-31 16:30:10 +00:00
-i rickroll.mp4 \
2024-08-31 02:34:55 +00:00
-vn \
-ac 1 \
-ar 15734 \
-acodec pcm_u8 \
-y 'rickroll-audio.wav'