rigaya / QSVEnc

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

--vpp-mctf MFXVPP Failed to initalized vpp + features #90

Closed SiV44 closed 1 year ago

SiV44 commented 1 year ago

Hello @rigaya

When I want to use the --vpp-mctfoption, no matter what the value is set, I always get an error. INFO LOG.txt DEBUG LOG.txt

The second thing are the options IntraRefresh, No Deblock, No GPB (for HEVC PG) and Repeat-PPS.

IntraRefresh was not available before (I compared the --check-features results of one of the earlier versions with the latest one) and here my question is, is this option working and is it possible to add it?

No Deblock is not new but mainly for H.264 encoding, so I would like to know if this option works for HEVC encoding?

No GPB is also nothing new and just like before I would like to know if this option works and can it be added?

The last thing is Repeat-PPS, it doesn't show me this option in the log during encoding, so could this information be missing because it is no longer available for my configuration? and could you add this option to --check-features?

Thank you for your time Regards

rigaya commented 1 year ago

—vpp-mctf is unfortunately currently unstable and I’m not being able to find a way to fix it. It’ll be kept as-is.

Please also note that not all options will be checked by check-features and also not all values in check-features wil be exposed as an option.

I might add option for intra-refresh and repeat pps later.

I’m not sure NoGPB is worth adding new option, as it make only slight difference in size and quality.

SiV44 commented 1 year ago

—vpp-mctf is unfortunately currently unstable and I’m not being able to find a way to fix it. It’ll be kept as-is.

Now I will know to skip this option.

Please also note that not all options will be checked by check-features and also not all values in check-features wil be exposed as an option.

OK, thank you.

I might add option for intra-refresh and repeat pps later.

I’m not sure NoGPB is worth adding new option, as it make only slight difference in size and quality.

Would be great. By the way, could you also add information to the log about the use of --atc-sei in the VUI section?

Thank you for your time and all the information. Regards

rigaya commented 1 year ago

New options are added in QSVEnc 7.21, please have a check with the release information.

SiV44 commented 1 year ago

Thanks for adding new options. Log contains new information, except for --intra-refresh-cycle, but encoding was successful.

C:\StaxRip\Apps\Encoders\QSVEnc>QSVEncC64 --avhw --icq 23 --codec hevc --quality balanced --profile main10 --level 5.1 --tier high --avsync cfr --mbbrc --slices 1 --gop-len 60 --b-pyramid --intra-refresh-cycle 4 --trellis off --ctu 32 --weightp --weightb --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --sar 1:1 --colormatrix bt2020nc --colorprim bt2020 --transfer smpte2084 --atc-sei bt2020-10 --colorrange limited --chromaloc 2 --aud --pic-struct --buf-period --repeat-headers --output-buf 32 --output-thread 1 --input-buf 3 --mfx-thread -1 --async-depth 0 --log-level info --d3d --sao none --fallback-rc --timer-period-tuning --process-codepage utf8 --audio-copy -i "D:\Documents\x264\UHD TEST Files\Sony Swordsmith UHD HFR HDR10 Demo.mp4" -o "E:\StaxRip\Target\Sony Swordsmith.mp4"
--------------------------------------------------------------------------------
E:\StaxRip\Target\Sony Swordsmith.mp4
--------------------------------------------------------------------------------
trellis is not supported on current platform, disabled.
HEVC SAO is not supported on current platform, disabled.
cop.SingleSeiNalUnit value changed off -> auto by driver
cop2.BufferingPeriodSEI value changed 1 -> 0 by driver
cop3.DirectBiasAdjustment value changed off -> auto by driver
cop3.GlobalMotionBiasAdjustment value changed off -> auto by driver
QSVEncC (x64) 7.21 (r2902) by rigaya, Sep 30 2022 12:30:17 (VC 1933/Win)
OS             Windows 10 x64 (19044) [UTF-8]
CPU Info       Intel Core i7-7700HQ @ 2.80GHz [TB: 3.47GHz] (4C/8T) <Kabylake>
GPU Info       Intel HD Graphics 630 (24EU) 350-1100MHz [45W] (31.0.101.2111)
Media SDK      QuickSyncVideo (hardware encoder) PG, 2nd GPU, API v1.35
Async Depth    3 frames
Buffer Memory  d3d11, 22 work buffer
Input Info     avqsv: H.265/HEVC, 3840x2160, 60000/1001 fps
AVSync         cfr
Output         HEVC(yuv420 10bit) main10 @ Level 5.1 (high tier)
               3840x2160p 1:1 59.940fps (60000/1001fps)
               avwriter: hevc, aac => mp4
Target usage   4 - balanced
Encode Mode    ICQ (Intelligent Const. Quality)
ICQ Quality    23
QP Limit       min: 12, max: 63
Trellis        Auto
Ref frames     3 frames
Bframes        3 frames, B-pyramid: on
Max GOP Length 60 frames
VUI            matrix:bt2020nc,colorprim:bt2020,transfer:smpte2084,range:limited,chromaloc:topleft
MasteringDisp  G(0.265000 0.690000) B(0.150000 0.060000) R(0.680000 0.320000)
               WP(0.312700 0.329000) L(1000.000000 0.000100)
atcsei         bt2020-10
Ext. Features  PerMBRC RepeatPPS WeightP WeightB GPB aud pic_struct ctu:32 sao:none

encoded 5160 frames, 14.46 fps, 30527.37 kbps, 313.28 MB
encode time 0:05:56, CPU: 1.1%, GPU: 59.2%, VD: 18.9%
frame type IDR   86
frame type I     86,  total size   19.00 MB
frame type P   1290,  total size  186.97 MB
frame type B   3784,  total size  107.31 MB

Thank you very much for your time and all the improvements. I close this issue.