Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
21st March 2021, 17:36 | #421 | Link | |
Registered User
Join Date: Sep 2011
Posts: 362
|
Quote:
I haven't tried CRF on x265 for this video because it's so slow, the bitrate allocation might differ there. CQP is usually the best choice on my GPUs. Sol Levante is 37.8GB big, it was fast when I downloaded. |
|
21st March 2021, 21:33 | #422 | Link | |
Registered User
Join Date: Sep 2011
Posts: 362
|
Quote:
Code:
HERO - Blender Open Movie VMAF speed bitrate Quicksync H265 (27.20.100.9316) Iris Xe CQP FF best 86.56 550 fps 199 kbit Iris Xe CQP best 88.59 167 fps 200 kbit x265 (Staxrip 2.1.9.0) i7-1165G7 slow 84.61 26 fps 200 kbit i7-1165G7 CRF slow 88.18 34 fps 200 kbit |
|
23rd March 2021, 16:54 | #423 | Link | |
Registered User
Join Date: Sep 2011
Posts: 362
|
Quote:
Some more reference points for this. CRF mode only for x264/265, it's much better than bitrate mode for this test case. Code:
HERO - Blender Open Movie VMAF speed bitrate Quicksync H265 (27.20.100.9316) Iris Xe CQP FF best 86.56 550 fps 199 kbit Iris Xe CQP FF balanced 85.66 850 fps 201 Kbit Iris Xe CQP FF speed 76.25 1550 fps 200 Kbit Iris Xe CQP best 88.59 167 fps 200 kbit Iris Xe CQP balanced 87.18 280 fps 201 Kbit Iris Xe CQP speed 86.22 520 fps 200 Kbit x265 (Staxrip 2.1.9.0) i7-1165G7 CRF slower 90.25 8 fps 200 Kbit i7-1165G7 CRF slow 88.18 34 fps 200 kbit i7-1165G7 CRF medium 85.72 56 fps 200 Kbit i7-1165G7 CRF very fast 83.36 73 fps 200 Kbit x264 (Staxrip 2.1.9.0) i7-1165G7 CRF slower 75.37 81 fps 200 Kbit Fixed function speed preset does not support bframes on Iris Xe with current driver, 16 bframes for the other presets. Offset mostly 2:6:8, on some a bit lower depending on the output bitrate. |
|
23rd March 2021, 19:39 | #424 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Quote:
I'd expect HW encoders to lie down and cry (aka have a lot of visible artifacts) without using High Tier or raising level above the minimum required for frame size/fps. x265 placebo falls totally apart doing a 1080p24 Level 4.0 encode. |
|
24th March 2021, 14:15 | #425 | Link | ||
Registered User
Join Date: Oct 2001
Posts: 454
|
Quote:
Quote:
|
||
24th March 2021, 20:41 | #426 | Link |
Registered User
Join Date: Sep 2011
Posts: 362
|
Iris Xe CQP is really good (for a hardware encoder), CBR/VBR are not that good due to some missing features (Lookahead). I wonder if Turing/Ampere can match or beat Iris Xe with its constant rate mode, is there a x265 comparison somewhere, how is it in comparison? Bframes support for fixed function speed preset might come in a later driver because their Linux Media SDK enabled it:
HEVC encode Extended B frames support across all target usage with LowPower on (LowPower= fixed function) Last edited by Yups; 24th March 2021 at 20:44. |
24th March 2021, 21:28 | #427 | Link | |
Registered User
Join Date: Jan 2021
Posts: 10
|
Quote:
|
|
25th March 2021, 00:15 | #428 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Quote:
It's possible it is a better match for x264. With 4x4 CUs, --amp, --rect, and --tskip, x265 can encode details down to a single pixel width, and SAO is quite good at suppressing ringing artifacts for text and line art. Intra-frame prediction with 1/8th pel is also excellent for big pages of text in the same font; basically each repeated letter gets a near-perfect prediction without residual. |
|
25th March 2021, 04:27 | #430 | Link | ||
Registered User
Join Date: Oct 2001
Posts: 454
|
Quote:
2-pass with nvencc: As far as I rmemeber its not really 2-pass in the traiditonal sense of doing the whole file twice / the encoder takes a GOP or other small number of frames and runs them twice internally. The hybrid encoder from mainconcept offloads rate control to the CPU while using nvenc of Turing - but that resultet in much lower speeds (pure nvencc in my tests above 150fps - same input files with the hybrid encoder: around 30fps). Maybe someone with a Turing Encoder wants to jump in and encode the examples from above? I could test my AMD Encoder - but without b-frames we can predict the outcome Quote:
Last edited by ReinerSchweinlin; 25th March 2021 at 13:58. |
||
25th March 2021, 22:13 | #431 | Link |
Registered User
Join Date: Dec 2013
Posts: 349
|
It depends on how its implemented.
Lookahead shows the encoder how things probably will develop short term wise while 2-pass will show an encoder the average rate @ quantizer ( rate@CRF ), among other things, over the whole sequence plus the dirty per frame details. Lookahead is needed for short term decisions like estimating the video buffer development over the next N frames. This can be done up to the end of sequence in the second pass but also over the next N frames with buffering delay in the first pass. If it is implemented good 2-pass can 'almost' negate the lack of lookahead in a first pass. It depends on how well the "rate@quantizer" predictors for short term decisions are done. If one predicts short term frame sizes from rate@quantizer from the previous pass or rate@distortion_cost from the current pass or a mixture of both and how good the overall system is... rate@quantizer correlation might go bad if quantizer differs too much between passes and rate@distortion_cost might be bad due to bad rate correlation with distortion_cost. It depends. 2 pass will always beat 1 pass though, just imagine a sequence with 5000 frames of "bitrate breaking action" followed by 5000 frames of "solid black". Then imagine what happens if you swap the display order of the two 5k parts around. |
25th March 2021, 23:36 | #432 | Link | |
Registered User
Join Date: Sep 2011
Posts: 362
|
Quote:
x265 Bitrate mode is not good for this sample, possibly because of the scrolling credits which is quite long. I will add CRF scores later this week, CRF scores are a lot higher. |
|
26th March 2021, 09:01 | #433 | Link |
Lost my old account :(
Join Date: Jul 2017
Posts: 326
|
Playing a bit bit with quicksync on Xe, when i try to use ICQ mode with lookahead on an i7-1165G7 with QSVEncC i get the following message:
"LA-ICQ (Intelligent Const. Quality with Lookahead) mode is not supported on current platform" Anyone know why? I thought that Xe should have support for most (all?) features? I also noticed that VBV isnt supported in ICQ mode, is that a feature missing on the intel side or on the encoder side? Is it on any roadmap to support it? I'm not a fan of doing encodes that are not vbv compliant with selected level, cause with lookahead I would assume that it should be possible. Last edited by excellentswordfight; 26th March 2021 at 11:10. |
26th March 2021, 16:02 | #434 | Link |
Registered User
Join Date: Sep 2011
Posts: 362
|
Are you trying Lookahead with H265? Intel does not support Lookahead on H265, only with H264 and it works there. About VBV, this is what I found in the Media SDK:
For variable bitrate control, the MaxKbps parameter specifies the maximum bitrate at which the encoded data enters the Video Buffering Verifier (VBV) buffer. If MaxKbps is equal to zero, the value is calculated from bitrate, frame rate, profile, level, and so on. There is a max-bitrate option in QSVEnc, I think it works for VBR and LA_VBR (h264). |
28th March 2021, 13:13 | #435 | Link |
Registered User
Join Date: Sep 2011
Posts: 362
|
As promised, here my x265 CRF results from Sol Levante at extremely low 4k bitrates. The best Iris Xe CQP preset is basically comparable to x265 medium CRF which I believe is the worst I have tested so far (based on the VMAF scores).
Code:
Sol Levante VMAF speed bitrate Quicksync H265 (27.20.100.9316) Iris Xe CQP best 72.45 20 fps 1378 kbit x265 (Staxrip 2.1.9.0) i7-1165G7 CRF slow 75.44 1.7 fps 1365 kbit i7-1165G7 CRF medium 72.63 3.8 fps 1378 Kbit i7-1165G7 CRF very fast 69.30 5.9 fps 1371 Kbit main10 10 bit gop 120 CQP 47_47_50 offset 2_5_10 |
5th April 2021, 01:47 | #437 | Link |
Registered User
Join Date: Sep 2011
Posts: 362
|
Another x265/x265 CRF vs Iris Xe CQP comparison using this sample.
Code:
Intel Demo Clip VMAF PSNR SSIM VQM speed bitrate Quicksync H265 Iris Xe CQP best 91.76 41.85 0.9748 0.790 67 fps 2438 kbit x265 (Staxrip 2.1.9.0) i7-1165G7 CRF slow 93.20 41.90 0.9754 0.800 8 fps 2430 kbit i7-1165G7 CRF medium 91.05 41.35 0.9744 0.861 19 fps 2440 Kbit i7-1165G7 CRF very fast 89.99 40.97 0.9726 0.894 32 fps 2440 Kbit x264 (Staxrip 2.1.9.0) i7-1165G7 CRF slow 89.38 40.21 0.9693 0.974 30 fps 2425 Kbit Open gop 120 for all, as for Iris Xe I was using these settings: CQP 23_24_26 offset 2_5_8 bframes 16 Interestingly Iris Xe wins VQM metric against x265 slow, whereas VMAF/PSNR/SSIM prefer x265 slow over Iris Xe. Personally I prefer VMAF. |
5th April 2021, 21:24 | #438 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Quote:
Of course, all frame-scored metrics suffer from the problem of how to extrapolate from a score for a <10 seconds to a clip of meaningful duration that captures the impact of quality variation throughout a video. |
|
5th April 2021, 22:00 | #439 | Link |
Registered User
Join Date: Sep 2011
Posts: 362
|
I never use 10 seconds clips for this reason. As for your question I prefer their scoring system over the others, a higher score means better quality unlike with VQM. 100 means highest, 0 means lowest quality, it's simple.
With SSIM tiny differences in the scores could have big visual subjective differences, there is a tiny 0.001 difference between slow and medium in my last example. Apart from the scoring system I have more trust in VMAF, I believe it's closer to subjective quality than the others. However I wouldn't say it's always closest to subjective quality, there are surely cases where VQM or SSIM will do better. |
6th April 2021, 19:05 | #440 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Quote:
VMAF is also limited by the sorts of content that was subjectively rated in their training set. Early VMAF didn't seem to have tested different adaptive quantization modes, and so VMAF wasn't accurate in predicting subjective quality between AQ approaches. And it rated dark scenes overly high for some reason, perhaps due to training content limitations. VMAF's underlying objective metrics are all luma-only, so everything gets compared as a black-and-white film. Automated tuning based on VMAF would naturally shift bits from chroma to luma more than is psychovisually appropriate. VMAF scores are also not based on just the encode itself, but are relative to the resolution compared to. For example a 720p encode compared to a 720p source would have a significantly higher VMAF than the exact same stream compared to the source at 1080p. I've not played with the latest VMAF much yet, and I presume it is improved in some ways. Which is good! But anyone giving a VMAF score needs to state what the comparison resolution was and what VMAF version was used. That said, VMAF is absolutely the least-bad metric we've ever had, and is getting better. |
|
|
|