Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
chore: change dependency source
沈浩09fc8516e1a6
diff --git a/pkg/util/base.go b/pkg/util/base.goindex 1bbb0c53..7bf5bc37 100644--- a/pkg/util/base.go+++ b/pkg/util/base.go@@ -178,11 +178,11 @@ func CheckAndDownloadFfmpeg() error {var ffmpegURL stringif runtime.GOOS == "linux" {- ffmpegURL = "https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v6.1/ffmpeg-6.1-linux-64.zip"+ ffmpegURL = "https://modelscope.cn/models/Maranello/KrillinAI_dependency_cn/resolve/master/ffmpeg-6.1-linux-64.zip"} else if runtime.GOOS == "darwin" {- ffmpegURL = "https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v6.1/ffmpeg-6.1-macos-64.zip"+ ffmpegURL = "https://modelscope.cn/models/Maranello/KrillinAI_dependency_cn/resolve/master/ffmpeg-6.1-macos-64.zip"} else if runtime.GOOS == "windows" {- ffmpegURL = "https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v6.1/ffmpeg-6.1-win-64.zip"+ ffmpegURL = "https://modelscope.cn/models/Maranello/KrillinAI_dependency_cn/resolve/master/ffmpeg-6.1-win-64.zip"} else {log.GetLogger().Error("不支持你当前的操作系统", zap.String("当前系统", runtime.GOOS))return fmt.Errorf("unsupported OS: %s", runtime.GOOS)@@ -247,11 +247,11 @@ func CheckAndDownloadFfprobe() error {var ffprobeURL stringif runtime.GOOS == "linux" {- ffprobeURL = "https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v6.1/ffprobe-6.1-linux-64.zip"+ ffprobeURL = "https://modelscope.cn/models/Maranello/KrillinAI_dependency_cn/resolve/master/ffprobe-6.1-linux-64.zip"} else if runtime.GOOS == "darwin" {- ffprobeURL = "https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v6.1/ffprobe-6.1-macos-64.zip"+ ffprobeURL = "https://modelscope.cn/models/Maranello/KrillinAI_dependency_cn/resolve/master/ffprobe-6.1-macos-64.zip"} else if runtime.GOOS == "windows" {- ffprobeURL = "https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v6.1/ffprobe-6.1-win-64.zip"+ ffprobeURL = "https://modelscope.cn/models/Maranello/KrillinAI_dependency_cn/resolve/master/ffprobe-6.1-win-64.zip"} else {log.GetLogger().Error("不支持你当前的操作系统", zap.String("当前系统", runtime.GOOS))return fmt.Errorf("unsupported OS: %s", runtime.GOOS)@@ -314,11 +314,11 @@ func CheckAndDownloadYtDlp() error {var ytDlpURL stringif runtime.GOOS == "linux" {- ytDlpURL = "https://github.com/yt-dlp/yt-dlp/releases/download/2024.12.13/yt-dlp_linux"+ ytDlpURL = "https://modelscope.cn/models/Maranello/KrillinAI_dependency_cn/resolve/master/yt-dlp_linux"} else if runtime.GOOS == "darwin" {- ytDlpURL = "https://github.com/yt-dlp/yt-dlp/releases/download/2024.12.13/yt-dlp_macos"+ ytDlpURL = "https://modelscope.cn/models/Maranello/KrillinAI_dependency_cn/resolve/master/yt-dlp_macos"} else if runtime.GOOS == "windows" {- ytDlpURL = "https://github.com/yt-dlp/yt-dlp/releases/download/2024.12.13/yt-dlp.exe"+ ytDlpURL = "https://modelscope.cn/models/Maranello/KrillinAI_dependency_cn/resolve/master/yt-dlp.exe"} else {log.GetLogger().Error("不支持你当前的操作系统", zap.String("当前系统", runtime.GOOS))return fmt.Errorf("unsupported OS: %s", runtime.GOOS)