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

madshi
8th October 2017, 23:03
Here's a quick fix for the crash problem:

http://madshi.net/madVR925b.zip

New official v0.92.6 with this fix (and maybe some more changes) will come tomorrow.

ryrynz
8th October 2017, 23:09
Who's going to be the first madman to remove random noise and then add grain?

madshi
8th October 2017, 23:12
Who's going to be the first madman to remove random noise and then add grain?
It's actually not as mad as it might seem because:

1) encoded grain is often quite artifacty.
2) upscaled grain looks bad.
3) added grain after upscaling has no artifacts and looks high-res.

However, removing grain may also remove details. So it's probably still not a good idea overall.

Ver Greeneyes
8th October 2017, 23:22
Can you make a sample available, or 2 or 3 which show this problem? Would be interesting to look at them.
Sure, here's a 30 second clip from the start of an old Let's Play: https://mega.nz/#!SBlwlZ5K!msF_yjXZZASnnxpv8-nTjaRXQEkbCEN_iAvkBN7KBCU (pretty much just the menu screen, here's (https://www.youtube.com/playlist?list=PL06A8EF9E4353DC85) the full playlist)

In general I've noticed that the chroma channel for Youtube videos tends to be pretty horrendous (including for higher resolution videos), I don't know if that's just the bitrate or if Youtube's re-encoding makes it worse.

huhn
8th October 2017, 23:26
how do you change stairs on an image. ping
thank you

sorry i can't really follow you. if you are talking about aliasing billinear adds a lot of aliasing.

@deblocking

my first issue with the deblocking is that it very fast changes images parts that are not blocky anymore and makes them very unsharp but on other images parts the blocking is still there.

i used a very blocky video file from on old computer game using SMK2 as a codec.
here an image: https://abload.de/img/winordert5uc3.png

and i wonder if debanding is run before or after deblocking.

mzso
8th October 2017, 23:43
Is there an easy way for me to reproduce this without requiring any actual DVB hardware?

I don't know. I don't think progDVB loads anything if you don't have tuner running, with a channel tuned. (And so far I haven't heard of a dummy tuner.)


Trying with the hotfix I could still get Potplayer hanged video open spamming.
But I noticed that the madVR OSD is still updating. Does that mean anything? (I didn't think to have OSD open before, so I didn't know how it was.)

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


I also noticed that madVR shows DXVA, even though I disabled HW accelerated decoding in LAV. Is that normal because of deinterlacing?

dvd1
9th October 2017, 00:05
sorry i can't really follow you. if you are talking about aliasing billinear adds a lot of aliasing.




excuse me, how did you change BILINEAR to NGU on a single image. png?

huhn
9th October 2017, 00:05
madVR is by default using DXVA chroma scaling when DXVA deinterlancing is used you can control this under trade quality for performance.

huhn
9th October 2017, 00:06
excuse me, how did you change BILINEAR to NGU on a single image. png?

i pause the video and change the scaling algorithm.

dvd1
9th October 2017, 00:26
[QUOTE=huhn;1821256]i pause the video and change the scaling algorithm.[/QUOTE
]then if I pause is changing the scaler already changes or should I start the video again?
thank you so much

huhn
9th October 2017, 00:32
you don't need to start the video.

cyberscott
9th October 2017, 00:34
MPC-BE (1.5.1 (build 2755) beta) crashes with madVR turned on. If I try to change file after playing it or if I try to close player, then crashes. With previous version, this didn't happen.

However, there is no problem with MPC-HC (1.7.13).

madshi, I have the exact same issue. My crash in MPC-BE (1.5.1 build 2755) crashes when I try to exit MPC-BE. That is with your new features turned on or off.
Beyond that, the "reduced random noise" and reduce compression artifacts" do wonders for some of my noisier 480p content. :thanks:

huhn
9th October 2017, 00:46
https://forum.doom9.org/showpost.php?p=1821246&postcount=46369

this may fix your crash issue.

AngelGraves13
9th October 2017, 00:55
Hmmm...not sure how I feel about the new compression removal. If I'm watching something with lots of grain it seems to target the grain and make the image appear processed. It's a double edged sword.

I guess it's mostly for DVD sources, as it's not really needed for blu-ray or 4K.

cyberscott
9th October 2017, 01:07
https://forum.doom9.org/showpost.php?p=1821246&postcount=46369

this may fix your crash issue.

Thanks! That has fixed the crash issue for me. Somehow, I read right past madshi's fix.

Anima123
9th October 2017, 02:16
Madshi,

After upgrading to 0.92.5, mpc-hc will crash if drag another video file to the player. It never happened before.

BTW, the crash will occur with or without the new reduce compression artifacts options.

Edit: I should have read the new posts before posting. The hot-fix version fixed the crash problem for me.

Edit2: 'automatically detect hard coded black bars' seems to cease to working with the 'reduce compression artifacts' on.

SamuriHL
9th October 2017, 02:35
1) Please test the new algorithms and let me know what you think!


Um, they ROCK, that's what I think! Upscaling my goto test DVD looks like a freaking blu-ray. I'll be able to test the block algorithm on some of my cable recordings. The idiots are using heavily compressed h.264 with some of the worst settings I've ever seen.



7) Please compare the new AdaptiveSharpen version (it's igv's variant) to the original AdaptiveSharpen algorithm. On a quick check I liked igv's variant better, but I'd like your feedback on that.

I'm not typically a fan of the sharpening options, however, this seems to work really well. I haven't used the old variant so I can't compare the two, but, this may get me to change my mind about keeping it enabled.

All in all, seriously awesome job!

SamuriHL
9th October 2017, 02:45
Just noticed a crash problem in v0.92.5, which happens when switching from one video file to another, or sometimes even just closing a video file. Already found the cause of the problem, stupid bug. Sorry, my bad, will fix that tomorrow in v0.92.6.

Aha! Ok, good. I just ran into it closing my file and JRiver MC completely crashed so at least I know why. Thanks!

EDIT: Obviously have now seen the 0.92.5b fix and can confirm it does fix it. Awesome!

SamuriHL
9th October 2017, 02:54
Wow if you really want to see what those options in madVR can really do, grab a copy of Remo Williams The Adventure Begins on DVD. Mine is the crappy 4:3 release and the detail is just incredible. That is a HORRIBLY bad release so the fact that there's now clear details upscaled to 1080p is freaking incredible.

Magik Mark
9th October 2017, 03:18
Which among the chroma upscalers works best with "artifacts cleaning" algorithms?

I'm using NGU standard low, med & high. I'm getting a lot of dropped frames. I have GTX 960

ABDO
9th October 2017, 05:34
no way "reduce compression artifacts" and "reduced random noise" make impossible result on 576 2d Anime

with long time and alot of traying difrrent denoise filters (QTGMC, hqdn3d, eDeen, FluxSmooth, TemporalCleaner, Deen, dfttest,DeGrainMedian, RemoveGrain, gradual denoise, mplayer temporal noise reducer, denoise 3d) and i tray many noise reduction highend plugins ( topaz denoise, MSU Denoiser, Neat Video, Denoiser II, Red Gian denoiser ) and also i tray many programs ( CyberLink PowerDVD Ultra, corel windvd ) every one from this has big Common defect, in low strength settings it destroy the images, While keep alot of noise and artifacts,The higher strength settings totally destroy the images and blured it much.

only waifu2x do great job, in 2d Anime it can tottly clean the noise and compresing artifacts, While keep the images sharp and crisp, put to do that it take very long time (4 second for every frame )

now madvr do it again and offer the best solution ever, the new algorithm in strength settings (3 : 8) do Almost the The same efficiency Like waifu2x, it tottly clean compression artifacts and noise, While keep the images sharp, crisp and never blured or destroyed lines or details.

With observation, that madvr algorithm do that in realtime, it much much faster than waifu2x and alot of highend noise reduction plugins.

Comparison
rca = reduce compression artifacts
rnn = reduce random noise

low-res artifacts Source image
https://s20.postimg.org/3xl84s789/image.png (https://postimg.org/image/3xl84s789/)

ngu anti alias very hight
https://s20.postimg.org/4odyak9ll/3-ngu_anti_alias_very_hight.png (https://postimg.org/image/4odyak9ll/)

ngu sharp very hight
https://s20.postimg.org/dkoqei07t/3-ngu_sharp_very_hight.png (https://postimg.org/image/dkoqei07t/)

