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

Paladin77
8th August 2012, 22:23
My personal taste is:
For low end Systems (laptops for instance): bicubic 75 on all scalers.

high end Systems: Bicubic 75 in chroma spline 4 in luma.

Boltron
8th August 2012, 23:21
So I have a question for you guys who watch blurays on high end players and HTPCs with madVR. Which produces higher playback quality?

I have a fairly large bluray collection which I have ripped (transcoded, 1:1) to a NAS. I do not have a bluray player at all other that the one on my computer where I do the ripping. My movie playback quality is awesome... as far as I know however I have never watched a movie played on a stand alone bluray player. I just can't help but wonder, would a higher end bluray player possibly provide better PQ?

I am sure that in this community, many of you guys would have compared the two. So, anyone want to share your thoughts?


My setup: Win7, MC17, LAV Filters, madVR, ATI 7770. HDMI to Denon 4311CI receiver, finally to my TV an LG LE8500 (IPS with LED backlighting, full array, local dimming) and the set has been calibrated.

ajp_anton
8th August 2012, 23:42
Bug:
Open video, stop video, go to fullscreen (I use exclusive mode), hit play. The video will occasionally start playing in a small window in the top/left corner with the size of the previous non-fullscreen window with the rest of the screen black.
Haven't narrowed down exactly how to do it every time, but it happens about 2/3 of the time when I do it.

MPC-HC, Win 7 x64, Nvidia Geforce 9300.

6233638
9th August 2012, 01:16
So I have a question for you guys who watch blurays on high end players and HTPCs with madVR. Which produces higher playback quality?Just like most high-end AV equipment, high-end Blu-ray players are mostly snake oil and don't offer anything over low-end Blu-ray players as far as AV quality is concerned.

Advantages of using a HTPC:
Gets you better chroma upsampling than most players
Gives you better picture controls (3DLUT calibration etc.)
Gives you the option to play back DVDs at 24p to avoid film judder (do any stand-alone players even offer this?)
Gives you more flexibility with DVD upsampling (and better quality)
Lets you force film/video deinterlacing rather than hope the player gets it right
ReClock 50Hz discs to 24p
ReClock 24/1.001 discs to 24p
Upsample audio
Start the film directly, no load times, advertising, menus or other crap to wait through
It's a moving platform. You buy a Blu-ray player and image quality is not going to change. HTPC image quality has steadily improved over time as development of things like madVR and LAV Filters has progressed
Instant access to your library. If you're ripping discs (hopefully not compressing them) then you can instantly start watching something, rather than find the disc for it. Also means you don't have to store your library of discs within arm's reach of the TV and can keep them out of sight
You can do more. My HTPC is my computer, my blu-ray player, my media streamer, and my games console. I only need one device hooked up to my TV and it's kept out of the way in another room (HDMI cable routed through the walls)
What you lose:
Simplicity. You need to do some initial configuration, and I've yet to see a way to automate things to make it as easy as simply putting a disc in a stand-alone player. (though I suppose if you're playing back off the disc on a HTPC, it can be that easy)
High bit-depth output. HTPCs are limited to 8-bit output with madVR right now, stand-alone players offer 10+bit output. (though many will "output" higher bit-depths than they are actually operating at internally) With madVR's 16-bit internal precision and dithering, I'd argue that it can still produce better results. It depends on the display device and the player you're comparing to. And hopefully at some point, madVR will output 10-bit or greater too.
Bitstreaming. PCs do not run their video and audio hardware off the same clocks, and so it's not possible to have them perfectly synced up. You either have to sacrifice bitstreaming (but if you're upsampling, this is moot) to have audio synced to the video without any dropped/repeated frames, or suffer dropped/repeated frames to have bitstreamed audio. This is a non-issue in my opinion, but some people love that light on their AVR and insist on wanting to bitstream.
Power efficiency
Noise level. Even a quiet PC is usually louder than a modern Blu-ray player, though I don't keep my tower in the same room as my display
3D support. I don't think there's any way to output 3D when running MPC-HC and madVR (though you can always have another player I guess?) I've had a 3DTV for close to two years now and I never use 3D any more so I don't really care.
In my opinion, the HTPC is a vastly superior solution, but it's not right for everyone.

Hprd
9th August 2012, 03:19
Hprd, are you able to produce a screenshot for this "bleeding" effect?

