Page:
CHOCO_INSTALL
Pages
AUTHOR_MODULE
BUGS
BUILD
BUILD_AND_RUN
CHANGELOG
CHOCO_INSTALL
COMPARE_FULLSCREEN
COMPLETION_SUMMARY
CONVERT_MODULARIZATION_PLAN
CROSS_PLATFORM_GUIDE
DEV14_WINDOWS_IMPLEMENTATION
DEV30_FINALIZATION_CHECKLIST
DVD_IMPLEMENTATION_SUMMARY
DVD_USER_GUIDE
Documentation
GNOME_COMPATIBILITY
GSTREAMER_MIGRATION_PLAN
Home
IMPLEMENTATION_SUMMARY
INSTALLATION
INSTALL_LINUX
INSTALL_WINDOWS
INTEGRATION_GUIDE
INTERNAL_DVD_AUTHORING_SPEC
LATEST_UPDATES
LATEX_PREPARATION
LOSSLESSCUT_INSPIRATION
MODULES
PERSISTENT_VIDEO_CONTEXT
PHASE2_COMPLETE
PHASE2_INTEGRATION_PLAN
PLAYER_MODULE
PLAYER_PERFORMANCE_ISSUES
PROJECT_STATUS
QUEUE_SYSTEM_GUIDE
QUICKSTART
REFACTOR_DEV30_PLAN
ROADMAP
TESTING_CHECKLIST
TESTING_DEV13
TESTING_MODULE_CHECKLIST
TEST_DVD_CONVERSION
TODO_EXTRACTION_NOTES
TRIM_MODULE_DESIGN
VIDEO_METADATA_GUIDE
VIDEO_PLAYER
VIDEO_PLAYER_FORK
VT_PLAYER_IMPLEMENTATION
VT_PLAYER_INTEGRATION_NOTES
WINDOWS_BUILD_PERFORMANCE
WINDOWS_COMPATIBILITY
WINDOWS_PACKAGING
WINDOWS_SETUP
WORKING_ON
localization policy
No results
3
CHOCO_INSTALL
Gemini CLI edited this page 2026-03-13 11:05:17 -04:00
VideoTools Chocolatey Installation Guide
Overview
Chocolatey provides the most reliable "no-touch" Windows setup with system-wide package management and automatic dependency resolution.
Quick Install (One Command)
# Install Chocolatey + VideoTools dependencies
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')); choco install golang ffmpeg git python -y
Automated Script
Save as scripts\windows\install-choco.ps1:
param([switch]$Force)
function Write-Header {
param([string]$Title)
$line = "════════════════════════════════════════════════════════════════"
Write-Host $line -ForegroundColor Cyan
Write-Host " $Title" -ForegroundColor Cyan
Write-Host $line -ForegroundColor Cyan
Write-Host ""
}
Write-Header "VideoTools Chocolatey Installation"
# Check admin
$isAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
if (-not $isAdmin) {
Write-Host "[ERROR] This script requires Administrator privileges." -ForegroundColor Red
Write-Host "Please run PowerShell as Administrator and retry." -ForegroundColor Yellow
exit 1
}
# Install Chocolatey if missing
if (-not (Get-Command choco -ErrorAction SilentlyContinue)) {
Write-Host "[INFO] Installing Chocolatey..." -ForegroundColor Cyan
Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
refreshenv
}
# Install packages
$packages = @(
"golang",
"ffmpeg",
"git",
"python"
)
Write-Host "[INFO] Installing VideoTools dependencies..." -ForegroundColor Cyan
foreach ($pkg in $packages) {
$installed = choco list --exact $pkg --local-only
if ($installed -match $pkg -and -not $Force) {
Write-Host "[SKIP] $pkg already installed" -ForegroundColor Yellow
} else {
Write-Host "[INSTALL] $pkg" -ForegroundColor Green
choco install $pkg -y --accept-license
}
}
Write-Host "[SUCCESS] VideoTools dependencies installed!" -ForegroundColor Green
Write-Host "[INFO] Run: .\scripts\windows\build.bat to build VideoTools" -ForegroundColor Cyan
Benefits vs MSYS2
| Feature | Chocolatey | MSYS2 |
|---|---|---|
| Network reliability | Excellent | Connection issues |
| System integration | Native PATH | Isolated toolchain |
| Maintenance | Auto updates | Manual pacman |
| Windows support | Built-in | Unix emulation |
| Setup complexity | 1 command | Multi-step |
Migration Path
- Keep existing install script for backward compatibility
- Add Chocolatey as primary method
- Gradually deprecate MSYS2 approach
- Update docs to recommend Chocolatey
This gives you the cleanest, most reliable Windows setup with minimal user interaction required.
Navigation
What is VideoTools?
Project Status
Capabilities
Codecs and Frame Rates
Installation (One Command)
Alternative: Developer Setup
DVD Workflow (Optional)
Documentation
- Project Status
- Installation
- Readme
- Build And Run
- DVD User Guide
- DVD Implementation Summary
- Integration Guide
- Queue System Guide
- Localization-Policy