adobe premiere pro+magic bullet denoiser iii
https://s20.postimg.org/pm2nsfdsp/3-adobe_premiere_pro_magic_bullet_denoiser_iii.png (https://postimg.org/image/pm2nsfdsp/)

ngu sharp very hight+sw scaler gaussian blur
https://s20.postimg.org/6d0zoo49l/3-ngu_sharp_very_hight_sw_scaler_gaussian_blur.png (https://postimg.org/image/6d0zoo49l/)

ngu sharp very hight+denoise3d hq
https://s20.postimg.org/lzwufs7fd/3-ngu_sharp_very_hight_denoise3d_hq.png (https://postimg.org/image/lzwufs7fd/)

ngu sharp very hight+rca8
https://s20.postimg.org/mtqwom93t/3-ngu_sharp_very_hight_rca8.png (https://postimg.org/image/mtqwom93t/)

ngu sharp very hight+rca4+rrn4
https://s20.postimg.org/7max49h95/3-ngu_sharp_very_hight_rca4_rrn4.png (https://postimg.org/image/7max49h95/)

waifu2x(UpRGB)(noise_scale)(Level3)(1920x1080)
https://s20.postimg.org/3r7j1oy3d/3-_Up_RGB_noise_scale_Level3_1920x1080.png (https://postimg.org/image/3r7j1oy3d/)

more Comparison
http://www.mediafire.com/file/30an3q66a5xa1of/Screenshots1.rar

sd anime channels in prpgdvb now look clean and crisp like full hd channels

in my opinion, no mor need to nnedi3, As long as no need to waifu2x himself :D
NGU now Unbeatable in 2d 3d Anime, such as normal life content

@madshi, no words can thank you as you should, so you are the best :)

oldpainlesskodi
9th October 2017, 07:04
@ Madshi - v0.92.5 wow!

K

ryrynz
9th October 2017, 07:15
Some NGU sharp here a touch of reduce compression artifcats there and a sprinkle of Adaptive Sharpen and 720 never looked so good.
That exciting time when you have to revisit your profiles..

RCA at 1 works well, I wouldn't mind a setting or two below it though.

chros
9th October 2017, 09:27
The problem only goes away when I untick HEVC in LAV video configuration. Then the playback is smooth and nothing happens.

It's safe to say that the problem is causing because of my not HEVC compatible video card, the GTX 650 Ti.
Actually it is. :) But only with <=1080p, 8bit hevc! (So not with 4k hevc, neither with 10bit 1080p hevc.)
It's based on Kepler architecture, as my laptop card (see my signature, along with the driver version I use), and it works the same way for me as well.

1) VSFilter does its thing before madVR is involved, so the subtitle placement it totally out of madVR's control.
2) I think MPC-BE's ISR doesn't fully support madVR's subtitle positioning options. You *may* have more luck with MPC-HC's ISR. IIRC kasper93 had invested some time to make it work. But I'm not sure how well it's working.
It also works (https://forum.doom9.org/showthread.php?p=1819937#post1819937) with MPC-BE's ISR.

Razoola
9th October 2017, 10:29
I have the same issue with 092.5 crashing bringing MPC-HC from fullscreen on secondary monitor to windowed on primary monitor. Going back to 092.4 fixed the issue.

update, 092.5b fixed the issue.

d3rd3vil
9th October 2017, 12:21
Is there absolutely no way atm to display Dolby Vision content via PC (MPC-MadVR) to a Dolby vision tv? No support whatsoever?

Its a damn shame. HDR10 works

nevcairiel
9th October 2017, 13:25
Dolby isn't exactly open and forthcoming how their stuff should work, you know.

d3rd3vil
9th October 2017, 14:16
Isnt there a way to just forward the metafiles so the TV can handle it or sth.? And what if you have a file with HDR10 AND DV, is there a way to deactivate the HDR10 somehow so the TV only uses the DV layer? Just as a secondary question if you dont mind ^^

Drakko01
9th October 2017, 17:48
Hi Madshi, what upscalling option do you think is better for me , I playing bluray / 1080p high bitrate videos on a 4k tv lg uf8500, mpc-be ,lav filters 0.72.77 along with SvP to do 60fps, my hardware is a I7 3770k, Gtx 1070, 8gb of ram.:thanks:

cork_OS
9th October 2017, 17:50
Quick thoughts about new madVR algorithms:
1) On my samples RRN often smooths severe blocking more effectively than same strength RCA.
2) GTX1060 3Gb is on the limit for 1080p60 RCA/RRN processing, I have to overclock it to minimise dropped frames.
3) RCA with strength=4..6 is very effective for reducing mosquito noise on H.264 HD videos with a lack of bitrate (like game recordings from YouTube/Twitch), sharpness loss is slight.
4) RCA with strength=1..3 is effective for reducing slight/moderate compression artifacts on various H.263/MPEG-4 ASP (XviD etc.) non-cartoon SD encodings, detail loss is visible but acceptable.
5) Unfortunately RCA/RNN is in general detail destructive for non-cartoon SD video, however other denoising filters may be even more destructive.

