Skip to content

Instantly share code, notes, and snippets.

@petercunha
Created June 24, 2025 03:47
Show Gist options
  • Select an option

  • Save petercunha/aec172e92753a08c657bf6c0a06c0487 to your computer and use it in GitHub Desktop.

Select an option

Save petercunha/aec172e92753a08c657bf6c0a06c0487 to your computer and use it in GitHub Desktop.
Upscale any video to 4k 60fps using Nvidia VSR and frame generation
# NOTE: This requires an Nvidia GPU and NVEncC64.exe (from https://github.com/rigaya/NVEnc)
NVEncC64.exe `
-c hevc `
--avhw `
-i "input.mp4" `
--output-res 3840x2160 `
--vpp-fruc double `
--vpp-resize "algo=ngx-vsr,vsr-quality=4" `
--output-depth 10 --profile main10 `
--vbr 80000 --max-bitrate 120000 `
--multipass 2pass-full `
--lookahead 32 --lookahead-level 2 `
--aq --aq-strength 12 --aq-temporal `
--ref 6 --bframes 5 --mv-precision Q-pel `
-u uhq `
--audio-copy `
-o "output_4k60.mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment