Log in

View Full Version : madVR - high quality video renderer (GPU assisted)


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 [930] 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329

mitchmalibu
11th October 2017, 14:47
We need Dolby Vision support for mpc BADLY there is no other way to put it

And what content are you so eager to watch in DV ?

d3rd3vil
11th October 2017, 14:51
Testfiles and upcoming UHD DV Blurays, when the Disc to HDD process works like with Blurays

ashlar42
11th October 2017, 15:08
Testfiles and upcoming UHD DV Blurays, when the Disc to HDD process works like with BluraysI guess mitchmalibu meant that there's still some time before the process becomes easy and widespread enough to qualify for "we need DV badly". :)

d3rd3vil
11th October 2017, 15:09
Well that depends. All in all DV is out for 1,5-2 years even if its only with testfiles :) I can only pray its happening soon not 2019...

nevcairiel
11th October 2017, 15:14
At this point even playing HDR10 from a PC is still hit-or-miss most of the time, and playing Dolby Vision properly with its dynamic metadata is likely entirely impossible for the forseeable future.
If you truely care about playing something like this, I can only recommend to get an actual Blu-ray players. :p

d3rd3vil
11th October 2017, 15:15
....is likely entirely impossible for the forseeable future.

Thank you very much for the confidence. I always thought a modern pc is unbeatable. But apparently that Oppo 203 player knows how to work with DV as well. Pc defeated, lost big time

mitchmalibu
11th October 2017, 15:47
Thank you very much for the confidence. I always thought a modern pc is unbeatable. But apparently that Oppo 203 player knows how to work with DV as well. Pc defeated, lost big time
Frankly, I have a DV compatible TV and wasn't blown away by the few test files I've seen in DV. Modern TV sets are still not able to cope up with the specs HDR and DV are pushing (my oled barely pushes 750 nits max ...), so it's pretty pointless as of now to say that PC lost on something that is, today, not really relevant anyway...

d3rd3vil
11th October 2017, 15:54
Especially on an Oled its important and not on any extremely bright LCDs

videobruce
11th October 2017, 16:29
46,500 posts???? Sheesh...............

I did a search for "Light Alloy" in this thread and only found one hit. They (LA) claim it works with this software, but on madvr's home page, Light Alloy Player is not listed. There are at least two issues with it, but it may be LA's software. Anyone else use LA here?

bitterman
11th October 2017, 16:55
Hybrid decoding (like HEVC on Kepler cards) is generally best to stay away from. Its usually slow and often presents problems if the GPU is under high load (ie. with high madVR settings).

I'm not really familiar with the term "Hybrid decoding", but I assume you mean that with Kepler cards it's best to just untick HEVC in LAV video?

I never said it shouldn't work. I'm just saying it's not worth the bother. It works just fine with software decoding, doesn't it?

Yes, it works just fine with software decoding.


If you still want, you can cut a couple of minutes sample (with mkvtoolnix) and upload it somewhere. (But make sure first that you still have the problem with that sample.)

It happens sporadically. There seem to be no real pattern when it happens. So making a sample won't be worth the trouble, unfortunately.

nevcairiel
11th October 2017, 16:58
I'm not really familiar with the term "Hybrid decoding", but I assume you mean that with Kepler cards it's best to just untick HEVC in LAV video?

Yes. From LAVs side its unfortunately not really possible to know if its a full hardware decoder or a Hybrid decoder, the driver exposes them the same way.

Asmodian
11th October 2017, 17:00
I did a search for "Light Alloy" in this thread and only found one hit. They (LA) claim it works with this software, but on madvr's home page, Light Alloy Player is not listed. There are at least two issues with it, but it may be LA's software. Anyone else use LA here?

You did not find the madVR home page.. that page is not madshi's. Sorry, not familiar with LA.

Can somone please explain to me what happens in a situation where windows (win7) only allows one to set 12bit HDMI output in its drivers control panel (nvidia) , madVR only have a setting of 10bit or greater and D3D11 10bit?

Your GPU adds two 0 bits to the data from madVR to convert 10 to 12-bit. This is lossless.

ashlar42
11th October 2017, 17:05
Your GPU adds two 0 bits to the data from madVR to convert 10 to 12-bit. This is lossless.Nice info. This has been a doubt of mine for quite some time. Is it an officially sourced info?

aufkrawall
11th October 2017, 17:15
No one knows for sure until measured, but it'd be absolutely stupid if it wasn't lossless since 10 bit is a subset of 12 bit -> no 10 bit result needs to be changed in order to be portrayed by 12 bit.

x7007
11th October 2017, 17:55
Can anyone say if the default CPU queue is 16 and GPU 8 ? this is the best way to put it ?. always 2x of each other ? but what happens if we want 128 cpu queue and gpu can only be 24 .

huhn
11th October 2017, 18:05
leave them at default except you have real problems.

