diff --git a/bin/compress-video-with-crf b/bin/compress-video-with-crf index 4f505c0..407b9c4 100644 --- a/bin/compress-video-with-crf +++ b/bin/compress-video-with-crf @@ -66,7 +66,12 @@ function encode() { if [[ $use_gpu -eq 1 ]]; then # File will be slightly larger than CPU encoding, but it's much faster to transcode and doesn't max out the CPU cores. + + # RTX 3080 ffmpeg -y -stats -loglevel level+error $timing_args -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "$filename.$extension" -c:a copy -c:v h264_nvenc -profile:v high -rc:v vbr_hq -cq:v $crf -b:v 5M -maxrate 5M -max_muxing_queue_size 9999 "$output" + + # GTX 1070 + #ffmpeg -y -stats -loglevel level+error $timing_args -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i "$filename.$extension" -c:a copy -c:v h264_nvenc -profile:v high -rc:v vbr_hq -cq:v $crf -b:v 5M -maxrate 5M -max_muxing_queue_size 9999 "$output" else ffmpeg -y -stats -loglevel level+error $timing_args -i "$filename.$extension" -c:v libx264 -crf $crf -preset veryfast -profile:v high -level 3.0 -strict -2 "$output" fi diff --git a/bin/file-x32dbg.bat b/bin/file-x32dbg.bat new file mode 100644 index 0000000..75d4d09 --- /dev/null +++ b/bin/file-x32dbg.bat @@ -0,0 +1,3 @@ +@echo off + +start %DEV_TOOLS%\x64dbg\release\x32\x32dbg.exe "%~1"