Yes, scaling to "fullscreen" in windowed mode shows the difference. Although it's obviously not terribly huge, "MN" is slightly cleaner/less blurry than "BC60":

MN:

http://thumbnails57.imagebam.com/20505/77cd47205042506.jpg (http://www.imagebam.com/image/77cd47205042506)

BC60:

http://thumbnails57.imagebam.com/20505/b75b1e205042503.jpg (http://www.imagebam.com/image/b75b1e205042503)

You can also see this on 6233638's comparisons with the text on the previous page. Anything sharper than MN is a little less defined, and although SC100 is a little cleaner, the colors are too dull (as was stated by him as well).

Neeto
9th August 2012, 05:36
What you lose:
[list] Simplicity. You need to do some initial configuration, and I've yet to see a way to automate things to make it as easy as simply putting a disc in a stand-alone player. (though I suppose if you're playing back off the disc on a HTPC, it can be that easy)
Noise level. Even a quiet PC is usually louder than a modern Blu-ray player, though I don't keep my tower in the same room as my display


Both Simplicity and Noise level are fixable.
Using Windows Media Centre, MyMovies & MPC as an external player I've been able to make it so simple that even my family can use it - ripped or off-disk playback - only one remote - no reconfiguring of inputs :D
I've managed to have a completely noiseless HTPC using a HFX case - expensive but worth it to improve acceptability :D

ryrynz
9th August 2012, 13:32

ryrynz
9th August 2012, 13:42

innocenat
9th August 2012, 17:25
I am having problem deinterlacing MBAFF with LAV Filter (w/o software deinterlacing) and madVR, both latest problem. Is there anything I should set?

renq
10th August 2012, 07:05
Power efficiency
Noise level. Even a quiet PC is usually louder than a modern Blu-ray player, though I don't keep my tower in the same room as my display
Define a quiet PC. It's quite easy to build a quiet, if not silent PC, although it's more expensive. Usually the loudest thing is the HDD- use an ssd and have a NAS/home server and then you're left with only fans from video card, cpu and PSU.
Modern low-end CPU (2-core Sandy, APUs) would be powerful enough and able to be run (almost completely) passively.
PSUs are a bit trickier, cheaper ones usually have loud(ish) fan, but one could probably get away with changing or completely removing the stock fan OR getting a proper PSU with proper fan control (some don't start the fan under 20% load).
Vid card- it's quite easy to find a powerful enough vid card that's passive

madshi
10th August 2012, 14:00
Here's a new test build:

http://madshi.net/madVRantiringing3.rar

Same as last test build, just with a slightly modified anti-ringing algorithm. I hope that directional artifacts are noticeably reduced. But that comes at the cost of some ringing which isn't removed. So please test:

(1) Are there still any sort of artifacts caused by the anti-ringing algorithm? Or is it artifact free now?
(2) Is the anti-ringing itself still (nearly) as effective as before?

digitech
10th August 2012, 15:35
Here's a new test build:

http://madshi.net/madVRantiringing3.rar

Same as last test build, just with a slightly modified anti-ringing algorithm. I hope that directional artifacts are noticeably reduced. But that comes at the cost of some ringing which isn't removed. So please test:

(1) Are there still any sort of artifacts caused by the anti-ringing algorithm? Or is it artifact free now?
(2) Is the anti-ringing itself still (nearly) as effective as before?

Thanks for keeping us updated and fresh madshi, a big thank you for giving us this wonderful piece of software art that MadVR is :)

secvensor
11th August 2012, 20:55
Here's a new test build:

http://madshi.net/madVRantiringing3.rar

Same as last test build, just with a slightly modified anti-ringing algorithm. I hope that directional artifacts are noticeably reduced. But that comes at the cost of some ringing which isn't removed. So please test:

(1) Are there still any sort of artifacts caused by the anti-ringing algorithm? Or is it artifact free now?
(2) Is the anti-ringing itself still (nearly) as effective as before?

Thanks for it!

zerowalker
11th August 2012, 23:23
what settings should i use to speed up the Seek, i currently use EVR as i totally love the Seek, it´s so fast, but MadVR is so damn slow (not complaining about the Renderer itself!).
So i wonder if there is a way to speed it up?

I got a pretty fast PC overall if that changes anything:)

BetA13
12th August 2012, 02:28
Here's a new test build:

http://madshi.net/madVRantiringing3.rar