Asmodian
11th October 2017, 18:18
Can anyone say if the default CPU queue is 16 and GPU 8 ? this is the best way to put it ?. always 2x of each other ? but what happens if we want 128 cpu queue and gpu can only be 24 .

CPU a bit higher than GPU, 2x is not important at all.

Razoola
11th October 2017, 18:26
Is there an official statment from nvidia to confirm this 10 / 12 bit handling as I don't think I have ever seen it confirmed anywhere?

It is really annoying that when a TV supports both 10 bit and 12bit, the nvidia control panel will not give 10bit as an option.

Given madVR is now adding custom resolutions, does anyone know if there is some way madVR can hack/fool nvidia drivers to force 10bit output over HDMI? Maybe this could be done by somehow hiding the fact the TV supports 12bit?

I guess a developer may have a better chance of getting info from nvidia than the average joe.

nevcairiel
11th October 2017, 18:48
Is there an official statment from nvidia to confirm this 10 / 12 bit handling as I don't think I have ever seen it confirmed anywhere?

It is really annoying that when a TV supports both 10 bit and 12bit, the nvidia control panel will not give 10bit as an option.

Given madVR is now adding custom resolutions, does anyone know if there is some way madVR can hack/fool nvidia drivers to force 10bit output over HDMI? Maybe this could be done by somehow hiding the fact the TV supports 12bit?

I guess a developer may have a better chance of getting info from nvidia than the average joe.

Its not something worth bothering about, though.

With bitdepth its always quite simple - as long as your data fits into it, you don't need to ever worry - that goes for both Audio and Video. 10-bit fits into 12-bit, so its all fine.

Asmodian
11th October 2017, 19:29
Is there an official statment from nvidia to confirm this 10 / 12 bit handling as I don't think I have ever seen it confirmed anywhere?

We really do not need this "confirmed" there is only one way to convert 10 bit to 12 bit and it is very straight forward.

Razoola
11th October 2017, 20:13
We really do not need this "confirmed" there is only one way to convert 10 bit to 12 bit and it is very straight forward.

You would think so but you never know given the way nvidia work and some of the bug in their drivers they never bother to fix. It would be really nice to be able to force a 10bit mode also and then compare side by side against 12bit to be sure.

el Filou
11th October 2017, 21:07
It seems GeForce cards support 10-bit on DisplayPort. Buy yourself a 10-bit monitor and test. :D

tp4tissue
11th October 2017, 21:55
Hi guyz.

Just borrowed a gpu that can playback 4K remuxes.

Now.. The color conversion..


Is there a way to set this to a reference setting ?

Because what's happening is, I'm playing with the nits setting in hdr to sdr, along with Luminance compression On vs Off, and I'm really not sure how to eyeball this,

I can only compare it to the 1080p remuxes i have of the same movie, but the difference between mastering makes the task kind of a confounded.


How are you guys setting the hdr to sdr , just eyeballing it?


So far with Luminace compression OFF and nits set at 270, seems as close to the 1080p remux as I can get using these settings alone.

Asmodian
11th October 2017, 22:45
You do not want to match the sdr masters, they are simply too different.

I used to use the madVR defaults with the nits set by eye. Deciding how to calibrate for HDR is still tricky and mastering doesn’t seem to match what standards we have. :p

leeperry
12th October 2017, 00:19
OMG, santa-madshi is back at it and he's quite a bit early too http://forum-images.hardware.fr/images/perso/alhex.gif

been running tests with the new settings on 1/4 DVD and 1/4 1080p noisy footage @1080p and so far:
-random noise doesn't help at all
-compression artifacts does miracles but 1 isn't quite enough and 2 is too soft so I'd appreciate more granularity here please
-compression artifacts chroma doesn't improve picture clarity when using quad NGU high + both chroma & luma SR + SSIM 2D 100% LL AB25% on my 4:2:2 Sammy TV
-because those new settings are upfront in the "processing" tree we can't quite make profiles for them apparently, hopefully I can leave "compression artifacts" at 1 and call it a day? :o

:thanks:

tp4tissue
12th October 2017, 00:36
You do not want to match the sdr masters, they are simply too different.

I used to use the madVR defaults with the nits set by eye. Deciding how to calibrate for HDR is still tricky and mastering doesn’t seem to match what standards we have. :p


I think compressing the highlights might be the wrong approach..

Because that's like saying, if you had a high pitch noise OUTSIDE of what your speaker can reproduce, you'd Bring that data and playback as the highest frequency the speaker CAN produce..


Everything should just be truncated.. if it's too dark or too bright , just cut it off at 0 or 255..

Asmodian
12th October 2017, 01:17
Highlights in HDR are not “too bright” they are the change in brightness inside very bright objects. The ability to keep detail in deep shadows and very bright lights is one of the benefits of HDR and I prefer to try and keep as much of that detail as possible.

