Automated batch video transcoding using FFmpeg — scans directories, analyzes streams, and transcodes to HEVC/H.265 with AI-powered subtitle and audio features.
- Batch processing — directory scanning with caching and parallel workers
- Full FFmpeg wrapper — probe, transcode, remux, corruption detection
- HEVC/H.265 encoding — configurable BPP, CRF, 10-bit, hardware acceleration
- Smart file management — auto-renaming, size-guard logic (prevents oversized output)
- Subtitle management — multi-language extraction, OCR via Tesseract, AI-generated subs
- AI integration — optional LLM queries and Whisper-based audio transcription
- Artifact generation — matrix thumbnails, speed previews, short clips
- YAML configuration — all settings via
config.yaml - Resume support — concise resume/report at exit
python Trans_code.pyLaunches a folder picker (or uses config root) → scans for video files → processes through FFmpeg.
| File | Description |
|---|---|
Trans_code.py |
Main orchestrator — scan, analyze, transcode |
FFMpeg.py |
Full FFmpeg wrapper (2100+ lines) |
Subtitle_Manager.py |
Multi-language subtitle extraction and management |
Utils.py |
Shared utilities |
config.yaml |
YAML configuration |
config_loader.py |
Configuration loader |
pip_spy_max.py |
Dependency analyzer |
- FFmpeg / FFprobe (system) — video processing
faster-whisper— AI audio transcriptionpsutil— system monitoringrich— terminal outputtorch,transformers— AI featurestqdm— progress barspytest— testing
MIT