OpenImagingLab / OpenImagingLab/FlashVSR
FlashVSR-Pro: An Enhanced Implementation with Docker, Tiling, audio support and NVENC
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 152
- PR merge metrics
- No merged PRs in 30d
Description
Hi @FlashVSR-Authors,
First of all, thank you for open-sourcing such an impressive work! The quality and speed of FlashVSR are truly remarkable.
I have been working on an enhanced implementation based on this repository to make it more deployment-friendly and feature-rich for production use. I've created FlashVSR-Pro, and I'd like to share it with the community for anyone who might need these features.
Repository: https://github.com/LujiaJin/FlashVSR-Pro
Key Features & Enhancements:
- 🐳 One-Click Docker Setup: A fully configured Dockerfile that automates the environment setup, specifically handling the complex compilation of the Block-Sparse-Attention backend.
- 💾 Low VRAM Support: Implemented Tiled Inference for both DiT and VAE. This allows high-resolution inference on consumer GPUs (e.g., RTX 4090/3090) without OOM.
- 🧩 Unified Inference Script: Replaced separate scripts (
full,tiny,tiny-long) with a single, robustinfer.pythat handles all modes. - 🎵 Audio Preservation: Automatically transfers the audio track from the input video to the output.
- ⚡ Hardware Acceleration: Added NVENC hardware video encoding support and a Zero-Copy pipeline, significantly reducing CPU load and I/O bottlenecks during saving.
- 📏 Precision Alignment: Fixed frame count and resolution mismatches (smart padding) to ensure Output Duration == Input Duration exactly.
I hope this "Pro" version can help users who are struggling with environment setup (especially the CUDA kernels) or VRAM limitations.
Feel free to check it out or reference it if you find it useful!
Acknowledgement:
Special thanks to @lihaoyun6 and their work on FlashVSR_plus, which provided valuable inspiration for the Audio Preservation and Tiled DiT Inference features implemented in this Pro version.
Best regards,
LujiaJin
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue links to the external FlashVSR-Pro repository and describes Docker setup, tiled inference, audio preservation, unified inference, NVENC encoding, and precision alignment. Start by reviewing that repository and the corresponding implementation; no specific file, test, acceptance criteria, or requested change is provided here.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- computer-vision, devops, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100