update new video

This commit is contained in:
2025-09-01 18:52:57 +08:00
parent e2e542f6f1
commit 8fb1f11862
17 changed files with 13 additions and 23 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

+13 -23
View File
@@ -3,32 +3,22 @@ setlocal enabledelayedexpansion
set keyword=_thumbnail
:: 遍历 JPG
for /r %%i in (*.jpg) do (
set filename=%%~nxi
echo !filename! | findstr /i "%keyword%" >nul
if !errorlevel! equ 0 (
set "blurfile=%%~dpi%%~ni_blur%%~xi"
if not exist "!blurfile!" (
echo 生成模糊图: %%i
ffmpeg -y -i "%%i" -vf "gblur=sigma=50" "!blurfile!"
) else (
echo 已存在模糊图: !blurfile!
)
)
)
:: 遍历 JPG 和 PNG 文件
for /r %%i in (*.jpg *.png) do (
set "filename=%%~nxi"
:: 遍历 PNG
for /r %%i in (*.png) do (
set filename=%%~nxi
:: 只处理包含 _thumbnail 且不包含 _blur 的文件
echo !filename! | findstr /i "%keyword%" >nul
if !errorlevel! equ 0 (
set "blurfile=%%~dpi%%~ni_blur%%~xi"
if not exist "!blurfile!" (
echo 生成模糊图: %%i
ffmpeg -y -i "%%i" -vf "gblur=sigma=50" "!blurfile!"
) else (
echo 已存在模糊图: !blurfile!
echo !filename! | findstr /i "_blur" >nul
if !errorlevel! neq 0 (
set "blurfile=%%~dpi%%~ni_blur%%~xi"
if not exist "!blurfile!" (
echo 生成模糊图: %%i
ffmpeg -y -i "%%i" -vf "gblur=sigma=50" "!blurfile!"
) else (
echo 已存在模糊图: !blurfile!
)
)
)
)