dither4/mp4.sh

8 lines
147 B
Bash
Raw Normal View History

2022-12-05 01:49:52 +00:00
fps=30000/1001
ffmpeg \
-r $fps -i "$1.%01d.png" \
-vf scale=w=640:h=384:sws_flags=neighbor,format=yuv420p \
-g 480 \
-y "$1.mp4"