This commit includes three critical bug fixes and Windows build improvements: **Bug Fixes:** 1. **Queue Conversion Progress Tracking** (main.go:1471-1534) - Enhanced executeConvertJob() to parse FPS, speed, and ETA from FFmpeg output - Queue jobs now show detailed progress metrics matching direct conversions - Stats stored in job.Config for display in the conversion stats bar 2. **AMD AMF Hardware Acceleration** (main.go) - Added "amf" to hardware acceleration options - Support for h264_amf, hevc_amf, and av1_amf encoders - Added AMF-specific error detection in FFmpeg output parsing 3. **DVD Format Resolution Forcing** (main.go:1080-1103, 4504-4517) - Removed automatic resolution forcing when DVD format is selected - Removed -target parameter usage which was forcing 720×480/720×576 - Resolution now defaults to "Source" unless explicitly changed - DVD compliance maintained through manual bitrate/GOP/codec parameters **Windows Build Improvements:** - Updated build.bat to enable CGO (required for Fyne/OpenGL) - Added automatic GCC/MinGW-w64 detection and installation - Automated setup via winget for one-command Windows builds - Improved error messages with fallback manual instructions **Documentation:** - Added comprehensive Windows setup guides - Created platform.go for future platform-specific code - Updated .gitignore for Windows build artifacts All changes tested and working. Ready for production use. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
786 B
Batchfile
29 lines
786 B
Batchfile
@echo off
|
|
REM VideoTools Windows Setup Launcher
|
|
REM This batch file launches the PowerShell setup script
|
|
|
|
echo ================================================================
|
|
echo VideoTools Windows Setup
|
|
echo ================================================================
|
|
echo.
|
|
|
|
REM Check if PowerShell is available
|
|
where powershell >nul 2>&1
|
|
if %ERRORLEVEL% NEQ 0 (
|
|
echo ERROR: PowerShell is not found on this system.
|
|
echo Please install PowerShell or manually download FFmpeg from:
|
|
echo https://github.com/BtbN/FFmpeg-Builds/releases
|
|
echo.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo Starting setup...
|
|
echo.
|
|
|
|
REM Run the PowerShell script with portable installation by default
|
|
powershell -ExecutionPolicy Bypass -File "%~dp0scripts\setup-windows.ps1" -Portable
|
|
|
|
echo.
|
|
pause
|