Skip to content

Commit 1325339

Browse files
committed
comfyComp: Bugfix, ffmpeg 6 fails on 10 series and below
With ffmpeg6 the default of b_ref_mdoe is on, even if bf is 0.
1 parent 90f60ff commit 1325339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ComfyComp.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ write-host "HEVC nvenc, VBR-CQ, adapts to nvenc hardware capabilities. Easily ad
2222
write-host "`r"
2323

2424
#testing for nvenc
25-
ffmpeg -hide_banner -loglevel 0 -f lavfi -i smptebars=duration=1:size=1920x1080:rate=30 -c:v hevc_nvenc -t 0.1 -f null -
25+
ffmpeg -hide_banner -loglevel 0 -f lavfi -i smptebars=duration=1:size=1920x1080:rate=30 -b_ref_mode 0 -c:v hevc_nvenc -t 0.1 -f null -
2626
if (!$?) {
2727
write-host "Nvenc HEVC is NOT supported on this card, sorry!" -ForegroundColor Red
2828
write-host "The script will now exit" -ForegroundColor Yellow -BackgroundColor Black

0 commit comments

Comments
 (0)