2024-08-31 02:09:29 +00:00
|
|
|
set -a
|
|
|
|
|
|
|
|
mkdir -p frames
|
|
|
|
|
|
|
|
ffmpeg \
|
2024-08-31 02:10:57 +00:00
|
|
|
-i rickroll.mp4 \
|
2024-08-31 02:09:29 +00:00
|
|
|
-vf 'scale=320:192,framerate=60000/1001' \
|
|
|
|
-an \
|
|
|
|
-y 'frames/rickroll-%04d.png'
|
|
|
|
|
|
|
|
ffmpeg \
|
2024-08-31 02:10:57 +00:00
|
|
|
-i rickroll.mp4 \
|
2024-08-31 02:09:29 +00:00
|
|
|
-vn \
|
|
|
|
-ac 1 \
|
|
|
|
-ar 15734 \
|
|
|
|
-acodec pcm_u8 \
|
|
|
|
-y 'rickroll-audio.wav'
|