dither4/video-doom/extract.sh

23 lines
314 B
Bash
Raw Normal View History

2023-03-26 01:57:09 +00:00
set -a
mkdir -p frames
2023-03-26 02:43:57 +00:00
TIME=37.5
2023-03-26 01:57:09 +00:00
ffmpeg \
-i 'doom-speedrun.webm' \
-t $TIME \
-r 60000/1001 \
2023-03-26 04:36:14 +00:00
-vf 'scale=256:192' \
2023-03-26 01:57:09 +00:00
-an \
-y 'frames/doom-%04d.png'
ffmpeg \
-i 'doom-speedrun.webm' \
-t $TIME \
-vn \
-ac 1 \
-ar 15734 \
-acodec pcm_u8 \
-y 'doom-audio.wav'