EDIT: Conclusion: great work, as usual!

XinHong
9th October 2017, 18:24
@Madshi: Do you have any ETA for D3D11 with DXVA scaling ?

Telion
9th October 2017, 18:29
Thanks. It's good that you did 6 of them, because only the 6th contained somewhat useful information... :D
Please let me know if v0.92.5 fixes the issue (when it's released, don't know yet when that will be).

Unfortunately, that didn't fix the issue for me.

mrmarioman
9th October 2017, 18:30
Using latest madvr and nvidia drivers. Now Windows will automatically turn on its hdr if I play a movie with madvr. I have it set to 'off' because I'm using a 980Ti. But no matter what setting I try (let madvr decide or passthrough hdr) Windows will automatically turn on its hdr.

Sarlaith
9th October 2017, 18:50
Hi Madshi,

You appear to have introduced a new "bug"
When optiming custom resolutions;
When you press "Test Mode", it tests the new custom resolution.
But "Stop Timer" doesn't restore the previous mode, only "No" does.

When pressing "Yes" (to save the custom mode) it say's you can't save the active mode

hubblec4
9th October 2017, 18:59
Hi madshi

with the new version my mpc-hc crashes every time when I close it. I have no settings changed. All fine with v0.92.4

huhn
9th October 2017, 19:05
https://forum.doom9.org/showpost.php?p=1821246&postcount=46369

this may fix your crash issue.

arrgh
9th October 2017, 19:54
...Sadly, 3D playback requires D3D11 <sigh>.
...
Did you already upload freeze reports for this? I don't recall right now.


but : why does the studdering only happen if I actually activate D3D11; if I deactivate it than I still get 3D but without studdering?

yes, I did post freeze reports, but you came to the conclusion that madVR is mostly gone already and you can not pinpoint a reason, why MPC-BE should hang.

madshi
9th October 2017, 20:00
Sure, here's a 30 second clip from the start of an old Let's Play: https://mega.nz/#!SBlwlZ5K!msF_yjXZZASnnxpv8-nTjaRXQEkbCEN_iAvkBN7KBCU (pretty much just the menu screen, here's (https://www.youtube.com/playlist?list=PL06A8EF9E4353DC85) the full playlist)

In general I've noticed that the chroma channel for Youtube videos tends to be pretty horrendous (including for higher resolution videos), I don't know if that's just the bitrate or if Youtube's re-encoding makes it worse.
Hmmmm... The next build will now process chroma in its original resolution, which should speed things up, and may also improve quality a bit. If you still think you need different luma vs chroma strengths, you can now use the file tags (e.g. "deblock=4 deblockChroma=8"). The settings dialog doesn't support this atm, though.

Trying with the hotfix I could still get Potplayer hanged video open spamming.
But I noticed that the madVR OSD is still updating. Does that mean anything? (I didn't think to have OSD open before, so I didn't know how it was.)

Link: https://drive.google.com/open?id=0ByfdfPvnoDuzUGx6d0ZfU3E1Mnc
Hmmmm, that's bad. Can you create a debug log from this situation for me?

@deblocking

my first issue with the deblocking is that it very fast changes images parts that are not blocky anymore and makes them very unsharp but on other images parts the blocking is still there.

