Updated Verify NVENC patch (markdown)

Jai Luthra 2024-05-07 17:19:56 +05:30
parent 073a354887
commit a576717600

@ -9,12 +9,15 @@ Or alternatively directly run the following ffmpeg command:
```
ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda \
-f lavfi -i testsrc -t 50 \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 4M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 1M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 8M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 6M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 2M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 3M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 4M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 5M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 7M -f null -
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 6M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 7M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 8M -f null - \
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 9M -f null -
```
This only requires to have installed a recent ffmpeg version compiled with nvenc enabled. Almost all distributions have it now.
@ -30,12 +33,15 @@ Or alternatively manually run the following command:
```
ffmpeg.exe -y -hwaccel cuda -hwaccel_output_format cuda ^
-f lavfi -i testsrc -t 50 ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 4M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 1M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 8M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 6M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 2M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 3M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 4M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 5M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 7M -f null -
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 6M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 7M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 8M -f null - ^
-vf hwupload -fps_mode passthrough -c:a copy -c:v h264_nvenc -b:v 9M -f null -
```
## Output