How in801fo/mass-video-compressor works
This Windows command-line utility takes a folder path, discovers MP4 files, skips names marked as already compressed, and invokes FFmpeg once per remaining file. It probes for CUDA support and selects a hardware or software encoder. The graph reflects the single sampled runtime file and README-documented usage; external tools and devices are modeled separately.
Main entry points: Program.cs CLI orchestration
Components 10
Command workflow
- CLI orchestration
Program.cs
Video processing
- GPU detection
Program.cs - MP4 discovery
Program.cs - Name filtering
Program.cs - Video compression
Program.cs
External runtime
- Windows command shell
- CUDA runtime
- FFmpeg
Other components
- CLI user
- Input/output folder
Connections 13
- CLI user → CLI orchestration: provides folder
README.md - CLI orchestration → GPU detection: probes devices
Program.cs - GPU detection → CUDA runtime: checks CUDA
Program.cs - CLI orchestration → MP4 discovery: calls
Program.cs - MP4 discovery → Windows command shell: runs listing
Program.cs - MP4 discovery → Input/output folder: lists MP4 files
Program.cs - MP4 discovery → CLI orchestration: returns paths
Program.cs - CLI orchestration → Name filtering: calls
Program.cs - Name filtering → CLI orchestration: returns names
Program.cs - CLI orchestration → Video compression: calls
Program.cs - Video compression → CUDA runtime: selects encoder
Program.cs - Video compression → FFmpeg: starts process
Program.cs - FFmpeg → Input/output folder: writes output