i used a very blocky video file from on old computer game using SMK2 as a codec.
here an image: https://abload.de/img/winordert5uc3.png
Hmmmm, yes, it doesn't work well with this image at all. Never heard of SMK2 codec yet. FWIW, the algorithm is optimized for MPEG1/MPEG2 style compression artifacts, which look rather different to what SMK2 seemingly looks like. With MPEG1/MPEG2, if you have blocks anywhere near this strong, the rest of the image is a big mess, also, so it needs a lot of smoothing to be even remotely acceptable. With SMK2 it seems to be different: The blocks are bad, but where there are no blocks, the rest of the image still looks decent. That's not a situation my algorithm can handle (well). But it's also not a situation that you'll typically see with MPEG2, VC-1 or h264 videos.

and i wonder if debanding is run before or after deblocking.
Compression artifact reduction is run first, debanding afterwards.

Hmmm...not sure how I feel about the new compression removal. If I'm watching something with lots of grain it seems to target the grain and make the image appear processed. It's a double edged sword.

I guess it's mostly for DVD sources, as it's not really needed for blu-ray or 4K.
I agree that for high-quality sources it's probably not useful. Except maybe if you absolutely hate grain.

Edit2: 'automatically detect hard coded black bars' seems to cease to working with the 'reduce compression artifacts' on.
Seems to work fine for me?

Some NGU sharp here a touch of reduce compression artifcats there and a sprinkle of Adaptive Sharpen and 720 never looked so good.
That exciting time when you have to revisit your profiles..
Have you had a chance to compare the new Adaptive Sharpen to the old one? Would like your feedback on that, if you find some time to compare.

RCA at 1 works well, I wouldn't mind a setting or two below it though.
Ok, I'll try to add a lower setting.

Is there absolutely no way atm to display Dolby Vision content via PC (MPC-MadVR) to a Dolby vision tv? No support whatsoever?

Its a damn shame. HDR10 works
Dolby Vision UHD Blu-Rays have a HDR10 base layer, so you don't lose all that much. What you do lose is 12bit support and dynamic metadata support. Dolby Vision is a very complicated thing, I'm not sure if I'll support it. Maybe, maybe not.

Hi Madshi, what upscalling option do you think is better for me , I playing bluray / 1080p high bitrate videos on a 4k tv lg uf8500, mpc-be ,lav filters 0.72.77 along with SvP to do 60fps, my hardware is a I7 3770k, Gtx 1070, 8gb of ram.:thanks:
I don't know how much performance SVP costs, so it's hard for me to do a specific recommendation. With high-quality content usually NGU-Sharp or NGU-Standard looks pretty good for image upscaling. That's the most important setting to choose. The chroma options are much less important in comparison.

Quick thoughts about new madVR algorithms:
1) On my samples RRN often smooths severe blocking more effectively than same strength RCA.
2) GTX1060 3Gb is on the limit for 1080p60 RCA/RRN processing, I have to overclock it to minimise dropped frames.
3) RCA with strength=4..6 is very effective for reducing mosquito noise on H.264 HD videos with a lack of bitrate (like game recordings from YouTube/Twitch), sharpness loss is slight.
4) RCA with strength=1..3 is effective for reducing slight/moderate compression artifacts on various H.263/MPEG-4 ASP (XviD etc.) non-cartoon SD encodings, detail loss is visible but acceptable.
5) Unfortunately RCA/RNN is in general detail destructive for non-cartoon SD video, however other denoising filters may be even more destructive.

EDIT: Conclusion: great work, as usual!
Interesting, I didn't expect "RRN" to handle blocking better than "RCA"! So is there anything RCA does better than RRN for your use case?

FWIW, there's minor blocking and there's major blocking. For minor blocking, RRN might work well, but I think it will be out of its depth with major blocking.

@Madshi: Do you have any ETA for D3D11 with DXVA scaling ?
Sorry, I usually don't give out ETAs.

Using latest madvr and nvidia drivers. Now Windows will automatically turn on its hdr if I play a movie with madvr. I have set to 'off' because I'm using a 980Ti. But no matter what setting I try (let madvr decide or passthrough hdr) Windows will automatically turn on its hdr.
What does "Windows will automatically turn on its hdr" mean exactly? Does a window popup which says "hello, I'm Windows and I've just turned on hdr"? Or what happens exactly that makes you say that Windows turns on hdr?

