@echo off setlocal EnableExtensions where ffmpeg >nul 2>nul if errorlevel 1 ( echo ffmpeg not found in PATH. exit /b 1 ) where ffprobe >nul 2>nul if errorlevel 1 ( echo ffprobe not found in PATH. exit /b 1 ) echo FFmpeg version: ffmpeg -hide_banner -version 2>&1 | findstr /B /C:"ffmpeg version" if errorlevel 1 ( echo Could not read ffmpeg version. exit /b 1 ) echo. echo Key encoders: ffmpeg -hide_banner -encoders 2>&1 | findstr /C:"libx264" /C:"libx265" /C:"libvpx-vp9" /C:"aac" if errorlevel 1 ( echo Required encoders not found. exit /b 1 ) echo. echo Key filters: ffmpeg -hide_banner -filters 2>&1 | findstr /C:"drawtext" /C:"subtitles" /C:"scale" if errorlevel 1 ( echo Required filters not found. exit /b 1 ) echo. echo FFmpeg installation looks usable. exit /b 0