Developed as a Final Year Project (FYP) within the Department of Software Engineering at the University of Engineering and Technology, Taxila.
VoCloneTranslate redefines automated localized media dubbing by replacing flat, robotic text-to-speech outputs with an expressive, chained neural pipeline that dynamically preserves individual speaker characteristics across language boundaries while matching video frame visemes.
The platform processes input video media streams through five distinct asynchronous processing blocks:
โโโ app.py # Primary FastAPI Gateway Router & Interface Endpoints
โโโ base_en_model.py # Core Translation Orchestration & Structural Configs
โโโ xtts_worker.py # Asynchronous Execution Hub & Subprocess Pipeline Workers
โโโ requirements.txt # Environment Dependency Matrix Blueprint
โโโ .gitignore # Strict Local Cache and Heavy Checkpoint Exclusion Mapping
Due to git file boundary thresholds (100 MB ceiling), the large production model weights and specialized validation datasets are tracked externally via dedicated deep learning hosting channels:
โ Production Model Checkpoints: โ Download Fine-Tuned XTTS-v2 Model Weights โ Validation Media Dataset: โ Access Customized Urdu Speech Datasets Repository
Engineered specifically to execute within tightly constrained hardware infrastructure envelopes:
โ Memory Constraints: Implemented targeted model quantization layers (int8_float16 for ASR / FP16 for translation weights), restricting the maximum operational footprint down to a clean ~5.3 GB VRAM. This allows the complete pipeline to run on a single standard NVIDIA T4 GPU. โ Execution Latency Profile (60-Second Video Clip Benchmark):
Audio Extraction (FFmpeg): 0.8s
Speech Recognition (OpenAI Whisper): 11.2s
Neural Machine Translation (NLLB-200): 5.4s
Voice Cloning Synthesis (XTTS-v2): 10.1s
Audio-Visual Rendering (FFmpeg Multiplexer): 1.2s
Total Core Processing Time: 28.7 Seconds
Clone the Codebase & Initialize Dependencies:
git clone https://github.com/Mkaify/VocloneTranslate.git
cd VocloneTranslate
pip install -r requirements.txt
Download Asset Weights: Ensure the downloaded model files from Hugging Face are placed into the local directory parameters defined in your application environment file (.env).
Launch Production API Service:
uvicorn app:app --host 0.0.0.0 --port 8000 --reload
โ Institution: University of Engineering and Technology, Taxila (UET Taxila) โ Department: Software Engineering Department โ Project Identifiers: Registration No: 22-SE-02 (Muhammad Kaif ur Rehman) & Project Evaluation Team โ Project Supervisor: Engr. Dr. Marriam Nawaz โ Final Evaluation Schedule: July 2, 2026
4 commits
Python
65.8%
JavaScript
34.2%
Developed as a Final Year Project (FYP) within the Department of Software Engineering at the University of Engineering and Technology, Taxila.
VoCloneTranslate redefines automated localized media dubbing by replacing flat, robotic text-to-speech outputs with an expressive, chained neural pipeline that dynamically preserves individual speaker characteristics across language boundaries while matching video frame visemes.
The platform processes input video media streams through five distinct asynchronous processing blocks:
โโโ app.py # Primary FastAPI Gateway Router & Interface Endpoints
โโโ base_en_model.py # Core Translation Orchestration & Structural Configs
โโโ xtts_worker.py # Asynchronous Execution Hub & Subprocess Pipeline Workers
โโโ requirements.txt # Environment Dependency Matrix Blueprint
โโโ .gitignore # Strict Local Cache and Heavy Checkpoint Exclusion Mapping
Due to git file boundary thresholds (100 MB ceiling), the large production model weights and specialized validation datasets are tracked externally via dedicated deep learning hosting channels:
โ Production Model Checkpoints: โ Download Fine-Tuned XTTS-v2 Model Weights โ Validation Media Dataset: โ Access Customized Urdu Speech Datasets Repository
Engineered specifically to execute within tightly constrained hardware infrastructure envelopes:
โ Memory Constraints: Implemented targeted model quantization layers (int8_float16 for ASR / FP16 for translation weights), restricting the maximum operational footprint down to a clean ~5.3 GB VRAM. This allows the complete pipeline to run on a single standard NVIDIA T4 GPU. โ Execution Latency Profile (60-Second Video Clip Benchmark):
Audio Extraction (FFmpeg): 0.8s
Speech Recognition (OpenAI Whisper): 11.2s
Neural Machine Translation (NLLB-200): 5.4s
Voice Cloning Synthesis (XTTS-v2): 10.1s
Audio-Visual Rendering (FFmpeg Multiplexer): 1.2s
Total Core Processing Time: 28.7 Seconds
Clone the Codebase & Initialize Dependencies:
git clone https://github.com/Mkaify/VocloneTranslate.git
cd VocloneTranslate
pip install -r requirements.txt
Download Asset Weights: Ensure the downloaded model files from Hugging Face are placed into the local directory parameters defined in your application environment file (.env).
Launch Production API Service:
uvicorn app:app --host 0.0.0.0 --port 8000 --reload
โ Institution: University of Engineering and Technology, Taxila (UET Taxila) โ Department: Software Engineering Department โ Project Identifiers: Registration No: 22-SE-02 (Muhammad Kaif ur Rehman) & Project Evaluation Team โ Project Supervisor: Engr. Dr. Marriam Nawaz โ Final Evaluation Schedule: July 2, 2026
4 commits
Python
65.8%
JavaScript
34.2%