Flat white for everything bright looks like a bad camera work where the highlights have been blown out. Just watch the SDR master if you don’t want the extra detail in deep shadows or highlights, it will look better.

The frequency analogy doesn’t work, would you want all sounds from higher frequencies played at your max frequency? Clamping a video signal does not have the same visual impact as discarding high frequencies. Volume would be a better analogy and dynamic range compression sounds better with sigmoidal compression, not simply clamping everything above or below a certain volume level.

tp4tissue
12th October 2017, 01:41
Highlights in HDR are not “too bright” they are the change in brightness inside very bright objects. The ability to keep detail in deep shadows and very bright lights is one of the benefits of HDR and I prefer to try and keep as much of that detail as possible.

Flat white for everything bright looks like a bad camera work where the highlights have been blown out. Just watch the SDR master if you don’t want the extra detail in deep shadows or highlights, it will look better.

The frequency analogy doesn’t work, would you want all sounds from higher frequencies played at your max frequency? Clamping a video signal does not have the same visual impact as discarding high frequencies. Volume would be a better analogy and dynamic range compression sounds better with sigmoidal compression, not simply clamping everything above or below a certain volume level.



Ur right.. I don't know what I'm talking about..

Without compression, it just blows up

ryrynz
12th October 2017, 01:54
hopefully I can leave "compression artifacts" at 1 and call it a day? :o


Yeah, we're all pretty keen on that, once the levels get tweaked I think we'll be golden, it'll hopefully it'll end up being one of those boxes you tick first.

leeperry
12th October 2017, 04:34
Yeah, we're all pretty keen on that, once the levels get tweaked I think we'll be golden
I beg to differ as after more thorough testing even 1 appears to smooth out heavy cinema grain, all this said more granularity to go 0.x / 1.x and the ability to mess with it in profiles would be full of win :cool:

ryrynz
12th October 2017, 04:37
That's what I said and something madshi is already working on as I also think 1 is a bit high for general purpose use.
Thoughts on the new AA sharpener?

mzso
12th October 2017, 10:02
Hi!

I always get madvr's "an error occured in the application" when bookmarking in potplayer. Did anyone experience this? (update: it seems to only happen after frame jump back or forward.)

I also can't send the report because it requires an e-mail client which I don't have (I use gmail in the browser) and it doesn't give me other options, such as saving it into a text file or something.

It seems like some of the reports somehow was copied to the clipboard and caught by the clipboard monitor (It took a long while for me to figure out that I have to press ctrl+c):

https://drive.google.com/open?id=0ByfdfPvnoDuzTm1abTE4U3R3M3M

I actually get three errors. One when bookmarking, one when stopping playback after, and another right after that. (uploaded one occasion of three reports after numbering them in sequence)

d3rd3vil
12th October 2017, 10:17
Only madshi-clause or santa madshi can save us regarding Dolby Vision. There wont be any other way to play the stuff via software except MPC. Lets pray together

leeperry
12th October 2017, 11:21
Thoughts on the new AA sharpener?
I prefer "enhance detail"@0.1 to AA@0.1, still super impressed by RCA@1 on noisy upscales huh http://forum-images.hardware.fr/images/perso/ayuluna.gif

ashlar42
12th October 2017, 11:26
-because those new settings are upfront in the "processing" tree we can't quite make profiles for them apparently, hopefully I can leave "compression artifacts" at 1 and call it a day? :oI haven't tried to create a profile for "processing", as so far I've always used them only for the scaling algorithms but... why do you say "we can't quite make profiles for them"? I don't understand. The option is there.

Edit: did a quick test, profiles work perfectly.

madshi
12th October 2017, 12:16
This error is the new error when you can't save because the NVIDIA driver bugged up? doesn't look like the/a GPU/driver error.
http://www.image-share.com/upload/3639/5m.jpg (http://www.image-share.com/ijpg-3639-5.html)

After clicking "Ok" it reverts back to the previous resolution

Edit:
If I stop the timer, change the resolution in the NVIDIA control panel I get a very different message. (logical probably because I change resolutions in between)

Edit 2:
It just appears to be still in "test mode" in the NVIDIA API and thus not allowing to save it

Edit 3:
Checked with MadVR 0.9.2.0.3, it is 99% sure a MadVR bug.
On that version I can set pretty much any resolution and it will save it. Going back to 9.2.0.6 gives me the same behavior/error again.
So can you please fix that? ;)
Looks to not exit/still be in "test mode" when you click save, thus giving the error it cannot save the active mode.
I'm trying to add a custom resolution in 95.6 using the custon resolution but it is impossible (nvidia).
Does this one fix the problem?

http://madshi.net/madHcCtrl.rar

No, it didn't. I just tried it again and it stays on "D3D9 exclusive (new path)" when the freeze image issue happens.

