diff --git a/Batch/setAudioDevice.sh b/Batch/setAudioDevice.sh index 4640066..ae95953 100755 --- a/Batch/setAudioDevice.sh +++ b/Batch/setAudioDevice.sh @@ -4,7 +4,7 @@ DEVICE=$1 # SoundVolumeCommandLine - https://www.nirsoft.net/utils/sound_volume_command_line.html -SVCL="/cygdrive/d/bin/NirsoftLauncher/NirSoft/svcl.exe" +SVCL="/d/bin/NirsoftLauncher/NirSoft/svcl.exe" # Get list of render devices RENDER_DEVICES=$($SVCL /scomma | grep "Device,Render" | cut -d "," -f1) diff --git a/Batch/vid2ani.cmd b/Batch/vid2ani.cmd index 9d0c5fb..a612ee3 100755 --- a/Batch/vid2ani.cmd +++ b/Batch/vid2ani.cmd @@ -280,7 +280,7 @@ IF DEFINED errorswitch ( IF "%filetype%" == "webp" ( IF DEFINED webp_lossy ( - SET "webp_lossy=-lossless 0 -quality %webp_lossy%" + SET "webp_lossy=-lossless 0 -pix_fmt yuv420p -quality %webp_lossy%" ) ELSE SET "webp_lossy=-lossless 1" ) @@ -304,7 +304,7 @@ IF NOT DEFINED bayerscale SET "bayer=" IF DEFINED bayerscale SET bayer=:bayer_scale=%bayerscale% :: Checking for Bayer Scale and adjusting command -ffmpeg -v warning %trim% -i %vid% -thread_queue_size 512 -i "%frames%.png" -lavfi "%filters% [x]; [x][1:v] %decode%%errordiff%%ditherenc%%bayer%" -f %filetype% %webp_lossy% -plays 0 -y "%output%" +ffmpeg -v warning %trim% -i %vid% -thread_queue_size 512 -i "%frames%.png" -lavfi "%filters% [x]; [x][1:v] %decode%%errordiff%%ditherenc%%bayer%" -f %filetype% %webp_lossy% -loop 0 -plays 0 -y "%output%" IF NOT EXIST "%output%" ( ECHO Failed to generate animation