for upscale video with BSRGAN
This project is based on the BSRGAN repository. For more details, please refer to the original repository: Original BSRGAN Repository: https://github.com/cszn/BSRGAN
- input video at video folder
- split_video.sh
- upscale_video.sh
-
sudo apt update && sudo apt install ffmpeg/brew install ffmpeg -
Make the script executable: Before running the script, you need to grant it execution permissions.
chmod +x split_video.sh chmod +x upscale_video.sh
-
Set your video path: Open the shell script (
split_video.sh) and modify theINPUT_VIDEOvariable to point to your video file. Open the shell script (upscale_video.sh) and modify theINPUT_VIDEOvariable to point to your video file.# Inside your_script_name.sh INPUT_VIDEO="./video/your_video.mp4" # <-- Change this line
- ubuntu20.04.6 LTS
- CPU Core(s) per socket: 10 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 79 Model name: Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz
- GPU tesla M40 (cuda)
- Memorry 126GB
- 3~4 seconds for process 1 png