initial commit

This commit is contained in:
2024-05-01 12:31:31 +02:00
commit 6f71ada556
9 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
set PATH=%PATH%;"E:\Static Programs\ffmpeg-20190416-e2f766e-win64-static\bin\"
cd C:\tmp\frames4
ffmpeg -r 60 -start_number 0 -i %%04d.png -vcodec qtrle C:\tmp\.result.mov
PAUSE

4
.generate_alpha_video.bat Executable file
View File

@@ -0,0 +1,4 @@
set PATH=%PATH%;"E:\Static Programs\ffmpeg-20190416-e2f766e-win64-static\bin\"
cd C:\tmp\frames4
ffmpeg -r 60 -start_number 0 -i %%04d.png -vcodec qtrle C:\tmp\.result.mov
PAUSE

5
.generate_alpha_webm.bat Executable file
View File

@@ -0,0 +1,5 @@
@echo off
set PATH=%PATH%;"E:\Static Programs\ffmpeg-20190416-e2f766e-win64-static\bin\"
cd C:\tmp\overlay_frames
ffmpeg -framerate 60 -start_number 0 -i %%04d.png -c:v libvpx-vp9 -b:v 1M -pix_fmt yuva420p C:\tmp\.result.webm
PAUSE

6
.generate_gif.bat Executable file
View File

@@ -0,0 +1,6 @@
@echo off
set PATH=%PATH%;"E:\Static Programs\ffmpeg-20190416-e2f766e-win64-static\bin\"
cd frames
ffmpeg -start_number 0 -i %%04d.png -vf palettegen=reserve_transparent=1 palette.png
ffmpeg -framerate 50 -start_number 0 -i %%04d.jpeg -i palette.png -lavfi paletteuse=alpha_threshold=128 -gifflags -offsetting -r 50 -y .out.gif
PAUSE

4
.generate_video.bat Executable file
View File

@@ -0,0 +1,4 @@
set PATH=%PATH%;"E:\Static Programs\ffmpeg-20190416-e2f766e-win64-static\bin\"
cd C:\tmp\frames5\
ffmpeg -r 60 -start_number 1 -i %%04d.png -c:v libx264 -vf fps=60 -pix_fmt yuv420p out.mp4
PAUSE

4
.generate_webp.bat Executable file
View File

@@ -0,0 +1,4 @@
@echo off
set PATH=%PATH%;"E:\Static Programs\ffmpeg-20190416-e2f766e-win64-static\bin\"
ffmpeg -start_number 60 -framerate 60 -i %%04d.bmp -vf "fps=60" -vcodec libwebp -lossless 0 -compression_level 9 -loop 0 -an .out.webp
PAUSE

1
.make_3d.bat Executable file
View File

@@ -0,0 +1 @@
ffmpeg -i input.mkv -c copy -metadata:s:v:0 stereo_mode=1 .output.mkv

4
.reverse_gif.bat Executable file
View File

@@ -0,0 +1,4 @@
@echo off
set PATH=%PATH%;"E:\Static Programs\ffmpeg-20190416-e2f766e-win64-static\bin\"
ffmpeg -i .out.gif -vf reverse .reversed.gif
PAUSE

1
.video_to_gif.bat Executable file
View File

@@ -0,0 +1 @@
ffmpeg -i 0000-0960.avi -vf "fps=24,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif