File tree Expand file tree Collapse file tree 3 files changed +5
-25
lines changed Expand file tree Collapse file tree 3 files changed +5
-25
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if (( $# == 1 )); then
23
23
# gource --multi-sampling --output-framerate 60 --seconds-per-day 2.0 --auto-skip-seconds 0.1 ./ -1920x1080 -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec hevc_nvenc -preset slow -b:v 64M -maxrate 96M -bufsize 384M $1
24
24
gource --multi-sampling --output-framerate 60 --seconds-per-day 1.0 \
25
25
--auto-skip-seconds 0.2 ./ -1920x1080 -o - | ffmpeg -y -r 60 \
26
- -f image2pipe -vcodec ppm -i - -vcodec hevc_nvenc -rc vbr_hq -cq 6 " $1 "
26
+ -f image2pipe -vcodec ppm -i - -vcodec hevc_nvenc -preset:v p7 -tune:v hq -rc:v vbr -cq:v 18 -b:v 0 " $1 "
27
27
else
28
28
echo " Usage: ${0##*/ } <ouput file>"
29
29
exit 1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 13
13
# // Modified: 24, July, 2021 //
14
14
# // file: - //
15
15
# // - //
16
- # // Source: - //
16
+ # // Source: https://superuser.com/questions/1236275/how-can-i-use-crf-encoding-with-nvenc-in-ffmpeg/1236387#1236387 //
17
17
# // OS: ALL //
18
18
# // CPU: ALL //
19
19
# // //
20
20
# //////////////////////////////////////////////////////////////
21
21
22
22
if (( $# == 2 )) ; then
23
- ffmpeg -strict 2 -hwaccel auto -i " $1 " -c:v hevc_nvenc -preset slow -rc vbr_hq -cq 18 -qmin 16 -qmax 20 -profile:v main10 -b:v 0K -c:a copy -map 0 " $2 "
23
+ # Old CUDA version
24
+ # ffmpeg -strict 2 -hwaccel auto -i "$1" -c:v hevc_nvenc -preset slow -rc vbr_hq -cq 18 -qmin 16 -qmax 20 -profile:v main10 -b:v 0K -c:a copy -map 0 "$2"
25
+ ffmpeg -strict 2 -i " $1 " -c:v hevc_nvenc -preset:v p7 -tune:v hq -rc:v vbr -cq:v 18 -b:v 0 -c:a copy -map 0 " $2 "
24
26
fi
You can’t perform that action at this time.
0 commit comments