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. |
6th October 2019, 10:36 | #81 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
What is your encoder commandline? Did you add some noise filters? NVEncC h264 or h265 can do much better, I am sure, even for 4Mbps. Last edited by Sharc; 6th October 2019 at 11:01. |
|
6th October 2019, 11:38 | #83 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
FWIW my command line for constant quality AVC (can't do HEVC tests with B-frames with my GPU):
NVEncC64 --avhw -i "carter.mkv" --fps 23.976 --codec h264 --profile high --level auto --sar 1:1 --lookahead 24 --vbrhq 0 --vbr-quality 25.50 --aq --aq-strength 8 --gop-len 24 --ref 3 --nonrefp --bframes 3 --bref-mode middle --mv-precision Q-pel --cabac --deblock --preset quality --colormatrix bt709 --crop 0,140,0,140 --max-bitrate 40000 --bluray --output "Carter.264" |
6th October 2019, 13:11 | #84 | Link | |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Quote:
I added strong de-noisers to all of the encodings. Have faith to Turing's HEVC encoder, but maybe we are asking too much... On the other hand, let's try again. A few more encodings without de-noisers. 4Mbps Simple -Enhanced Quality without de-noisers (224fps, CPU ~24%) https://www.mediafire.com/file/90zfa...4Mbps.mkv/file Advanced -Enhanced Quality without de-noisers (209fps, CPU ~19%) https://www.mediafire.com/file/upu2w...4Mbps.mkv/file Constant -Enhanced Quality without de-noisers (202fps, CPU ~17%) https://www.mediafire.com/file/g76b3...4Mbps.mkv/file Any precious feedback for the differences between the three of them, would be more than welcomed.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
|
6th October 2019, 14:25 | #85 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Quote:
Yes it will be probably 10-20 times slower than NVenc but at least you get great quality regardless of the scene complexity. Besides ,I knew that turing encoder would suck because it didn't pass park_joy test sample (strong detail loss).
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 6th October 2019 at 14:28. |
|
6th October 2019, 15:08 | #86 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
Depending on the frame, any of the 3 may win (details, artefacts). IMO the quality is good enough for watching on TV (probably no viewer will complain), but for archiving or backup one may not tolerate the loss of details but invest in long encoding times, or switch to higher bitrates (8Mbps+). |
|
6th October 2019, 15:30 | #87 | Link | |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Quote:
Time to reveal my "secret sauce" for the NVEncC parameters of John Carter's Challenge. 4Mbps Simple Quality Enhanced: NVEncC64.exe --avhw --vbrhq 4000 --codec h265 --preset quality --profile main10 --output-depth 10 --max-bitrate 20000 --aq-temporal --colormatrix bt709 --colorprim bt709 --transfer bt709 --vpp-edgelevel --vpp-deband --crop 0,140,0,140 Output Info of Simple Quality Enhanced: H.265/HEVC main10 @ Level auto 1920x800p 1:1 23.976fps (24000/1001fps) Encoder Preset quality Rate Control VBRHQ Bitrate 4000 kbps (Max: 20000 kbps) Target Quality auto Initial QP I:20 P:23 B:25 VBV buf size auto Lookahead off GOP length 240 frames B frames 3 frames [ref mode: disabled] Ref frames 3 frames, LTR: off AQ on CU max / min auto / auto Others mv:auto encoded 14405 frames, 223.98 fps, 3909.88 kbps, 280.03 MB encode time 0:01:04, CPU: 24.0, GPU: 15.2, VE: 95.9, GPUClock: 1948MHz, VEClock: 1799MHz Advanced Quality Enhanced: NVEncC64.exe --avhw --vbrhq 4000 --codec h265 --preset quality --profile main10 --output-depth 10 --max-bitrate 20000 --aq-temporal --bref-mode middle --lookahead 32 --strict-gop --colormatrix bt709 --colorprim bt709 --transfer bt709 --vpp-edgelevel --vpp-deband --crop 0,140,0,140 Output info of Advanced Quality Enhanced: H.265/HEVC main10 @ Level auto 1920x800p 1:1 23.976fps (24000/1001fps) Encoder Preset quality Rate Control VBRHQ Bitrate 4000 kbps (Max: 20000 kbps) Target Quality auto Initial QP I:20 P:23 B:25 VBV buf size auto Lookahead on, 32 frames, Adaptive I, B Insert GOP length 240 frames B frames 3 frames [ref mode: middle] Ref frames 3 frames, LTR: off AQ on CU max / min auto / auto Others mv:auto encoded 14405 frames, 208.73 fps, 3922.46 kbps, 280.93 MB encode time 0:01:09, CPU: 18.9, GPU: 15.1, VE: 94.2, GPUClock: 1956MHz, VEClock: 1806MHz Constant Quality Enhanced: NVEncC64.exe --avhw --vbrhq 0 --codec h265 --preset quality --profile main10 --output-depth 10 --max-bitrate 4000 --vbr-quality 0 --aq-temporal --lookahead 16 --colormatrix bt709 --colorprim bt709 --transfer bt709 --vpp-edgelevel --vpp-deband --crop 0,140,0,140 Output info of Constant Quality Enhanced: H.265/HEVC main10 @ Level auto 1920x800p 1:1 23.976fps (24000/1001fps) Encoder Preset quality Rate Control VBRHQ Bitrate 0 kbps (Max: 4000 kbps) Target Quality auto Initial QP I:20 P:23 B:25 VBV buf size auto Lookahead on, 16 frames, Adaptive I, B Insert GOP length 240 frames B frames 3 frames [ref mode: disabled] Ref frames 3 frames, LTR: off AQ on CU max / min auto / auto Others mv:auto encoded 14405 frames, 202.46 fps, 3919.61 kbps, 280.73 MB encode time 0:01:11, CPU: 16.6, GPU: 15.2, VE: 92.9, GPUClock: 1960MHz, VEClock: 1810MHz That's all folks!
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all Last edited by NikosD; 6th October 2019 at 15:32. |
|
6th October 2019, 15:53 | #88 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
It definitely looks better at higher bitrates (obviously), and the speed is amazing . But even at 10Mb/s there is that characteristic high frequency detail loss . It similar to x265's blurring with SAO , or very early x264 development where it tended to blur everything like rmvb. There doesn't seem to be any other options for NVEnc to prevent that (besides much higher bitrate) ? I find x265 doesn't necessarily do so great on many movie/film type sources either, unless you adjust the settings from default
There were a bunch of tests results on the Nvidia forum and various gaming forums when Turing first came out. But nobody posted actual videos, just numbers. And only video games were tested. But still no samples of video games... (Probably not enough time, addicted to "Fortnite" or something ) . But that characteristic high frequency detail loss was in all the posted screenshots too. Fine textures and details would be blurred away . But you typically won't "see" that difference from a typical viewing distance and conditions I'd still like to see more tests, different source types and varied settings . |
6th October 2019, 16:23 | #89 | Link | |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Quote:
I emailed him yesterday, if he is interested in doing so. An SDK update will help, but maybe we have to wait for the next generation of nVidia's HW encoder. Unless Intel decides to catch up!
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
|
6th October 2019, 18:45 | #91 | Link | ||
Lost my old account :(
Join Date: Jul 2017
Posts: 325
|
Quote:
Quote:
edit.had look at the NVEncC64 doc, and it seems like the vpp settings are not part of nvenc, so edgelevel and deband would be pre-filters as well. Last edited by excellentswordfight; 6th October 2019 at 19:16. |
||
6th October 2019, 20:11 | #92 | Link | ||
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Quote:
All of my three encodings of John Carter that had that blur and only them that had that huge GPU usage. And I never encoded Park Run... Crowd Run had very simple settings and probably I have to go back to them...But of course it had also 10 Mbps bitrate. Quote:
Strict GOP changes nothing and lookahead changes almost nothing too. Has been used here and there by me. VPP settings (edge, deband, denoise etc) have default values from the Japanese genius called rigaya and they do show up in the log file, but I didn't include them. Maybe next time if you are a good boy...
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
||
7th October 2019, 09:19 | #93 | Link | |||||
Lost my old account :(
Join Date: Jul 2017
Posts: 325
|
Quote:
So according to the doc: Quote:
Quote:
So I ask again, why do you set strict-gop? Lookahead enables adaptive I and B-frame placement, but you are using it together with a setting that is blocking it to inserting adaptive i-frames (or that is atleast how I interpret it). Quote:
You can ofc find a smoother image "better", but x265 is much closer to the original in those samples and it does not suffer from temporal issues. But as long as there are pre-filters involved evaluating the encoder it self and making comparisons with others is pretty much out the window. Quote:
Last edited by excellentswordfight; 7th October 2019 at 09:42. |
|||||
7th October 2019, 16:32 | #94 | Link | |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Vpp Filters used by my encodings (default values): crop: 0,140,0,140/cspconv(nv12 -> yv12(16bit)) edgelevel: strength 5.0, threshold 20.0, black 0.0, white 0.0 deband: mode 1, range 15, threY 15, threCb 15, threCr 15 ditherY 15, ditherC 15, blurFirst no, randEachFrame no cspconv(yv12(16bit) -> p010) Also, as I posted yesterday, I asked Rigaya if he is going to update NVEncC to SDK v9.1 using multiple reference frames for Turing and he informed me that he released NVEncC v4.51 with exactly that support. Download link: https://github.com/rigaya/NVEnc/rele...cC_4.51_x64.7z From nVidia's docs: Quote:
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
|
7th October 2019, 17:11 | #95 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
It is just insane how many fine details you lose on turing encoder vs x264 veryslow
TURING 4Mbps https://i.imgsafe.org/b6/b63261e37e.png x264 veryslow 4Mbps https://i.imgsafe.org/b6/b633239470.png x264 despite its age is still a sharpness king Ps. x265 is still softer than x264
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 7th October 2019 at 17:18. |
7th October 2019, 17:37 | #96 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
From which of all Turing 4Mbps encodings is this frame taken ?
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
7th October 2019, 17:38 | #97 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
In general yes, at default settings. SAO has a net blurring effect
Usually you need to adjust SAO or disable it, a bit of lower deblock (negative), psy-rd, psy-rdoq in order to "coax" x265 to behave more like x264 in terms of fine higher frequency detail retention . And there is some trade off in terms of more noise, edge artifacts. But some people don't like those fine details. They prefer smoother for whatever reason. My opinion is if the source has those fine details and definition, so the encode should as well (in the "decent" bitrates, good quality encode scenario) Last edited by poisondeathray; 7th October 2019 at 17:46. |
7th October 2019, 17:58 | #98 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
John_carter_enhanced_quality_4Mbps.mkv
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
7th October 2019, 18:55 | #99 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Those first three encodings were a little "broken" I think.
Please, take a look at any of the last three encodings without denoising filtering.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
7th October 2019, 19:13 | #100 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
Atak, your x264 screenshot does not match the x264-veryslow-4Mbps.mkv uploaded How did you take the screenshot ? MadVR ? Was there some other filtering in the display chain ? |
|
|
|