30 Hz test
This commit is contained in:
parent
a4679a5a14
commit
8fe6ef06c0
3 changed files with 9 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -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
2
gif.sh
|
@ -1,4 +1,4 @@
|
|||
fps=60000/1001
|
||||
fps=30000/1001
|
||||
|
||||
ffmpeg \
|
||||
-r $fps -i "$1.%01d.png" \
|
||||
|
|
7
mp4.sh
Executable file
7
mp4.sh
Executable 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"
|
Loading…
Reference in a new issue