Same as last test build, just with a slightly modified anti-ringing algorithm. I hope that directional artifacts are noticeably reduced. But that comes at the cost of some ringing which isn't removed. So please test:

(1) Are there still any sort of artifacts caused by the anti-ringing algorithm? Or is it artifact free now?
(2) Is the anti-ringing itself still (nearly) as effective as before?


:goodpost:

nice.. Well i just updated it and from the first little testing with some different videos, (xvid, mkv,flv, etc) it all looks a little better...the Artefacting is deffo a little less, i can clearly see it on the History channel Sign..its Red and looks damn good to me with lanczos 3 + anti ringing..

i do, on the other hand see some aliasing..But could be the movie doh, so i need to test that a little bit more...

But all in all it looks better a bit...ALso same gpu/cpu usage..

greetz BetA

EDIT..

also i have a little question :)

I use fullscreen Exclusive mode..And when i go fullscreen, (no matter what kind of movie, mkv, xvid, high low bitrate) i get Presentation Glitches..1 - 2 in 30 secs..Rest is fine..no drops or skipped frames...Just those Presantation Glitches are itching me a little...i tried a lot now..using dx11 render path, or teh other things sugessted in ur settings menue..

maybe someone could point me into the right direction so i kno wwhere to start to look for probs..Also, What exactly is a "presentation Glitch" ?

Thanks..

Mangix
12th August 2012, 06:29
what settings should i use to speed up the Seek, i currently use EVR as i totally love the Seek, it´s so fast, but MadVR is so damn slow (not complaining about the Renderer itself!).
So i wonder if there is a way to speed it up?

I got a pretty fast PC overall if that changes anything:)

Changing the resizers to Bilinear will speed things up really nicely.

madshi
12th August 2012, 07:21
what settings should i use to speed up the Seek, i currently use EVR as i totally love the Seek, it´s so fast, but MadVR is so damn slow (not complaining about the Renderer itself!).
So i wonder if there is a way to speed it up?
Which splitter and which video decoder are you using? Can I have a sample which shows faster seeking with EVR compared to madVR? Do you have the madVR option "rendering\general settings\delay playback start until render queue is full" activated? If so, try deactivating it.

nice.. Well i just updated it and from the first little testing with some different videos, (xvid, mkv,flv, etc) it all looks a little better...the Artefacting is deffo a little less, i can clearly see it on the History channel Sign..its Red and looks damn good to me with lanczos 3 + anti ringing..

i do, on the other hand see some aliasing..But could be the movie doh, so i need to test that a little bit more...

But all in all it looks better a bit...ALso same gpu/cpu usage..
Finally some test results with the new build - thanks!

That aliasing, does it go away if you disable the anti-ringing filter? If not, then it's not the fault of the anti-ringing filter.

I use fullscreen Exclusive mode..And when i go fullscreen, (no matter what kind of movie, mkv, xvid, high low bitrate) i get Presentation Glitches..1 - 2 in 30 secs..
I guess you're an NVidia user? This problem mostly affects NVidia, unfortunately. For me using the DX11 render path in combination with the "limit render times to avoid glitches" helps quite nicely.

Netuser
12th August 2012, 07:42
Hi,

I have pass to madvr and Lav filter setup and I have amazing quality and no more problem with Full HD playback :D

Thanks so much madshi :)

But I have 2 problem and I don't know if in futur version of madvr you can implement them.

1- I watch a lot of Vob of music videos and often old videos are 4/3 and boxed, before with ffdshow I use to use a script called LameAutoCrop which automatically crop the black border so that I can watch the clip in full screen and don't have to zoom each time. Is there anyway you can add this option ? or a way to adopt it ?

2- problem is that I can not take screenshot in MPC-HC when I use madvr :( i have to switch to other output option in MPC to do so. are you planning to add this option in future ?

Thanks a lot :)

BetA13
12th August 2012, 08:32
Finally some test results with the new build - thanks!

That aliasing, does it go away if you disable the anti-ringing filter? If not, then it's not the fault of the anti-ringing filter.


I guess you're an NVidia user? This problem mostly affects NVidia, unfortunately. For me using the DX11 render path in combination with the "limit render times to avoid glitches" helps quite nicely.


hy there,

Thanks for your answer, and yes i am Nvidia user, hehe..
Im gonna test what u recommend for shure..