What you see in this video I recorded a couple of days earlier is what I get every time. https://www.youtube.com/watch?v=Ljlp67uHH_0
Hybrid decoding (like HEVC on Kepler cards) is generally best to stay away from. Its usually slow and often presents problems if the GPU is under high load (ie. with high madVR settings).
^

I suppose as said as it might seem you may have to use software decoding. I'm not completely sure why it's only a problem with madVR and not with VMR9/EVR, maybe it's the higher GPU load, as nevcairiel suggests. Probably not something we can do anything about.

Yes, that toggle.
I'm not using any beta build.
I just updated to the latest nvidia drivers (387.92) (Also using latest madvr and LAV nightly).
https://www.youtube.com/watch?v=XcVMMBUVTmE
It looks like it's using both, nvidia and windows hdr, at the same time.:confused: Sometimes it works, sometimes colours look washed out.
I've unistalled everything and installed it back again. Not sure what else to do.

Edit- Rolled back to the previous nvidia driver. It's now working. I still need to open and close the player a few times before it displays hdr colours correctly though. It' s a hit and miss for me.
Thanks for the video. I'll have to double check with the latest Nvidia driver. Maybe it got broken again. If it did, I have a good contact to complain to. But it might take a couple of driver revisions before it's fixed again. For now please stick to an older driver.

Not sure, though, why you have to start & close multiple times, that doesn't seem to be the case for the other users. It may help to get back to very old drivers, ideally one directly before the (spring) Creator's Update was officially released. Those driver builds don't support the "HDR and Advanced Color" OS switch yet, and they were the most reliable drivers for HDR for Windows 10.

Alternatively you can do what I've been recommending for many many months now, and use Windows 8.1 instead of Windows 10. But nobody listens to me, obviously.

I see your point and it was what I have suspected... I've never liked single-frame algo for denoising. If I compare to what I remember then your algo is the best I've seen in this category, definitely not bad but not to my taste.

Could you at least give the choice to select a lower strength?
Yes, lower strength random noise reduction coming in the next build.

But on the other hand, I'm still amazed of what you have achieved with your RCA :o Each time I've tested this type of algo, I've ended up using a very low strength that made little to no difference. Your algo is definitely different, I think I will use it on all my DVDs!
Glad to hear that!

Is it me, or RRN str1 is actually stronger than str2 ?
The next build will have all RRN strength settings revisited.

