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
package storage
import (
"context"
"os/exec"
)
var (
FfmpegPath string
FfprobePath string
YtdlpPath string
YtdlpPrefixArgs []string
FasterwhisperPath string
WhisperXPath string
WhisperKitPath string
WhispercppPath string
EdgeTtsPath string
VttToSrtPath string
)
func YtdlpCommand(args ...string) *exec.Cmd {
commandArgs := append(append([]string{}, YtdlpPrefixArgs...), args...)
return exec.Command(YtdlpPath, commandArgs...)
}
func YtdlpCommandContext(ctx context.Context, args ...string) *exec.Cmd {
commandArgs := append(append([]string{}, YtdlpPrefixArgs...), args...)
return exec.CommandContext(ctx, YtdlpPath, commandArgs...)
}