Workflow for upscaling and interpolating videos with NVIDIA TensorRT acceleration
A workflow for upscaling and interpolating videos with NVIDIA TensorRT acceleration.
Download and extract all external dependencies:
Source | Files | Destination |
---|---|---|
vsmlrt-windows-x64-cuda.v13.7z | * | .\runtime\vsmlrt\ |
python-3.10.10-embed-amd64.zip | * | .\runtime\ |
VapourSynth64-Portable-R61.7z | * | .\runtime\ |
vsutil-0.8.0.zip | .\vsutil\ | .\runtime\ |
vivtc-r1.7z | .\win64\VIVTC.dll | .\runtime\vapoursynth64\plugins\ |
HandBrakeCLI-1.6.1-win-x86_64.zip | .\HandBrakeCLI.exe | .\runtime\ |
Download and install plugins:
cd runtime
.\python.exe .\vsrepo.py -p update
.\python.exe .\vsrepo.py -p install ffms2 havsfunc akarin
Start upscaling and encoding:
& .\upscale.ps1 "E:\converted\" "E:\Original\*.mp4"
& .\encode.ps1 "E:\encoded\" "E:\converted\*.mp4"