And you where also right on teh aliasing..it was the movie..it was an recording of an VHS tape and pretty old...Other Movies work fine (recorded Stuff from TV and STreams)...I like the anti ringing filter...
ALso im a little bit more away from my HDTV when i watch movies so the picture gets even better..Thats why noone can say these are teh best settings for Madvr and all..cause it has also a lot to do how far away or near the TV you are..

On close look with my CRT Monitor i can spot the differences..Still, im gonna keep lanczos - 3 - plus anti ringing, from my view its better then the Soft one..i can clearly read, picture is sharp and i have less or no artefacts.(depends on the source..BlueRays are awesome and clear as they can get..)

Anyway, THX for the Answer...gonna report back about the presentation glitches...

greetz BetA

madshi
12th August 2012, 13:24
And here comes the next test build:

http://madshi.net/madVRantiringing4.rar

This time anti-ringing is available for all upscaling algorithms, luma and chroma. Also anti-ringing should be quite a bit faster for NVidia users than before. I'm interesting in the following
FEEDBACK:

(1) Can you find any real-life situations where activating the anti-ringing filter negatively impacts image quality?
(2) How much worse is the performance with anti-ringing turned on vs. off?
(3) Is there any reason *not* to use anti-ringing?

Depending on your feedback, I might eventually always force on anti-ringing (for those algorithms which need it), and only allow to deactivate it via a "trade quality for performance" option. Thoughts on this?

noee
12th August 2012, 16:17
Testing with some run-of-the-mill SD sources => 1080, and a couple of animation movies (toy story, cars):

1. No, not with my setup, but I can't really see the difference on the chroma options.
2. With Luma upscaling only: Render time as reported by OSD, With AR: 7.35ms Without AR: 6.55ms. If I turn on chroma AR (bicubic 60), it adds another ms (8.35ms).
3. Not from where I sit.

My testing just consists of a handful of movies and I just watch them at certain points. I don't pause playback and all that micro-level analysis. I go by "feel". To my eyes, luma up with Bicubic 75 AR and Spline3 AR both look better (cleaner, sharper) on these particular sources. (HD6570, CCC12.7b)

and only allow to deactivate it via a "trade quality for performance" option. Thoughts on this?

Sounds like a good idea.

Ver Greeneyes
12th August 2012, 17:04
I have a question with regards to the color correction built into madVR. My monitor is calibrated using an X-Rite ColorMunki Photo, using a LUT together with a v4 ICC profile. If I setup my monitor in madVR so that it's set to "this display is already calibrated", will it use the ICC profile assigned to my monitor? Or do I somehow need to convert my ICC profile to a 3DLUT file? The LUT itself should already be loaded into my GPU.

Oh, and should I "enable gamma processing" on the color & gamma tab? Would it do anything if it's set to the same gamma as my ICC profile (2.20)?

If there's a readme with detailed descriptions for each setting out there, I'd love to read it.

turbojet
12th August 2012, 17:31
(1) Can you find any real-life situations where activating the anti-ringing filter negatively impacts image quality?

It blurs quite a bit, as a detail nut, hence the negative bicubic blur request earlier, this is concerning. f3kdb filter in my setup eliminates most ringing without blurring, in fact it looks a little sharper.

(2) How much worse is the performance with anti-ringing turned on vs. off?

nvidia 9500GT, bicubic 100, SD and HD source is same load
none - 18% GPU
chroma only - 20%
luma only - 30%
chroma+luma - 32%

(3) Is there any reason *not* to use anti-ringing?

heavier load, softer picture

Depending on your feedback, I might eventually always force on anti-ringing (for those algorithms which need it), and only allow to deactivate it via a "trade quality for performance" option. Thoughts on this?

Would be nice to keep chroma and luma separate. I'll use it for chroma but not for luma, if given the chance. The blur in the chroma isn't noticeable and most of the ringing seems to be in the chroma.

Thanks for adding anti-ringing to all resizers, it was worth the wait.

