guoyu/Test/bat/安装ffmpeg.bat

35 lines
775 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
chcp 65001 > nul
echo ====================================
echo 安装 ffmpeg语音转换依赖
echo ====================================
echo.
echo 方案1使用 Chocolatey 安装(推荐)
echo.
echo 如果已安装 Chocolatey运行
echo choco install ffmpeg
echo.
echo 方案2手动下载
echo.
echo 1. 访问https://www.gyan.dev/ffmpeg/builds/
echo 2. 下载ffmpeg-release-essentials.zip
echo 3. 解压到C:\ffmpeg
echo 4. 添加到PATHC:\ffmpeg\bin
echo.
echo 方案3使用 winget 安装
echo winget install ffmpeg
echo.
pause
echo.
echo 尝试使用 winget 安装...
winget install "FFmpeg (Essentials Build)"
echo.
echo 安装完成后,请重新打开命令提示符测试:
echo ffmpeg -version
echo.
pause