dither4/video-cat/extract.sh

18 lines
273 B
Bash
Raw Normal View History

2023-03-26 01:28:00 +00:00
set -a
mkdir -p frames
ffmpeg \
-i 'cats computer fun.mp4' \
-vf 'scale=160:150,pad=h=160:y=5' \
-an \
-y 'frames/cats-%04d.png'
ffmpeg \
-i 'cats computer fun.mp4' \
-vn \
-ac 1 \
-ar 15734 \
-acodec pcm_u8 \
-y 'cats-audio.wav'