06_taro
12th August 2012, 17:41
If using a "trade quality for performance" option, I still prefer a resolution based method as I suggested before (http://forum.doom9.org/showthread.php?p=1585533#post1585533).

Upscaling 720p to fullscreen on my 1366x768 screen does not cause any noticeable ringing, unless I set tap to 8, but upscaling 480p does, even with 3-tap. On my HD3000, with 4-tap lanczos and AR disabled, the rendering time is about 25~26ms for 720p and 13ms for 480p, while with AR(luma only) they increase to 30~32ms / 16ms, and 33~35ms / 18ms with AR(luma&chroma), so frame drops may sometimes occur on 720p30 contents but not on 480p contents. That's why I prefer to disable it for HD but enable it for SD. Maybe an option like this could make it more convenient:

anti-ringing algorithm:
- always on
- only when enlargement factor >= 1.5 (or maybe other value) or above
- always off

Besides, anti-ringing algorithm seems also faster on Intel HD3000 too in madVR-AR4 compared to madVR-AR3, thanks for your great work!

fairchild
12th August 2012, 17:55
As always, thanks Madshi for continuing development of MadVR.

I personally agree with turbojet that if you do decide to make AR On, being the standard, then having an option to separate it by chroma and luma would be great. I currently am using the settings below and the picture quality has never looked better:

Chroma: Bicubic75 (AR on)
Luma: Bicubic75 (AR off)

madshi
12th August 2012, 18:34
It blurs quite a bit
Can I please have a sample, or maybe even 2 or 3, where this blurring is visible?

Hypernova
12th August 2012, 18:37
(1) Can you find any real-life situations where activating the anti-ringing filter negatively impacts image quality?
(2) How much worse is the performance with anti-ringing turned on vs. off?
(3) Is there any reason *not* to use anti-ringing?

Depending on your feedback, I might eventually always force on anti-ringing (for those algorithms which need it), and only allow to deactivate it via a "trade quality for performance" option. Thoughts on this?

Finally got some time to test this out. Please note that I've only test it briefly.

(1) From a couple files I tried, no.
(2) On Intel HD4000, 1080p->2560x1600 scaling, the rendering time are ~32 when on vs. ~28 when off. The video is still smooth so it's ok
(3) No reason from what I see so far

I agree with AR on by default, but I would still keep the deactivation checkbox at where it is now. I think it make more sense there.

mbordas
12th August 2012, 18:51
It would help if there were some agreed upon test clip so you could compare reactions from different users to the same source material. I've tried the new version and it looks great to me, and the rendering times are low on my gt 440 (6-9 ms). But I don't know what the standard is to look for, so can't really give an informed opinion.

turbojet
12th August 2012, 19:16
Can I please have a sample, or maybe even 2 or 3, where this blurring is visible?

http://180upload.com/tosenohlwins

1= 720x304
2= 1280x544
both= chroma+luma anti-ringing
chroma = chroma anti-ringing
luma = luma anti-ringing
none = no anti-ringing

The differences are more noticeable at 24 fps but unsure how to show that. The results are the same for every source and frame compared.

chros
12th August 2012, 19:40
I've tried the new version and it looks great to me, and the rendering times are low on my gt 440 (6-9 ms).
I have noticed that, too (using Lanczos 4 tap). Is that mean that you're (madshi) using the older algorithm or the new had speeded up?

And doesn't the antiringing option has any meaning at downscalers?

Thanks for your effort!

madshi
12th August 2012, 20:36
@turbojet, screenshots don't help me, I need *samples*. If I can't reproduce the problem on my PC, I can't fix it.

Owyn
12th August 2012, 22:20
Please fix the resizing crash, it crashes pretty a lot T_T
*sent all the reports to mail*

turbojet
12th August 2012, 22:55
There's no problem, so to speak, it does what it's intended to do well but a side effect is it blurs the picture, too much in my opinion to use it on luma (except unbearable ringing sources). Thus a negative impact on image quality, maybe you were looking for image artifacts or issues produced by anti-ringing. If so, I misunderstood the question.

I hope the settings stay as they are now, more control is always better.

Also do you still plan on back reading the old posts (much offtopic) to find requests/issues or do you want us to post them again?

ryrynz
13th August 2012, 00:19
Also do you still plan on back reading the old posts (much offtopic) to find requests/issues or do you want us to post them again?

He'll definitely read back through them and reply, he's just playing with the anti-ringing at the moment.


Lanczos 3 is using 18% less GPU which now makes it useable for me as there aren't any dropped and delayed frames now.

Enabling anti-ringing with lanczos on luma for a 624x352 video upscaled to 1920x1080 is using an extra 15-17% GPU on my Intel HD 3000. Anti-ringing enabled on chroma is only an extra few percent.


Some image quality analysis shows build 4 being quite superior to build 2. However as Turbojet pointed out it's reducing detail enough that I won't keep it enabled.

Some screenshots of build 2 & build 4 vs no anti-ringing using Lanczos 3 tap luma. We're up close on Haruhi Suzumiya's hair and eyebrow.

Build 2
http://img339.imageshack.us/img339/1456/arbuild2.th.png (http://imageshack.us/photo/my-images/339/arbuild2.png/)

Notice the light patches, the old code destroys a fair amount of dark detail we'd rather keep, the eyebrow gets lightened considerably. Also notice the tip of the hair.

Build 4
http://img43.imageshack.us/img43/373/arbuild4.th.png (http://imageshack.us/photo/my-images/43/arbuild4.png/)

A hell of a lot better than build 2 but still very smooth.

No anti-ringing
http://img221.imageshack.us/img221/5789/noarg.th.png (http://imageshack.us/photo/my-images/221/noarg.png/)

Much better :)

