mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-03 01:29:16 +02:00
12 lines
253 B
Bash
Executable file
12 lines
253 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Create the frames directory
|
|
mkdir frames
|
|
|
|
# Extract the frames
|
|
ffmpeg -i ./ffsend-demo.mp4 -r 6/1 frames/frame%04d.png
|
|
|
|
# Create a gif
|
|
gifski -o ffsend-demo.gif frames/frame*.png --width 850 --height 332 --fps 6 --quality 70
|
|
|
|
echo "Done"
|