rigaya / QSVEnc

QSVによる高速エンコードの性能実験
http://rigaya34589.blog135.fc2.com/blog-category-10.html
Other
314 stars 28 forks source link

Error during encode #174

Open MrWGT opened 1 year ago

MrWGT commented 1 year ago

I'm encoding my disks to hevc but one disk refuses du encode with this error:

PG is not supported on this platform, switched to FF mode. adaptiveRef is not supported on current platform, disabled. AdaptiveCQM is not supported on current platform, disabled. cop.SingleSeiNalUnit value changed off -> auto by driver cop3.DirectBiasAdjustment value changed off -> auto by driver cop3.GlobalMotionBiasAdjustment value changed off -> auto by driver QSVEncC (x64) 7.48 (r3115) by rigaya, Aug 8 2023 10:16:16 (VC 1935/Win) OS Windows 11 x64 (22621) [UTF-8] CPU Info 13th Gen Intel Core i9-13900K [5.52GHz] (8P+16E,24C/32T) GPU Info Intel Arc A380 Graphics (128EU) 300-2550MHz (31.0.101.4826) Media SDK QuickSyncVideo (hardware encoder) FF, 1st GPU, API v2.09 Async Depth 3 frames Hyper Mode off Buffer Memory d3d11, 166 work buffer Input Info avqsv: H.264/AVC, 1920x1080, 24000/1001 fps VPP cspconv(nv12 -> yv12(16bit)) convolution3d: matrix standard, mode normal threshold spatial luma 0, chroma 1, temporal luma 0, chroma 2 cspconv(yv12(16bit) -> p010) Denoise auto_bdrate cspconv(p010 -> yv12(16bit)) edgelevel: strength 3.0, threshold 20.0, black 0.0, white 0.0 cspconv(yv12(16bit) -> p010) Detail Enhancer, strength 15 AVSync cfr Output HEVC(yuv420 10bit) main10 @ Level 5 1920x1080p 1:1 23.976fps (24000/1001fps) avwriter: hevc, #1:ac3/5.1(side) -> eac3/5.1(side)/384kbps, subtitle#1, subtitle#2, chap => matroska Target usage 1 - best Encode Mode ICQ (Intelligent Const. Quality) ICQ Quality 17 QP Limit min: 22, max: 63 Ref frames 4 frames Bframes 6 frames, B-pyramid: on Max GOP Length 72 frames VUI chromaloc:left Ext. Features PerMBRC RepeatPPS WeightP WeightB GPB AdaptiveLTR tskip ctu:64 sao:all [0.3%] 217 frames: 121.77 fps, 986 kb/s, remain 0:11:06, GPU 65%, VD 99%, est out size 398.4MB [0.4%] 437 frames: 169.05 fps, 832 kb/s, remain 0:10:57, GPU 66%, VD 99%, est out size 461.1MB [0.5%] 654 frames: 193.09 fps, 2413 kb/s, remain 0:10:52, GPU 65%, VD 100%, est out size 1518.2MB [0.6%] 869 frames: 207.35 fps, 3153 kb/s, remain 0:10:58, GPU 65%, VD 99%, est out size 2152.5MB [0.7%] 1080 frames: 216.26 fps, 4273 kb/s, remain 0:11:02, GPU 65%, VD 99%, est out size 3064.1MB [0.9%] 1288 frames: 222.18 fps, 5205 kb/s, remain 0:11:05, GPU 63%, VD 99%, est out size 3854.5MB [1.0%] 1502 frames: 227.58 fps, 5057 kb/s, remain 0:11:00, GPU 65%, VD 99%, est out size 3816.0MB [1.1%] 1712 frames: 231.29 fps, 5225 kb/s, remain 0:11:02, GPU 64%, VD 99%, est out size 4023.0MB [1.2%] 1926 frames: 234.76 fps, 5108 kb/s, remain 0:11:03, GPU 64%, VD 100%, est out size 4004.5MB [1.3%] 2140 frames: 237.62 fps, 4868 kb/s, remain 0:11:04, GPU 65%, VD 99%, est out size 3872.7MB [1.5%] 2356 frames: 240.21 fps, 4808 kb/s, remain 0:11:01, GPU 65%, VD 100%, est out size 3850.8MB [1.6%] 2570 frames: 242.20 fps, 4758 kb/s, remain 0:11:02, GPU 65%, VD 99%, est out size 3851.8MB [1.7%] 2784 frames: 243.93 fps, 4672 kb/s, remain 0:10:59, GPU 65%, VD 99%, est out size 3796.5MB [1.8%] 3000 frames: 245.62 fps, 4562 kb/s, remain 0:10:59, GPU 66%, VD 99%, est out size 3740.7MB [1.9%] 3214 frames: 246.95 fps, 4613 kb/s, remain 0:10:56, GPU 65%, VD 100%, est out size 3791.6MB [2.1%] 3429 frames: 248.19 fps, 4812 kb/s, remain 0:10:57, GPU 66%, VD 99%, est out size 3981.8MB [2.2%] 3642 frames: 249.16 fps, 4963 kb/s, remain 0:10:57, GPU 65%, VD 99%, est out size 4130.3MB [2.3%] 3853 frames: 249.90 fps, 5373 kb/s, remain 0:10:57, GPU 66%, VD 100%, est out size 4491.0MB [2.4%] 4065 frames: 250.63 fps, 5630 kb/s, remain 0:10:55, GPU 65%, VD 100%, est out size 4707.6MB [2.5%] 4280 frames: 251.47 fps, 5840 kb/s, remain 0:10:55, GPU 66%, VD 99%, est out size 4906.3MB Break in task MFXVPP: undefined behavior.. encoded 4406 frames, 249.74 fps, 5942.79 kbps, 130.19 MB encode time 0:00:17, CPU: 0.5, GPU: 65.0, VD: 99.3 frame type IDR 62 frame type I 62, total size 7.64 MB frame type P 673, total size 49.63 MB frame type B 3671, total size 72.92 MB