cyberbeing
13th August 2012, 05:12
(1) Can you find any real-life situations where activating the anti-ringing filter negatively impacts image quality?
(3) Is there any reason *not* to use anti-ringing?
It does eliminate resizer ringing, but the luma anti-ringing also reduces fine contrast and blurs fine details significantly. Maybe you could borrow some ideas from Didée's DeHalo_alpha (http://avisynth.org/mediawiki/DeHalo_alpha) avisynth script to compensate for this. Something like a slider for Strong (current setting), Medium, and Weak anti-ringing would also probably be useful if there isn't a one-size-fits-all setting.

http://screenshotcomparison.com/comparison/140183
1280x720 -> 2560x1440 Spline36 anti-ringing VS. normal (200% crop)

http://screenshotcomparison.com/comparison/140194
1920x1080 -> 2560x1440 Spline36 anti-ringing VS. normal (200% crop)

Anti-ringing on chroma causes colors to have increased blur and desaturation compared to normal. I tested various sharper algorithms with anti-ringing in an attempt to compensate for this, but all seem to give worse results compared to normal Catmull-rom chroma, which I still find to have the most neutral colors and saturation.

screenshots don't help me, I need *samples*.
Edit: PM sent with the two samples used in the screenshot comparisons above.



(2) How much worse is the performance with anti-ringing turned on vs. off?


NVIDIA GT440 DDR5 (Overclocked)

1920x1080 -> 2560x1440 23.976fps
19ms Catmull-Rom Chroma | Spline36 Luma
26ms Catmull-Rom Chroma | Spline36 Luma Anti-ringing
28ms Catmull-Rom Chroma Anti-ringing | Spline36 Luma Anti-ringing


1280x720 -> 2560x1440 23.976fps
17ms Catmull-Rom Chroma | Spline36 Luma
23ms Catmull-Rom Chroma | Spline36 Luma Anti-ringing
24ms Catmull-Rom Chroma Anti-ringing | Spline36 Luma Anti-ringing


720x480 -> 2559x1440 23.976fps
12ms Catmull-Rom Chroma | Spline36 Luma
18ms Catmull-Rom Chroma | Spline36 Luma Anti-ringing
18ms Catmull-Rom Chroma Anti-ringing | Spline36 Luma Anti-ringing

madshi
13th August 2012, 09:18
Here's a new test build which will hopefully get rid of the blurring. This comes at a slight performance cost:

http://madshi.net/madVRantiringing5.rar

Is that mean that you're (madshi) using the older algorithm or the new had speeded up?
Older algorithm + anti-ringing.

Maybe you could borrow some ideas from Didée's DeHalo_alpha (http://avisynth.org/mediawiki/DeHalo_alpha) avisynth script to compensate for this.
f3kdb filter in my setup eliminates most ringing without blurring
madVR's algorithm is totally different to what DeHalo_alpha and f3kdb do. The AviSynth DeHalo scripts try to find ringing artifacts in an image and then try to remove them. madVR does not do that *at all*. madVR modifies the resampling algorithm to not ring in the first place. Which IMHO is a much better approach for clean sources. Of course the AviSynth scripts are great for sources that already have ringing in them. You need to use the right tool for the right job. DeHalo_alpha has the purpose of removing *source* ringing. madVR tries to avoid adding new ringing artifacts to the source while resampling. Totally different things. And that means there's zero chance for me to get any ideas from the AviSynth scripts because technically they work very differently.

Of course you could use a normal ringing Lanczos implementation and then follow it up with those AviSynth scripts to remove the ringing again. But that's IMHO much less effective than what madVR is doing. For your interest, here's a 4x zoom comparison (Monsters Inc. Blu-Ray):