the "reduced random noise" and reduce compression artifacts" do wonders for some of my noisier 480p content.
Wow if you really want to see what those options in madVR can really do, grab a copy of Remo Williams The Adventure Begins on DVD. Mine is the crappy 4:3 release and the detail is just incredible. That is a HORRIBLY bad release so the fact that there's now clear details upscaled to 1080p is freaking incredible.
Sounds great! Maybe you could post 2-3 "before vs after" screenshots which showcase the improvement you're seeing?

no way "reduce compression artifacts" and "reduced random noise" make impossible result on 576 2d Anime

with long time and alot of traying difrrent denoise filters (QTGMC, hqdn3d, eDeen, FluxSmooth, TemporalCleaner, Deen, dfttest,DeGrainMedian, RemoveGrain, gradual denoise, mplayer temporal noise reducer, denoise 3d) and i tray many noise reduction highend plugins ( topaz denoise, MSU Denoiser, Neat Video, Denoiser II, Red Gian denoiser ) and also i tray many programs ( CyberLink PowerDVD Ultra, corel windvd ) every one from this has big Common defect, in low strength settings it destroy the images, While keep alot of noise and artifacts,The higher strength settings totally destroy the images and blured it much.

only waifu2x do great job, in 2d Anime it can tottly clean the noise and compresing artifacts, While keep the images sharp and crisp, put to do that it take very long time (4 second for every frame )

now madvr do it again and offer the best solution ever, the new algorithm in strength settings (3 : 8) do Almost the The same efficiency Like waifu2x, it tottly clean compression artifacts and noise, While keep the images sharp, crisp and never blured or destroyed lines or details.

With observation, that madvr algorithm do that in realtime, it much much faster than waifu2x and alot of highend noise reduction plugins.

Comparison
rca = reduce compression artifacts
rnn = reduce random noise

low-res artifacts Source image
https://s20.postimg.org/3xl84s789/image.png (https://postimg.org/image/3xl84s789/)

ngu anti alias very hight
https://s20.postimg.org/4odyak9ll/3-ngu_anti_alias_very_hight.png (https://postimg.org/image/4odyak9ll/)

ngu sharp very hight
https://s20.postimg.org/dkoqei07t/3-ngu_sharp_very_hight.png (https://postimg.org/image/dkoqei07t/)

adobe premiere pro+magic bullet denoiser iii
https://s20.postimg.org/pm2nsfdsp/3-adobe_premiere_pro_magic_bullet_denoiser_iii.png (https://postimg.org/image/pm2nsfdsp/)

ngu sharp very hight+sw scaler gaussian blur
https://s20.postimg.org/6d0zoo49l/3-ngu_sharp_very_hight_sw_scaler_gaussian_blur.png (https://postimg.org/image/6d0zoo49l/)

ngu sharp very hight+denoise3d hq
https://s20.postimg.org/lzwufs7fd/3-ngu_sharp_very_hight_denoise3d_hq.png (https://postimg.org/image/lzwufs7fd/)

ngu sharp very hight+rca8
https://s20.postimg.org/mtqwom93t/3-ngu_sharp_very_hight_rca8.png (https://postimg.org/image/mtqwom93t/)

ngu sharp very hight+rca4+rrn4
https://s20.postimg.org/7max49h95/3-ngu_sharp_very_hight_rca4_rrn4.png (https://postimg.org/image/7max49h95/)

waifu2x(UpRGB)(noise_scale)(Level3)(1920x1080)
https://s20.postimg.org/3r7j1oy3d/3-_Up_RGB_noise_scale_Level3_1920x1080.png (https://postimg.org/image/3r7j1oy3d/)

more Comparison
http://www.mediafire.com/file/30an3q66a5xa1of/Screenshots1.rar

sd anime channels in prpgdvb now look clean and crisp like full hd channels

in my opinion, no mor need to nnedi3, As long as no need to waifu2x himself :D
NGU now Unbeatable in 2d 3d Anime, such as normal life content

@madshi, no words can thank you as you should, so you are the best :)
Great screenshots - thanks! :)

You appear to have introduced a new "bug"
When optiming custom resolutions;
When you press "Test Mode", it tests the new custom resolution.
But "Stop Timer" doesn't restore the previous mode, only "No" does.

