参考知乎作者:猫叔
来源:https://zhuanlan.zhihu.com/p/111764932
@echo off setlocal enabledelayedexpansion set ffmpeg="C:Program Files (x86)YouKuYoukuClient playerffmpeg.exe" if exist %ffmpeg% ( for /r . %%i in (*.kux) do ( %ffmpeg% -y -i "%%i" -c:a copy -c:v copy -threads 2 "%%~dpni.mp4" ) ) else echo pause
如果你的youku客户端安装地址不是默认目录请自行更改ffmpeg.exe目录