http://madshi.net/ringing.png

I've used the default parameters for the AviSynth scripts. Maybe some tweaking of the parameters would have improved the results. But honestly, for real time playback (which is what madVR is all about), you DON'T want to contantly tweak a dozen of complicated parameters.

Anti-ringing on chroma causes colors to have increased blur and desaturation compared to normal.
Does that still happen with the new build? If so, can I have a sample and see some screenshots? I hope you're comparing the saturation of the *original image* as the reference?

Edit: PM sent with the two samples used in the screenshot comparisons above.
Thanks.

There's no problem, so to speak, it does what it's intended to do
Blurring the image is certainly *not* intended.

Also do you still plan on back reading the old posts (much offtopic) to find requests/issues or do you want us to post them again?
I commented on that when I released the first anti-ringing test build.

cyberbeing
13th August 2012, 10:27
The test5 build is ~17% slower, but still has issues reducing fine contrast and blurring fine details in the samples I provided you.

It would seem the anti-ringing modifications essentially remove the beneficial effects of these sharper algorithms, as a trade-off for no ringing?

http://screenshotcomparison.com/comparison/140217

Edit: There does seem to be a very minor improvement on the 1080p sample, but it wasn't noticeable until I made a 400% crop of the 1920x1080 -> 2560x1440 resize.

