8 Commits

Author SHA1 Message Date
GWEncoder Developer
91532ef07f upgrade: gwencoder v3.1 with interactive menu and Tdarr alignment v3.1 2026-03-23 15:48:34 -07:00
GWEncoder Developer
27feea3662 Fix major issues and implement improvements
FIXES:
- Fixed --tiny --nvhevc to use MP4 container instead of WEBM
- Added conflict detection for --x264 and --nvhevc flags
- Fixed stats system to accumulate data properly (total_files, total_time, average_time)
- Improved error handling for missing flag values

IMPROVEMENTS:
- Implemented actual progress tracking using FFmpeg stderr parsing
- Added real-time progress bar with ETA calculation
- Progress shows percentage complete and estimated time remaining
- Stats now properly accumulate over time instead of overwriting

TECHNICAL:
- Added bufio import for progress parsing
- Enhanced container compatibility logic
- Better error messages for conflicting flags
- Improved stats JSON structure with proper data types
2025-10-21 01:32:13 -07:00
GWEncoder Developer
d91a55108f Add optional --nvhevc feature for NVIDIA NVENC HEVC hardware encoding
- Added --nvhevc command line flag support
- Created NVENC HEVC presets that match AV1 settings:
  - Fast: fast preset, CQ 26, main10 profile
  - Web-optimized: medium preset, CQ 28, main10 profile
  - Quick: fast preset, CQ 26, main10 profile
  - Tiny: fast preset, CQ 30, main10 profile
- Updated encoding logic to use hevc_nvenc when --nvhevc flag is provided
- Added proper NVENC HEVC parameters:
  - rc-lookahead 32 for better quality
  - spatial_aq and temporal_aq for adaptive quantization
  - hvc1 tag for compatibility
  - VBR rate control with constant quality
- Updated help text and examples to show NVENC HEVC usage
- Output files are named with NVHEVC prefix when using NVENC HEVC
- AV1 remains the default codec, NVENC HEVC is optional
- Requires NVIDIA GPU with NVENC support
2025-10-21 00:53:45 -07:00
GWEncoder Developer
b10d1d0fed Add optional --x264 feature that matches AV1 presets
- Added --x264 command line flag support
- Created H.264/x264 presets that match AV1 settings:
  - Fast: fast preset, film tune, high profile
  - Web-optimized: medium preset, film tune, high profile
  - Quick: medium preset, film tune, high profile
  - Tiny: fast preset, film tune, main profile
- Updated encoding logic to use libx264 when --x264 flag is provided
- Updated help text and examples to show x264 usage
- AV1 remains the default codec, x264 is optional
- Output files are named with H264 prefix when using x264
2025-10-21 00:31:00 -07:00
GWEncoder Developer
ab3e43557f Add GIT_SETUP.md - Git repository documentation and workflow guide 2025-10-19 21:21:09 -07:00
GWEncoder Developer
9d41c91f8e Update .gitignore - Exclude test files and binaries 2025-10-19 21:20:40 -07:00
GWEncoder Developer
471590fad5 Add CHANGELOG.md - Document project history and consolidation details 2025-10-19 21:20:26 -07:00
GWEncoder Developer
47e73caf1a Initial commit: GWEncoder v3.0 - Unified Video Encoding Tool
🎯 Consolidation Complete:
- Merged 4 separate tools into 1 unified binary
- 74% code reduction (2,400 → 600 lines)
- 100% elimination of duplicate code
- All original functionality preserved

📁 Project Structure:
- gwutils/ - Shared utilities package with common functions
- gwencoder/ - Unified encoder with multiple modes
- Documentation and build scripts

🚀 Features:
- 4 encoding modes: --fast, --web, --quick, --tiny
- Unified configuration system
- Consistent progress tracking
- Comprehensive error handling
- Cross-platform support

 Tested with 4K video encoding - all modes working perfectly
2025-10-19 21:20:02 -07:00