Here's a comparison on overly compressed SD MPEG2 cable source:
Off (https://s1.postimg.org/5h3u0wmbbj/Boyz_Nthe_Hood_off.png)
Reduce Compression Artifacts @ 3 (https://s1.postimg.org/5z6n3nxewv/Boyz_Nthe_Hood_RCA3.png)
Reduce Random Noise @ 1 (https://s1.postimg.org/6yzhuzwten/Boyz_Nthe_Hood_RRN1.png)
RCA has to be pushed a bit to get results on really bad source, but when watching the content in motion I prefer RRN at 1 even though it smothes a bit too much. I concur that a lower RRN setting would be best. :thanks:
In those screenshots it seems to me that RCA removes more artifacts and less texture than RRN, so it seems better in this case at least?

Looking for where to try "reduce compression artifacts" or "reduce random noise", I have 0.92.6 installed (I have profiles 7 to be exact), but can not find these options on any screen. I hate to delete profiles, as it takes so much time to recreate them from scratch.
Maybe you're running an old version of the MadHcCtrl.exe (settings dialog)? The new settings are supposed to be in the "processing -> artifact removal" settings page.

Always liked Adaptive Sharpen and I just took your word it was nicer than the old version. It's stronger isn't it? I did find myself reducing the level to 0.2/0.3 when running with NGU Sharp. I also like sharpen edges and enhance detail enabled together.. When I was tinkering I realized I now had to decide whether I use NGU Sharp and lower sharpening levels or NGU standard and higher levels. Then whether edge sharpening and enhancing details were worth keeping enabled with an improved Adaptive Sharpen and how they compared to it. I'm tempted to look at all this over the next few days with various content.
Looks like the new AS sharpens more edges, I'd say the new version's sharpness of 0.7-0.8 matches the old 1.0, some areas are much sharper others not so much.

This new AS sharpens the edges of shadowing and lots of inner details which the old one didn't, as it focused more on just the stronger lines which made it very nice for anime.

Comparing new AS 0.7 to old 1.0 I'm finding is that I'm not getting the line sharpness I did (would have to boost to 1.0 to achieve this) but minor shadowing edges are quite visually oversharpened.
I'll look at it on some standard content but you'd probably hate me saying this but..

https://i.imgur.com/EwMJPVLm.jpg
Look here for a quick comparison of the old vs new AdaptiveSharpen on a grainy image, using much too high sharpening values:

old adaptive sharpen (http://madVR.com/doom9/adaptiveSharpen/ladyAdaptiveSharpenOld.png) - - | - - new adaptive sharpen (http://madVR.com/doom9/adaptiveSharpen/ladyAdaptiveSharpenNew.png)

You can see that the old algo produced very artificial catoonish results, while the new algo looks much better. The old algo did sharpen edges more than anything else while the new one algo sharpens texture to some extent, but the end results look much better to my eyes.

Also try with this well known ringing test image:

http://madshi.net/small.png

You'll see that the old algo produced visible ringing while the new doesn't. So overall I think the new algo is a noticeable improvements.

Why not both? Because there are already 6 different sharpening type algorithms in madVR and we don't really need any more. We need less.

Here are a couple of screen shots. These are up-scaled from 480p to 4k, with the "reduce random noise /process chroma channels, too" both ticked and set to strength 1. It looks real good from my viewing distance of around six feet (188.66 cm) from a 55 inch (139.7 cm) OLED 4k TV. :D

Before and after.

https://photos.app.goo.gl/Q4FzchlC17DeJQ5v2
Thanks! FWIW, in the first image the algo also softens over the white shape on the girl's shoulder, which is not a good thing. Maybe a slightly lower strength of the algo would be better?

I think than the best I can do is chroma upscaling= ngu soft medium and image upscalling NGU Sharp medium without entering in frame drops , or what you saying is do even less on chroma , if that so, which scaler you choose.
The most important thing is image upscaling. So if you can go to NGU Sharp high there, it might be worth using a very cheap chroma algo, e.g. Bicubic75.

@madshi Do you plan to improve the RRA and RDH algos ?

I am still using aviSynth with FineDehalo because RRA + RDH is not good with NGU (Source / MadVR RRA + RDH / FineDehalo) :

FineDehalo works very well with NGU, but madVR RRA + RDH creates undesired artifacts around the edges.
Haha, you guys with your abbreviations! Took me a bit to figure out what you mean. Anyway, revisiting RRA is on my to do list, but it doesn't have highest priority right now. It might help if you can collect a few short images where the artifacts you're seeing are most obvious, so I have something to look at when I find the time to revisit the algo.

The images you just posted don't really convince me. I see that RRA produces slightly different results than FineDehalo, but I don't really notice any ugly artifacts. Do you have some better images maybe? And can you mark the positions where the artifacts are most obvious?

Tried the new filters on old anime, very low res, crappy compression. They're nothing short of miraculous, as far as my taste goes. Thank you madshi, these are very welcome additions.
:)

madshi
12th October 2017, 12:21
Why madvr doesn't switch to the automatic 1080p25p from 4K ?

I set it

1080p23, 1080p24, 1080p25, 2160p23, 2160p24, 2160p25, 2160p30, 2160p60

But it even go to 4K60 Hz instead staying 4K59 Hz which what I use default for everything.
As huhn suggested, this may happen because madVR is not sure if the 25fps movie might need deinterlacing or not. If deinterlacing is needed, 50Hz is the best match, but there's no 50Hz option in your list of display modes. Try adding 1080p50.

adding 1080p23 and 2160p23 makes 1080p23 obsolete BTW.
Not necessarily. IIRC, if both 1080p23 and 2160p23 are listed then madVR will switch to the mode which matches the native video resolution. I'm not sure why a user would want that, though, because madVR is very likely better at upscaling than the TV.

Madshi, maybe you could add a heuristic "quality" value? That could be used as a parameter in the preset selection script. Would be very useful particularly for the various processing algos.

I was thinking a value from 1 (very low) to 5 (very high). This value could be determined based the video format (FourCC) and the bits per pixel. The latter value is not known directly yet. Perhaps LAV Filters could export the bitrate (if known). Otherwise a rough estimate could be made using file size and duration.
Hmmmm... Might make sense. FWIW, the profiles already support "MPEG2", "VC-1" and "h264" as boolean checks. So I think I don't need to include this in such a "quality" value. "bitDepth" is available, too. I don't know the bitrate, and I'm not sure that LAV can export this easily? Is the video bitrate information available to the splitter/decoder? I suppose I could make the file size and duration available, or an estimated bitrate based on the file size vs duration, but I'm not sure how reliable that would be because you could have e.g. a low bitrate MPEG2 video with a PCM audio track.

Thoughts?

Some time when D3D11 windowed change to D3D11 fullscreen windowed or D3D11 fullscreen windowed change to D3D11 windowed, video still playing but no image I still hear sound 3-15 sec then video image back.
Also If playing time change pgs subtitle will get white screen few sec.

CPU: ryzen 1950x
GPU: MSI GTX 1080 Ti GAMING X (Drive: 385.69)
OS: Windows 10 home 1703(15063.632)

MPC-BE v1.5.0 x64 + LAV v0.70.2 x64 + madvr v0.92.6 x64 + XySubFilter 3.1.0.746 BETA3 x64
Does the OSD (Ctrl+J) still update in that situation, or is it stuck (or even invisible)? Which decoder type are you using (software, native dxva, copyback dxva, cuvid, d3d11) in LAV? Have you tried software decoding?

No, I definitely prefer RCA because a) RRN is texture detail killer; b) RCA better removes mosquito noise.

RCA5 - original - RRN5
https://s1.postimg.org/6722qnix3v/test3.mp4_snapshot_00.17_2017.10.10_23.41.00.png (https://postimg.org/image/6722qnix3v/) https://s1.postimg.org/4xd6wbl7ln/test3.mp4_snapshot_00.17_2017.10.10_23.41.11.png (https://postimg.org/image/4xd6wbl7ln/) https://s1.postimg.org/73cli3cfx7/test3.mp4_snapshot_00.17_2017.10.10_23.41.24.png (https://postimg.org/image/73cli3cfx7/)

RCA and especially RRN definitely needs strength levels lower 1.
Ah yes, agreed on texture detail killing!

Anyone else having issue with playing HDR videos? Right now with Kodi/DSplayer+MadVR it just crashes for me. Potplayer+MadVR shows a static screen of the video but you can hear the audio playing. And the TV pops in to HDR mode

Windows 10 16299.15 build MadVR .v0.92.4 Nvidia drivers 387.92 (Titan Xp SLI)
Did it ever work? If so, what did you change? Seems latest Nvidia drivers are troublesome for HDR, so maybe try older drivers.

I retested those LP videos using the new build, and I think it looks best with "deblock=3 deblockChroma=5". So not a huge difference, but I think the chroma can take a bit more punishment before you start to lose any important details (at least on these videos). The deblocking filter definitely helps these videos a lot!

In general I think I'd like it if I could enable chroma deblocking without enabling luma deblocking at all, for videos where the luma channel is fine but the chroma channels need some help. Or do you think that would just be a waste of cycles for something imperceptible? I'd like to think that some deblocking might help the chroma upscaler do a better job.
I'm a bit torn on how to make this available to the user. Of course I could simply split luma and chroma up (for both deblocking and denoising) and make it possible to choose totally different strengths for both and even enable chroma without luma deblocking etc. However, doesn't this make the whole usability worse again? If users quickly want to just deblock the whole video (luma + chroma), they would have to always update both strengths to match. That's currently easier to do. So I'm not sure what I should do.

Thoughts?

@ Madshi. MPC-BE and 92_6.
When clicking stop during playback MPC-BE restarts playback from beginning !! When using EVR-CP playback stops as it should. I had the buggy v92_5 installed. Maybe that's some sideeffect ?
Is this a new problem with v0.92.5/6? Or was it always this way when using madVR? If it's a new problem can you please test with exact madVR version introduced this problem? You can download old builds for testing here:

http://www.videohelp.com/tools/madVR/old-versions#download

46,500 posts???? Sheesh...............

I did a search for "Light Alloy" in this thread and only found one hit. They (LA) claim it works with this software, but on madvr's home page, Light Alloy Player is not listed. There are at least two issues with it, but it may be LA's software. Anyone else use LA here?
Wasn't aware of the "Light Alloy" player. If the player devs want to discuss problems with me, or have their player listed, they're welcome to contact me.

Just borrowed a gpu that can playback 4K remuxes.

Now.. The color conversion..

Is there a way to set this to a reference setting ?
No, because HDR videos ask for specific pixels to be rendered to a specific luminance value, and that is only possible for madVR if you tell it the exact peak luminance value of your display. Every display is different.

Because what's happening is, I'm playing with the nits setting in hdr to sdr, along with Luminance compression On vs Off, and I'm really not sure how to eyeball this,

I can only compare it to the 1080p remuxes i have of the same movie, but the difference between mastering makes the task kind of a confounded.

How are you guys setting the hdr to sdr , just eyeballing it?

So far with Luminace compression OFF and nits set at 270, seems as close to the 1080p remux as I can get using these settings alone.
I've usually found that a good HDR movie looks better than the 1080p studio SDR encode, but it's not always the same nits value that gives the HDR movie an overall "comparable" brightness/contrast. It differs from movie to movie. My advice would be to try a couple of HDR movies and trust your eyes in picking a nits value that looks good to your eyes. It might also depends on the ambient light levels. A lower nits value makes images more contrasty/punchy, but if there's a lot of ambient light, shadow detail might get lost.

been running tests with the new settings on 1/4 DVD and 1/4 1080p noisy footage @1080p and so far:
-random noise doesn't help at all
-compression artifacts does miracles but 1 isn't quite enough and 2 is too soft so I'd appreciate more granularity here please
-compression artifacts chroma doesn't improve picture clarity when using quad NGU high + both chroma & luma SR + SSIM 2D 100% LL AB25% on my 4:2:2 Sammy TV
-because those new settings are upfront in the "processing" tree we can't quite make profiles for them apparently, hopefully I can leave "compression artifacts" at 1 and call it a day? :o
Why can't you make profiles? Works just fine for me.

I always get madvr's "an error occured in the application" when bookmarking in potplayer.
The PotPlayer dev just fixed a probably related bug today, so this problem might be fixed by the next PotPlayer version.

Question though: is there a "faster" way to at least ehm show that Dolby Vision is running in the information overview?
Cause when I play a Dolby Vision TS file nothing indicates that this is even Dolby Vision. Then when I convert it via MKVToolNix Dolby Vision doesnt work anymore but the MPC info is more or less the same.

Is there a way to show if DV is active(even though not working via MPC)? :)
What do you mean with "Dolby Vision doesn't work, anymore"? Does it ever work? How?