Spline36 Test4 anti-ringing vs Test5 anti-ringing 400% crop (http://screenshotcomparison.com/comparison/140221/picture:0)
Spline36 Test4 anti-ringing vs Normal 400% crop (http://screenshotcomparison.com/comparison/140221/picture:1)
Spline36 Test5 anti-ringing vs Normal 400% crop (http://screenshotcomparison.com/comparison/140221/picture:2)

chros
13th August 2012, 10:28
Thanks for the new build (v5)! I can't say anything about image quality, but performance on my 9600m GT (compared to v4):
- using Luma Lanczos3 + antiringing on 720p@24Hz is indeed slower
- but (!) using Chroma Lanczos3 + antiringing on 1080p@24Hz is much faster than v4!!! Is antiringing used in this case?

Edit: "Is antiringing used in this case?" Yes, it's used.

madshi
13th August 2012, 12:04
Next try:

http://madshi.net/madVRantiringing6.rar

I've reduced the anti-ringing strength a bit, which means that (especially with Lanczos8) some hints of ringing might not be totally eliminated. But it seems to improve the blurring problem. So basically anti-ringing is slightly less effective, but blurring should be noticeably reduced. Besides, speed is the same as test4 again.

ryrynz
13th August 2012, 12:27
6 is a hell of a lot better than 5. Still wiping out a bit too much for my tastes, especially the darker colors.

Comparison between having no anti-ringing and build 6.

http://screenshotcomparison.com/comparison/140233

All the lighter stuff is being maintained now though unlike in b5.

cyberbeing
13th August 2012, 13:02
Overall I'm satisfied with madVRantiringing6. You seem to be in the right ballpark, considering the 1080p sample I provided now has excellent detail retention with anti-ringing enabled, while still eliminating 99%+ of Spline36 ringing. With a few minor tweaks it will probably be perfect. As ryrynz said, there is still a bit of weakness on darkish lines, which can been seen on the below 400% crop of the 720p sample when scaled to 1440p:

http://screenshotcomparison.com/comparison/140238

This is somewhat nitpicking at this point though.

madshi
13th August 2012, 13:27
@ryrynz, can I have a video sample, matching your screenshot?

@cyberbeing, how about anti-ringing chroma desaturation? Is that solved, too?

ryrynz
13th August 2012, 13:41
@Madshi

http://www.mediafire.com/?5hlgg6e3bms8ahc

If you want to use the same frame, shift and right arrow a couple of times in MPC-HC (frame 307)

cyberbeing
13th August 2012, 13:58
I did a quick test and it seems improved, but not eliminated. Previously it was ~2-3% change in RGB values, now it seems to be ~0.5-1% change with Catmull-Rom. I don't really have a good sample to provide for this though. Just find something with a saturated Red and it should be noticeable. It's early morning where I am, so that's about all the testing I can right now as I need to get some sleep.

chros
13th August 2012, 16:04
On performance wise using Chroma Lanczos3 + antiringing on 1080p@24Hz:
- v6 is slower than v5, but a little faster than v4

Can you make faster the chroma antiringing function as it was with v5?
Thanks!

turbojet
13th August 2012, 18:14
Here's a new test build which will hopefully get rid of the blurring. This comes at a slight performance cost:

A lot less blurring and performance difference is insignificant here, maybe 1-2%. Still a chroma only feature for me but my priorities in video are a bit different then most in this thread. Max detail with a tolerable amount of artifacts.

madVR's algorithm is totally different to what DeHalo_alpha and f3kdb do. The AviSynth DeHalo scripts try to find ringing artifacts in an image and then try to remove them. madVR does not do that *at all*. madVR modifies the resampling algorithm to not ring in the first place. Which IMHO is a much better approach for clean sources. Of course the AviSynth scripts are great for sources that already have ringing in them. You need to use the right tool for the right job. DeHalo_alpha has the purpose of removing *source* ringing. madVR tries to avoid adding new ringing artifacts to the source while resampling. Totally different things. And that means there's zero chance for me to get any ideas from the AviSynth scripts because technically they work very differently.

Of course you could use a normal ringing Lanczos implementation and then follow it up with those AviSynth scripts to remove the ringing again. But that's IMHO much less effective than what madVR is doing. For your interest, here's a 4x zoom comparison (Monsters Inc. Blu-Ray):

I've used the default parameters for the AviSynth scripts. Maybe some tweaking of the parameters would have improved the results. But honestly, for real time playback (which is what madVR is all about), you DON'T want to contantly tweak a dozen of complicated parameters.


f3kdb's intention is to deband which is does a fantastic job, prevention of ringing is a positive side effect. I think it detects mosquito noise near edges and adds grain to fool the resizer into either blurring or treating it as grain instead of trying to get a bunch of details from it. In my tests f3kdb is more effective pre-resize then post-resize. In your pics I prefer the f3kdb to the others. MadVR has less ringing but f3kdb has the most detail.

Agree with default settings, I rarely tweak them unless it's suggested.

Blurring the image is certainly *not* intended.

Thus the side effect which is something unexpected/unintentional. Intention is to anti-ring and it does a good job of it.

I commented on that when I released the first anti-ringing test build.

Just trying to save you some hours/days. There may have been 10 issues/requests in 100+(?) pages.

BetA13
13th August 2012, 19:08
Hy madshi,

Thanks for ur tips, the presentation glitches are mostly gone now with dx11 path and limit rendering times.
Only one or 2 glitches in 1 - 1hour and 10min.

its totaly ok for me :)

Also the new anti ringing is really nice..rendering times stay around 5ms..(+-0.20ms)

I just have one Problem now..Before i used the DX11 render path my movies matched my HZ, i mean run @ 60FPS/hz, but now when enabled DX11 Render Patch, it doesnt work anymore, it stays at the Movies fps, no matter what i try.. Is there a reason for this? Or is it just not possible to match the hz and fps in dx11 mode?

i really kinda need this, cause it makes a good difference here for me if i play teh movies @ 23 - 30 fps or @ 60 fps...


Thanks..

Greetz BetA

l0rdraiden
13th August 2012, 22:56
@madshi Taking into account all the testing done with the builds would be nice to release the final version already with the best scaling settings possible for quality, or at least put them in the first post.

sexus
14th August 2012, 00:45
hell im all for a final version , if madshi is that far in on dev , best scaling settings included please ;) , max quality and minimum artifacts ,minimum colour change and minimum ringing and minimum aliasing, is where its at as others have mentioned, keep it up madshi you going far with madvr now , together we can reach video playback heaven wohoo!!!

p.s: after reading through the last pages i guess then it comes down to these settings? with madvr testbuild6 :confused::

chroma upscaling - lanczos3 +AR
luma upscaling - the same
luma downscaling - bicubic 75 + scale in linear light

pie1394
14th August 2012, 02:22
http://madshi.net/madVRantiringing6.rar

(2) How much worse is the performance with anti-ringing turned on vs. off?


C2D P8600, Ion-LE chipset , Dual-ch DDR3-1333 8GB, 1280x720p24 at 1280x720 window mode. It shows the GPU loading like this:

Chroma + Lanczos3 --> 40 ~ 41%
Chroma + Lanzcos3 + AR --> 60 ~ 61%
Luma + HW Bilinear (effectively no scaling)