mirror of
https://github.com/keylase/nvidia-patch.git
synced 2026-01-24 20:17:03 -05:00
Use 6 instead of 4 sessions to verify, as nvidia increased limit to 5
parent
55a2fc329b
commit
4cdc72a0f7
@ -3,11 +3,13 @@ From [@lars18th](https://github.com/keylase/nvidia-patch/issues/491) and [@relox
|
||||
### Linux
|
||||
```
|
||||
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 -
|
||||
-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 5M -f null - \
|
||||
-vf hwupload -c:a copy -c:v h264_nvenc -b:v 7M -f null -
|
||||
```
|
||||
|
||||
This only requires to have installed a recent ffmpeg version compiled with nvenc enabled. Almost all distributions have it now.
|
||||
@ -21,7 +23,9 @@ ffmpeg.exe -y -hwaccel cuda -hwaccel_output_format cuda ^
|
||||
-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 6M -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 -
|
||||
```
|
||||
## Output
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user