playing Dolby Vision properly with its dynamic metadata is likely entirely impossible for the forseeable future.
Actually, it might be possible. Dolby Vision consists of an additional video stream/layer, and additional metadata. What madVR could in theory do is:

1) madVR could make use of the additional video layer + additional metadata to move the video up from 10bit to 12bit+. This should produce a benefit for every display, regardless of whether it supports Dolby Vision or not, or whether it even supports HDR or not.

2) madVR could behave like any official Dolby Vision source device and send the video to a Dolby Vision compatible display, including all the dynamic metadata etc. This is theoretically possible, with any HDMI 1.4+ GPU, as long as it supports a perfect RGB 8bit "passthrough", where all bits stay untouched by the GPU driver (and Windows). The reason this would work (if perfect passthrough is available) is that the dynamic Dolby metadata is actually encoded into the image pixels, as a sort of watermark. So it doesn't require any specific HDMI version, and it even works if there's an AVR in the middle which doesn't support Dolby Vision (as long as the AVR keeps the watermarked pixels untouched).

The whole Dolby Vision processing is very complicated, but I would be willing to at least give 1) a try, maybe even 2), but it would require me to get access to the decoded Dolby Vision enhancement layer, plus to all the added Dolby metadata information contained in the base + enhancement layers.

So basically for any of this to work, first the splitter + decoder would have to be enhanced to deliver the Dolby Vision information to madVR. Then I could look into how to process it all.