QSVEncC.exe finished with error!

Command line is: "D:\VideoTools\QsvEnc748\QSVEncC64.exe" --avhw -i "P:\Rip\old\DVD, BD\xxxxx\title_t00.mkv" --video-metadata clear --metadata clear --chapter-copy -c hevc --icq 17 --bframes 6 --ref 4 --quality best --la-depth 99 --level 5.0 --chromaloc auto --colorrange auto --colormatrix auto --transfer auto --colorprim auto --dhdr10-info copy --output-depth 10 --avsync cfr --adapt-ref --adapt-ltr --adapt-cqm --audio-metadata 1?language=ger --audio-codec 1?eac3 --audio-bitrate 1?384 --audio-metadata 1?clear --audio-metadata 1?title="Surround 5.1" --audio-metadata 1?handler="Surround 5.1" --audio-disposition 1?default --sub-copy 1,2 --sub-disposition 1?unset --sub-metadata 1?language='ger' --sub-disposition 2?unset --sub-metadata 2?language='ger' -m default_mode:infer_no_subs -d 1 --gop-len 72 --mbbrc --vpp-denoise mode=auto_bdrate --vpp-detail-enhance 15 --vpp-edgelevel strength=3 --vpp-convolution3d ythresh=0,cthresh=1,t_ythresh=0,t_cthresh=2 -o "P:\Rip\xxxxx.mkv"

Removing "--vpp-denoise mode=auto_bdrate " resolves the problem. Also changing to "--vpp-denoise mode=pre,strength=30" works well.

Discograp commented 11 months ago

try this 265 8/10-bit main = balanced with CQ

other modes are disabled for 265

if you want ICQ or ICQ Lookahead etc. then choose 264

at 264 all modes work without errors

quamt commented 10 months ago

@MrWGT

All supported modes will show when you run QSVEncC --check-features-html in a nice HTML view. And at least for the A770, the ICQ option is listed in H265.

The problem was only with --vpp-denoise mode=auto_bdrate But the version used at the time of the issue was 7.48, maybe try a newer version and see if the issue persists.