When pressing "Yes" (to save the custom mode) it say's you can't save the active mode
I think the behaviour is as intended. You press "Stop Timer" if you're not sure yet if the new mode is "good" or not. So the previous mode should not be restored yet if you press "Stop Timer", because that gives you more time to test the mode. When you press "No", or if the timer runs out without being stopped, or if you press Escape, the old mode is restored. If you successfully press "Yes" to save the mode, it actually stays active.

If the GPU driver refuses to save the mode that's a bug in the Nvidia GPU driver, unfortunately. It happens for me, too. Nvidia is aware of this bug and will hopefully fix it some time in the future.

Unfortunately, that didn't fix the issue for me.
Argh, that's too bad... :( In that case, can you create some more freeze reports for me? This time it would help if you did this with the proper media player PDB debug symbols and LAV Video Decoder PDB debug symbols in the right folder. That way the freeze reports will also tell us what the media player and LAV were doing. Maybe that helps figuring out what's going on?

mzso
9th October 2017, 20:15
Hmmmm, that's bad. Can you create a debug log from this situation for me?


Uhm. Can anyone tell me how to do that?

x7007
9th October 2017, 20:17
Is there a bug with D3D11 Windowed mode ? it's 8 bit , it's only Full Screen 10 bit. or this just how it was , I forgot.


I have some crashes with the new madvr when I'm closing potplayer same as

Hi madshi

with the new version my mpc-hc crashes every time when I close it. I have no settings changed. All fine with v0.92.4


Is the version 92.6 hotfix suppose to fix this issue ?

Faulting application name: PotPlayerMini64.exe, version: 0.0.0.0, time stamp: 0x592fd342
Faulting module name: ntdll.dll, version: 10.0.15063.608, time stamp: 0x8274fd8b
Exception code: 0xc0000374
Fault offset: 0x00000000000f775f
Faulting process id: 0x2084
Faulting application start time: 0x01d34133f3f2c707
Faulting application path: C:\Program Files\DAUM\PotPlayer\PotPlayerMini64.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: da73f4a9-2604-45f5-a785-585d5d4a319f
Faulting package full name:
Faulting package-relative application ID:

EDIT : Seems it does fix it. Thanks !

madshi
9th October 2017, 20:38
Uhm. Can anyone tell me how to do that?
You double click "activate debug mode.bat", then you reproduce the problem, then you double click "activate release mode.bat". Done. Now you should have a monster sized debug log on your desktop. Zip it up and upload it somewhere, don't attach it to this forum.

madshi
9th October 2017, 20:39
madVR v0.92.6 released

http://madshi.net/madVR.zip

* fixed crash introduced in v0.92.5
* algos "reduce compression artifacts + random noise" now faster for chroma
* added "deblockChroma" and "denoiseChroma" file tags

mrmarioman
9th October 2017, 20:40
What does "Windows will automatically turn on its hdr" mean exactly? Does a window popup which says "hello, I'm Windows and I've just turned on hdr"? Or what happens exactly that makes you say that Windows turns on hdr


Well, you know, Windows has a toggle to turn on hdr. I always have that off. I use nvidia. But now when I play a movie, Windows will turn on that setting -if I go to the menu I can see it's on. And the colours when I stop playing a movie will wash out: I have to go to the menu and turn off hdr everytime I stop playing a film. It starts on its own.
This is also causes the screen to sometimes not display hdr colours correctly. Sometimes it works, sometimes it looks washed out.

madshi
9th October 2017, 20:42
Well, you know, Windows has a toggle to turn on hdr. I always have that off. I use nvidia. But now when I play a movie, Windows will turn on that setting -if I go to the menu I can see it's on. And the colours when I stop playing a movie will wash out: I have to go to the menu and turn off hdr everytime I stop playing a film. It starts on its own.
This is also causes the screen to sometimes not display hdr colours correctly. Sometimes it works, sometimes it looks washed out.
Do you mean the toggle "HDR and Advanced Color"? I've never heard yet of this toggle automatically enabling itself! Are you on some fast track Windows 10 beta build, maybe?

SamuriHL
9th October 2017, 20:45
Sounds great! Maybe you could post 2-3 "before vs after" screenshots which showcase the improvement you're seeing?