leeperry
12th October 2017, 12:51
Why can't you make profiles? Works just fine for me.
My bad, I never used profiles for the "processing" section :o

PotPlayer dev just fixed a probably related bug today, so this problem might be fixed by the next PotPlayer version.
Truth is I haven't got this nasty error message in a very long while :)

Crossing my fingers for further RCA granularity, from 1 to 12 or more would be great so I could go as low as possible on HD and as high as possible on low-res without making it too soft.

Neo-XP
12th October 2017, 13:08
The images you just posted don't really convince me. I see that RRA produces slightly different results than FineDehalo, but I don't really notice any ugly artifacts. Do you have some better images maybe? And can you mark the positions where the artifacts are most obvious?

You should see it clearly with a little zoom on all the external edges of Jack shirt (Source / MadVR RRA + RDH / FineDehalo) :

https://s1.postimg.org/7hbej4jqh7/Source.png (https://postimg.org/image/7hbej4jqh7/) https://s1.postimg.org/4iz4fmatuj/Mad_VR_RRA_RDH.png (https://postimg.org/image/4iz4fmatuj/) https://s1.postimg.org/9215ilcnm3/Fine_Dehalo.png (https://postimg.org/image/9215ilcnm3/)

Just using FineDehalo(contra=1.0) here.
The FineDehalo script has not been updated for a long time (http://avisynth.nl/index.php/FineDehalo), but it is very fast and clean (even for HD content). I am sure that you can do better in madVR.
There is also a function to remove 2nd order halos.

Ver Greeneyes
12th October 2017, 13:19
I'm a bit torn on how to make this available to the user. Of course I could simply split luma and chroma up (for both deblocking and denoising) and make it possible to choose totally different strengths for both and even enable chroma without luma deblocking etc. However, doesn't this make the whole usability worse again? If users quickly want to just deblock the whole video (luma + chroma), they would have to always update both strengths to match. That's currently easier to do. So I'm not sure what I should do.

Thoughts?
Hmm, I don't think I'd be particularly broken up about not having separate strengths for Luma and Chroma. I don't know if my results generalize to other videos, but if chroma generally benefits from a bit more strength than luma you could always use a multiplier internally to set the strength of chroma deblocking (e.g. 1.67x the luma strength). But this would probably need more testing than my subjective opinion on a single set of videos :P

With only 1 strength setting, you could just have checkboxes for luma and chroma that can be toggled independently.

Grimsdyke
12th October 2017, 13:53
Is this a new problem with v0.92.5/6? Or was it always this way when using madVR

It is a new problem but certainly not caused by MadVR (I already tested older versions) but a side-effect of the work-around that I found for my DTS problem on a handful of discs. (Sorry, I had overlooked that it was one of these discs.)
So please don't spend your time on that but it is always reproducable.

Clammerz
12th October 2017, 14:50
I'm a bit torn on how to make this available to the user. Of course I could simply split luma and chroma up (for both deblocking and denoising) and make it possible to choose totally different strengths for both and even enable chroma without luma deblocking etc.

My initial thought would be to make:
[] Enable deblock
Luma Strength <-------->
Chroma Strength <------> [] Lock Chroma

When "Lock Chroma" is selected, chroma slider/number will change relative to luma. So if a user has Luma 1, Chroma 2, then locks Chroma, and then slides luma to 2, chroma will change to 3.
Kind of like Ver Greeneyes multiplier selection only probably more annoying to implement :(
With Chroma initially being locked by default.
I haven't tested/have no idea if individual settings are worth it, sorry.

jmonier
12th October 2017, 14:52
Does this one fix the problem?

http://madshi.net/madHcCtrl.rar




It fixes it for me. It no longer says that you can't save the active mode.

mzso
12th October 2017, 15:49
The PotPlayer dev just fixed a probably related bug today, so this problem might be fixed by the next PotPlayer version.

Well, I'm using an old version for a long time (2017-01) now and until recently I didn't experienced this. So something's changed.
Edit: After downgrading to v0.91.10 the problem stops happening. (v0.92.3 is also bugged. I had these lying around didn't try other versions)


Note:
I don't use a newer version because of the aforementioned hang on file opening with madVR. (Which is far more likely to happen with newer versions)
Did you see anything useful in the debug logs?

clsid
12th October 2017, 16:20
Hmmmm... Might make sense. FWIW, the profiles already support "MPEG2", "VC-1" and "h264" as boolean checks. So I think I don't need to include this in such a "quality" value. "bitDepth" is available, too. I don't know the bitrate, and I'm not sure that LAV can export this easily? Is the video bitrate information available to the splitter/decoder? I suppose I could make the file size and duration available, or an estimated bitrate based on the file size vs duration, but I'm not sure how reliable that would be because you could have e.g. a low bitrate MPEG2 video with a PCM audio track.

Thoughts?Having the user do the calculations manually would be unfeasible, except for maybe a select few here. Most newcomers already struggle with creating simple resolution based preset scripts.

Hence the idea to move the intelligence and complexity into madvr itself, and provide a single value that can be used as an indicator for video quality.

MediaInfo can show which % of the file is video data. I checked a few files and those were between 75 and 95. So lets assume on average 85% of the file is video. It doesn't need to be super accurate.
Or maybe just subtract audio stream sizes. Those usually have a known (average) bitrate. Subtitles have negligible size.

oldpainlesskodi
12th October 2017, 17:21
Could anyone shed some light?

Quick (could be) obvious question - is there a difference on how the scaling and refinements are applied to x265 and x264 content?

When upscaling 1080p content to 4K (using NGU AA Med for chroma and NGU Sharp for Luma), the settings seem to have a very different impact - for instance, superres refinement kills the image on x264, but, has little if no visible difference (yes, I know about the warnings using superres refinement with NGU, but....) on x265.

Maybe its just my set up (using latest Madvr and Lav).

K

huhn
12th October 2017, 17:26
after some testing i found this so far.

RCA is very useful but some more steps between 1 and 4 would be nice. NGU sharp and standard still look pretty bad with files that "need" RCA even with RCA.

RCA softs the image a lot so i tried to compensate it with a sharpener. sharpen edges does nothing when scaling a DVD to UHD while adaptive sharpening is still effective too effective smaller step between 0.0-0.1 would be nice and add grain after sharping would be highly preferred too it is really difficult to use with adaptive sharpening.

RRN is hard to judge i find it useful together with RCA but not much alone.

huhn
12th October 2017, 17:29
Could anyone shed some light?

Quick (could be) obvious question - is there a difference on how the scaling and refinements are applied to x265 and x264 content?

When upscaling 1080p content to 4K (using NGU AA Med for chroma and NGU Sharp for Luma), the settings seem to have a very different impact - for instance, superres refinement kills the image on x264, but, has little if no visible difference (yes, I know about the warnings using superres refinement with NGU, but....) on x265.

Maybe its just my set up.

K

the codec does matter the image it self does. my blind guess is that the x265 encode is so soft that there is nothing to reconstruct or the other way around.

oldpainlesskodi
12th October 2017, 17:37
the codec does matter the image it self does. my blind guess is that the x265 encode is so soft that there is nothing to reconstruct or the other way around.

Yeah, thats kind of where I got to. What had me puzzled is that I've also tested with some very high quality and super sharp x265 content (17gb film file), and superres has, what seems, no or a much lesser effect than when applied to x264.

K

huhn
12th October 2017, 17:48
it should be "the codec doesn't matter the image it self does" i don't know i miss the "n
't" often.