30 Hz test

This commit is contained in:
Brooke Vibber 2022-12-04 17:49:52 -08:00
parent a4679a5a14
commit 8fe6ef06c0
3 changed files with 9 additions and 1 deletions

View file

@ -8,6 +8,7 @@ all : sample0.xex sample1.xex sample2.xex sample3.xex sample4.xex sample5.xex sa
%.s : %.jpg dither-image.js
node dither-image.js $< $@
./gif.sh $@
./mp4.sh $@
chickens.s : chickens.wav pack-wav.js
node pack-wav.js $< $@

2
gif.sh
View file

@ -1,4 +1,4 @@
fps=60000/1001
fps=30000/1001
ffmpeg \
-r $fps -i "$1.%01d.png" \

7
mp4.sh Executable file
View file

@ -0,0 +1,7 @@
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"