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
2323 # 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
2424 gource --multi-sampling --output-framerate 60 --seconds-per-day 1.0 \
2525 --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 "
2727else
2828 echo " Usage: ${0##*/ } <ouput file>"
2929 exit 1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1313# // Modified: 24, July, 2021 //
1414# // file: - //
1515# // - //
16- # // Source: - //
16+ # // Source: https://superuser.com/questions/1236275/how-can-i-use-crf-encoding-with-nvenc-in-ffmpeg/1236387#1236387 //
1717# // OS: ALL //
1818# // CPU: ALL //
1919# // //
2020# //////////////////////////////////////////////////////////////
2121
2222if (( $# == 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 "
2426fi
You can’t perform that action at this time.
0 commit comments