nVidia NVENC Transcoding Patch and Testing Script
A patch and test script for unlocking consumer card drivers from nVidia (GeForce) which has a
concurrent transcoding limitation of only 2.
It's been possible for a while to patch this in a component of the driver.
I've created a single click patch tool that I update with the offsets from the github link above on a regular basis.
It will do a memory search for the bytes that needs to be patched and do nothing if it can't find them where expected.
The patch will first create a backup if you ever want to go back. The change should take effect immediately.
Updated Dec 2020 for 460.79
It's been possible for a while to patch this in a component of the driver.
I've created a single click patch tool that I update with the offsets from the github link above on a regular basis.
It will do a memory search for the bytes that needs to be patched and do nothing if it can't find them where expected.
The patch will first create a backup if you ever want to go back. The change should take effect immediately.
Updated Dec 2020 for 460.79
Script for testing concurrent transcode limit [ Download ]
@ECHO OFF MODE CON CODEPAGE SELECT=1252 >nul 2>&1 COLOR 1F TITLE nVidia NVENC Encoding Test echo This script is meant to test the maximum number of 2 simultaneous NVENC video encoding sessions on consumer grade cards after patching. echo. cd %~dp0 rmdir /S /Q TranscodeTestResult >nul 2>&1 mkdir TranscodeTestResult echo Start HW transcode test when ready. ffmpeg -encoders | findstr nvenc echo. pause start ffmpeg -y -hwaccel cuvid -c:v h264_cuvid -i samplevid.mp4 -c:v h264_nvenc -preset slow TranscodeTestResult\nvenc1.mkv start ffmpeg -y -hwaccel cuvid -c:v h264_cuvid -i samplevid.mp4 -c:v h264_nvenc -preset slow TranscodeTestResult\nvenc2.mkv start ffmpeg -y -hwaccel cuvid -c:v h264_cuvid -i samplevid.mp4 -c:v h264_nvenc -preset slow TranscodeTestResult\nvenc3.mkv start ffmpeg -y -hwaccel cuvid -c:v h264_cuvid -i samplevid.mp4 -c:v h264_nvenc -preset slow TranscodeTestResult\nvenc4.mkv start ffmpeg -y -hwaccel cuvid -c:v h264_cuvid -i samplevid.mp4 -c:v h264_nvenc -preset slow TranscodeTestResult\nvenc5.mkv cls echo Press 'ENTER' when all are done ... pause >nul 2>&1 echo. dir /O-S TranscodeTestResult | findstr mkv echo. echo If all closed with "out of memory" except 2 then you are limited to 2 concurrent encoding sessions. echo. echo If not even 2 have data in them you have no current NVENC encoding support at all. echo. pause