Yea, I'll try to get to it in the next couple days when I get a free minute. The source material that is my goto testing for these kinds of improvements is the Highlander Endgame DVD upscaled to 1080p. I threw in Remo Williams just to see cause I know how bad that DVD is mastered and that really surprised me. I'll see what I can do for screenshots soon.

Werewolfy
9th October 2017, 20:47
I'm really glad to see you've created a RCA and a RRN, I can finally get rid off ffdsohw... Well not yet.

First, I want to precise I'm not a huge fan of processing filters. But some DVDs are so noisy... It's almost unwatchable on a large 4K screen. So in that case, I'm willing to sacrifice some little details if the whole picture seems better.

RCA is great! It does a wonderful job at reducing the compression artifacts while preserving a very good level of details. It's very good for DVDs, I'm using strength 2. But even at 1, the difference is easily visible. I thing the highest values are useless, I would prefer one level below level 1 to fine tuning some videos.

RRN was one of the algos I was waiting for the most. For now, I'm a little disappointed with this one. Ok it does a very good job at denoising the picture but the cost in details and sharpness are way too high for me even at strength 1. Maybe is it just a matter of strength? Could you create a strength some levels below 1? For now, I prefer TTempSmooth. It's a good denoiser, it doesn't clear all the noise but it stabilize it while preserving most of the details. But I would prefer to use only MadVR because ffdshow is quite buggy!

Anyway, thanks a lot for all your work. I hope you can improve RRN in a future build but you definitely made MadVR more incredible once more :)

mzso
9th October 2017, 21:04
You double click "activate debug mode.bat", then you reproduce the problem, then you double click "activate release mode.bat". Done. Now you should have a monster sized debug log on your desktop. Zip it up and upload it somewhere, don't attach it to this forum.

At least they compress extremely well. I made two:

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

PS:
You didn't say anything else about the process I should follow so I activated debug mode, started Potplayer, produced the hang, killed off potplayer, then deactivated debug mode.

madshi
9th October 2017, 21:10
I'm really glad to see you've created a RCA and a RRN, I can finally get rid off ffdsohw... Well not yet.

First, I want to precise I'm not a huge fan of processing filters. But some DVDs are so noisy... It's almost unwatchable on a large 4K screen. So in that case, I'm willing to sacrifice some little details if the whole picture seems better.

RCA is great! It does a wonderful job at reducing the compression artifacts while preserving a very good level of details. It's very good for DVDs, I'm using strength 2. But even at 1, the difference is easily visible. I thing the highest values are useless, I would prefer one level below level 1 to fine tuning some videos.

RRN was one of the algos I was waiting for the most. For now, I'm a little disappointed with this one. Ok it does a very good job at denoising the picture but the cost in details and sharpness are way too high for me even at strength 1. Maybe is it just a matter of strength? Could you create a strength some levels below 1? For now, I prefer TTempSmooth. It's a good denoiser, it doesn't clear all the noise but it stabilize it while preserving most of the details. But I would prefer to use only MadVR because ffdshow is quite buggy!

Anyway, thanks a lot for all your work. I hope you can improve RRN in a future build but you definitely made MadVR more incredible once more :)
TTempSmooth is a multi-frame algorithm, while RRN is a single-frame algorithm. Generally, multi-frame algorithms have an advantage for random noise (and grain) removal, because random noise and grain are (supposed to be) different in each frame while the actual image content stays more or less static (unless there's motion in the scene). If you want to compare RRN with other algorithms, please pick single-frame algorithms for comparison purposes. I do plan to look into multi-frame algorithms in the future, but it's not too easy. For best results you basically need some sort of motion compensation, or at least motion detection. And if that compensation or detection goes wrong, you can end up with pretty bad artifacts. For now I wanted to start with a single-frame noise reduction algorithm, because it's easier to implement and less dangerous in terms of adding weird artifacts.

Sarlaith
9th October 2017, 21:16
Hi madshi,

Wont quote the entire post.
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.

Ver Greeneyes
9th October 2017, 21:23
Hmmmm... The next build will now process chroma in its original resolution, which should speed things up, and may also improve quality a bit. If you still think you need different luma vs chroma strengths, you can now use the file tags (e.g. "deblock=4 deblockChroma=8"). The settings dialog doesn't support this atm, though.
Thanks! I'll play with the tags and see if I think diverging settings are worthwhile.