This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:next | |
if "%~1" == "" goto done | |
ffmpeg -i "%~1" -map_metadata -1 -vn -c:a flac "%~1.flac" | |
shift | |
goto next | |
:done | |
exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir FLAC | |
for %%a in (*) do ( | |
ffmpeg -i "%%a" -map_metadata -1 -vn -c:a flac "FLAC\%%~na.flac" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ENCODED | |
for %%a in (*.mkv) do ( | |
ffmpeg -i "%%a" -map_metadata -1 -map_chapters -1 -c:v libx264 -b:v 5M -preset medium -tune animation -pass 1 -vf format=yuv420p10le -color_range 1 -color_primaries 1 -color_trc 1 -colorspace 1 -an "ENCODED\%%~na.mkv" | |
ffmpeg -y -i "%%a" -c:v libx264 -b:v 5M -preset medium -tune animation -pass 2 -vf format=yuv420p10le -color_range 1 -color_primaries 1 -color_trc 1 -colorspace 1 -c:a flac "ENCODED\%%~na.mkv" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ENCODED | |
for %%a in (*.avs) do ( | |
ffmpeg -y -i "%%a" -c:v libx264 -x264-params "ssim=1:psnr=1:pass=1" -preset medium -tune animation -b:v 3500K -vf format=yuv420p10le -color_range 1 -color_primaries 1 -color_trc 1 -colorspace 1 "ENCODED\%%~na.mkv" | |
ffmpeg -report -benchmark -y -i "%%a" -c:v libx264 -x264-params "ssim=1:psnr=1:pass=2" -preset medium -tune animation -b:v 3500K -vf format=yuv420p10le -color_range 1 -color_primaries 1 -color_trc 1 -colorspace 1 "ENCODED\%%~na.mkv" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[default] | |
# general | |
#glsl-shader="~~/FSRCNNX_x2_8-0-4-1.glsl" | |
#glsl-shader="~~/SSimDownscaler.glsl" | |
#glsl-shader="~~/SSimSuperRes.glsl" | |
#glsl-shader="~~/KrigBilateral.glsl" | |
#glsl-shader="~~/adaptive-sharpen.glsl" | |
#profile=gpu-hq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WHEEL_UP add volume 5 | |
WHEEL_DOWN add volume -5 | |
LEFT seek -5 exact | |
RIGHT seek 5 exact | |
CTRL+LEFT frame-back-step ; show-text "${estimated-frame-number}/${estimated-frame-count}" | |
CTRL+RIGHT frame-step ; show-text "${estimated-frame-number}/${estimated-frame-count}" | |
SHIFT+LEFT playlist-prev ; show-text "${playlist-pos-1}/${playlist-count}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir UPSCALED | |
for %%a in (*.png) do ( | |
waifu2x "%%a" "UPSCALED\%%~na.png" 1 2 400 | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Measure-Command {.\waifu2x.bat} | |
or this for manual execution | |
Measure-Command {.\waifu2x.exe input.png output.png 2 2 400} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
powercfg /setactive 381b4222-f694-41f0-9685-ff5bb260df2e |
OlderNewer