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

clsid
30th October 2012, 16:56
It was actually an older version of LAV Audio that seemed to get it working, and I need the downmixing/better format support that newer versions have.

DVDs work fine with renderers other than madVR, so I don't know that the problem lies with LAV, however. (ffdshow audio decoder doesn't work either)

Neither Madshi, nor Nevcariel seem to have any interest in this problem though. (and Nevcariel says that DVDs work on his system)

I did at least figure out (http://forum.doom9.org/showpost.php?p=1598268&postcount=189) how to get the old hacks working on Windows 8, though they don't work nearly as well as the Windows 7 (and presumably 8) DVD Navigator does.It is not a bug in madVR/LAV/ffdshow. If it ever worked, it was by pure luck and coincidence. The developers show no interest because so far nobody has been able to come up with a solution that they and others can reproduce consistently. They simply can't fix it with the current knowledge about this problem. If you are sure it works with certain old versions of LAV Audio, then you should narrow down the range of versions/revisions and share that info here so others can test it as well. Then maybe the devs can acquire some info that actually points them towards a solution.

Yoshi8765
31st October 2012, 00:05
Yes you can ignore it.

Thank you very much. :cool:

6233638
31st October 2012, 01:30
It is not a bug in madVR/LAV/ffdshow. If it ever worked, it was by pure luck and coincidence. The developers show no interest because so far nobody has been able to come up with a solution that they and others can reproduce consistently. They simply can't fix it with the current knowledge about this problem. If you are sure it works with certain old versions of LAV Audio, then you should narrow down the range of versions/revisions and share that info here so others can test it as well. Then maybe the devs can acquire some info that actually points them towards a solution.If it's not a bug, why do DVDs work fine in other video renderers like EVR?

Back when it was last working, I did bring it up with madshi/nevcariel. 0.50.1 was the last version of LAV Filters where DVD playback would work. http://forum.doom9.org/showthread.php?p=1572877#post1572877

Unfortunately I didn't include my madVR/MPC-HC version numbers in that post, and can't seem to get DVD playback working again even with 0.50.1, but I'm on Windows 8 now, which probably changes things. Nevcariel said that he basically hadn't changed anything relating to LAV Audio in 0.50.2, but something must have changed that stopped it from working.

clsid
31st October 2012, 02:22
The same problems exists with Haali's video renderer. Guess what madVR and Haali have in common. They are both not renderers from Microsoft! Nobody here knows what exactly triggers the Macrovision failure. We can only assume the DVD navigator filter checks which video renderer is used, and probably also the audio renderer. Unknown renderer -> failure.

The LAV audio decoder does not behave any differently whether EVR or madVR is used. Unless you can specify what it does wrong, there is no bug.

6233638
31st October 2012, 05:37
The same problems exists with Haali's video renderer. Guess what madVR and Haali have in common. They are both not renderers from Microsoft! Nobody here knows what exactly triggers the Macrovision failure. We can only assume the DVD navigator filter checks which video renderer is used, and probably also the audio renderer. Unknown renderer -> failure.

The LAV audio decoder does not behave any differently whether EVR or madVR is used. Unless you can specify what it does wrong, there is no bug.Just did a fresh install of Windows 7 and it still works perfectly with the standard DVD Navigator with an older build of LAV Audio and using ffdshow to handle downmixing/video decoding. (rather than LAV, as the features weren't implemented)

http://www.abload.de/thumb/dvd04qmg.png (http://www.abload.de/img/dvd04qmg.png)
MPC-HC 1.6.5.6128 (http://xhmikosr.1f0.de/mpc-hc/)
ReClock 1.8.7.9 (http://sandbox.slysoft.com/beta/SetupReClock1879.exe)
madVR 0.84.3 (http://www.videohelp.com/download/madVR0843.zip)
ffdshow 4479 (http://www.xvidvideo.ru/component/docman/doc_download/9087-ffdshow-tryouts-project-svn-4479-x86-icl12.html)
LAV Audio Decoder 0.50.1
Anything beyond LAV Audio 0.50.1 breaks DVD playback and I get Macrovision errors again.

0.50.1 is missing a lot of features that I currently use though.

nevcairiel
31st October 2012, 06:18
And it still works perfectly with the latest version of everything for me. :D I developed LAVs DVD functionality without having to hack anything, and i regularly tested on madVR as well.
Like i said before, there weren't any changes that would influence this in the version directly after 0.50.1, its more random then anything. It was pure coincedence that it somehow worked on that version, why - noone knows.

6233638
31st October 2012, 06:46
And it still works perfectly with the latest version of everything for me. :D I developed LAVs DVD functionality without having to hack anything, and i regularly tested on madVR as well.
Like i said before, there weren't any changes that would influence this in the version directly after 0.50.1, its more random then anything. It was pure coincedence that it somehow worked on that version, why - noone knows.And this is the most frustrating part.

That was a completely clean install of Windows 7 SP1 with nothing installed but the system drivers and the list above. (it was specifically to try that again)

And for what it's worth, the drivers were the latest Intel INF, MEI, RST & Ethernet, Nvidia Graphics & Audio, Marvell SATA.

Anything beyond 0.50.1 doesn't work with DVDs in either of my physical drives, or loading an image via Virtual Clone Drive, and having AnyDVD installed/running or not doesn't make a difference. I've even tried it on other machines.


The only thing I can think of is that you're using some sort of drive emulation software that bypasses the Macrovision protection. (AnyDVD should remove it, but doesn't seem to make a difference)

Do you have any plans on upgrading to Windows 8?

nevcairiel
31st October 2012, 07:45
Do you have any plans on upgrading to Windows 8?

I installed it on my Ultrabook for testing, not sure when/if i'll upgrade my Development PC.

madshi
31st October 2012, 10:42
Yes: EWA QuadraticJinc is my ImageMagick "high quality low ringing" (what I call "natural") linear scheme. (Although I must say that sigmoidization is quite good at suppressing ringing with sRGB images. I'm not including this nonlinear trick in this ranking.)
EWA LanczosSharp (without AR, which is a nonlinear tool, and which has no equivalent in ImageMagick) is great for downsampling and upsampling (so is EWA QuadraticJinc), but it creates too much halo for me to call it "natural looking".
That is: In a sense, EWA QuadraticJinc is my AR-like method without an AR-like limiter.
Ah, makes sense now. So I guess I should really add Jinc AR downsampling to madVR, as the (probably) ultimate solution. But it'll take some time because I'm working on some non-resampling related stuff at the moment.

madshi, I've reuploaded a sample here: http://www.mediafire.com/?f8s0cfd641l59sy as per your request.
Thanks, that's a quite interesting sample. It seems to have a rather random cadence of alternating 3 and 2 fields per frame. Here's an extract from the madVR debug log:

"3:3:2:3:3:3:2:3:3:3:2:3:3:2:3:3:3:2:3:3:2:3:3:3:2:3:3:3:2:3:3:2:3:3:3:2:3:3:3:2:3:3:2:3:3:3:2:3:3:3:2:3:3:2:3:3:3:2:3:3:2:3:3:3:2:3:3:3:2:3:3:2:3:3:3:2:3:3:3:2:3:3:2:3:3:3"

Try to find an exact pattern in that... :)

It seems to play without any artifacts, though?

Oh ok, thank you for the explanation. Maybe you could nag the user with a pop-up message box and tell him to define what his display is because that wasn't clear to me at all.
I thought since the days of win95 we all learned that "?" devices in a device manager need to be taken care of? :p

Well, a persistent problem with AR is the 720x576 AVI 25fps PAL files for instance.....I used to have a rule in ffdshow forcing 4:3 but now I'm out of luck. Maybe something like [AR=xx] for instance, et voilā ))

You could accept any AR and simply round up 1.33 to 4:3 and 1.78 to 16/9? That would save my day actually :cool:

Well, any movie that has ".PAL." in its filename will require EBU primaries anyway and same goes for ".HDTV." that will require REC.709 gamut+primaries.

You could go with [matrix=601] and [matrix=709]?

And for the gamuts, same story: [primaries=xx], accepting the SMPTE-C / EBU / REC.709 keywords?

And while we're at it, levels conversions would be extremely convenient too! Something like [source-levels=xx] accepting the two "PC" and "TV" keywords?

And the icing on the cake would be custom levels, as we all have files with funky levels(eg. went through several sloppy conversions for instance), so it'd be too awesome to be able to make a 40-200 to 0-255 conversion for instance! Something like [source-levels=xx-xx]...this would allow us to ditch ffdshow for good, and once the file is properly tagged no need to input them manually ever again...OMG, that would be too good
I'll think about it.

If I understand correctly there is no "image scaling" when I play 1920*1080 content on my 1920*1200 monitor in fullscreen mode.
Then why do I get dropped frames when I change to Jinc 3, from Lancos 8 (bot with AR)?
I don't touch anything else.
What does the madVR OSD say about movie resolution and target rectangle? Have you changed Lanczos to Jinc in the "image upscaling", "image downscaling" or "chroma upscaling" section, when doing this test?

If I correctly understand now, disabling the GPU ramps is mainly for the purposes of disabling the application of the ICC profile and letting madVR perform the color correction via yCMS and 3DLUTs? Thanks.
Yes.

I rechecked yesterday by creating a funky graphic card's CLUT in RivaTuner and the "disable GPU ramps" doesn't reset the graphic card's CLUT, it really only does what it says...
Have you tested in windowed or fullscreen exclusive mode? It seems that currently the option only shows effect in fullscreen exclusive mode, although madVR tells DirectShow to disable the gamma ramps also in windowed mode.

The guide I used is here (Image-intensive! and long!): http://wp.me/PrgSo-b1
Can anybody clear this up for me?
WHy does the guide make no sense? madVR doesn't support DXVA2 decoding yet. But LAV can do "DXVA2 copy-back", which works with any video renderer, including madVR. The guide offers you to either use software decoding or DXVA2 copy-back, from what I can see, and both should work just fine with madVR. The guide also mentions that DXVA2 copy-back works better for NVidia than it does for AMD, which is true.

Actually Reclock is able to keep the pitch at correct level.
Ok, but these pitch-preserving algorithm usually cost audio quality. It's better to use a non-pitch-preserving algorithm. Of course you should then try to get the refresh rate as accurate as possible, so pitch doesn't change noticeably.

I noticed that in newer versions of MPC-HC, the seek bar has little black bars which show where each chapter begins/ends. Having these in the seek bar is really useful when playing a video with multiple sections (Advert breaks/Opening/Ending etc) Do you think you could add a feature like this into the Seekbar for Fullscreen exclusive mode?
Already been requested before. I might do that, but not too soon.

- NVIDIA graphics card with latest driver and I use the HDMI output of my card.
Make sure you use the "madNvLevelsTweaker.exe" tool to force your GPU to output untouched PC levels.

- Media Player Classic with madVR as output renderer with output setting PC Levels (0-255).
That's ok, but then you have to use the "Enhanced (0-255)" setting in your projector. Alternatively you could set both madVR and your projector to 16-235. Should make no difference to video playback. Settings both to 0-255 might make more sense because that would also make games and the Windows desktop have correct black and white levels.

- using LAV video decoder with all the 'Output Formats' checked and 'RGB Output Levels' set to 'Untouched (as input)'.

- I m also using ffdshow Raw Video Decoder: Raw Video to 'All Supported' and in the Output settings only checked the box 'YV12'.
LAV ok. Can't say anything about ffdshow raw. Depends on how you're using it. Avoid it if you don't need it.

- Color Profile
Don't know. Check reviews of your projector to see which of those profiles is nearest to BT.709.

Most movies play perfectly fine, however some files require me to change the colorspace to 0-255(even though my TV doesn't support it) in madVR, otherwise the picture is too bright, washed out...
Please check the detected input levels (Ctrl+Alt+Shift+I). With those problematic files, does madVR detect the input levels as TV or PC?

Here's a clip (http://www.mediafire.com/?wongyo7qorm4auf) of one of those video files. I'm just curious as to why this happens with some files.
I see nothing wrong or weird about that sample. I wonder why you get too bright picture with some video files, only. That doesn't make much sense, unless some of those are detected as having PC levels input by madVR. I'm wondering if maybe your colors are always too bright and you just don't notice it with some videos.

Did you use the "madNvLevelsTweaker.exe"? If not, try that to force your GPU to output untouched PC levels.

I don't see anything wrong with sample you provided. Maybe if you stop using shitty guides, things will improve. Especially this (http://naruto.anime.my/img/tutorial/MPCHCv1/step2part07.png) recommendation looks pretty scary to me.
What's so bad about that guide? On a quick check it looks ok to me. But I didn't really look in detail. That scary part you mentioned actually makes sense, if you happen to prefer the Haali Splitter. AFAIK, LAV Splitter doesn't support all MKV features yet, so prefering the Haali Splitter might still make sense, if you play a lot of files which use those special MKV features. That said, the LAV Splitter is clearly better at a lot of things compared to Haali, so it might be a better idea to prefer the LAV Splitter and just disable MKV support in it, so that the Haali Splitter is used only for MKV playback.

Are the problematic files in SD resolution by any chance?
If so, try going into Nvidia control panel and change the colorspace there also.
See here (http://forum.doom9.org/showthread.php?t=143689) for the whole story, and chech out the black level test patterns and try them out.
That link is relatively old and applies mostly to VMR and EVR. madVR has less problems with funny levels behaviour than VMR and EVR have. Whether files are SD or HD in resolution shouldn't make any different to madVR.

I finally understood why so many do not recommend using htpc as a source to calibrate.
Yeah, it's complicated. I do plan to make it easier in the future, but there's only so much I can do every day...

If I choose to use ycms, is it correct understood that ycms values ​​should be taken from an already calibrated monitor .. A monitor that is calibrated using a blu-ray player?
That depends. If you want to use that monitor with non-HTPC sources, too, then it absolutely makes sense to calibrate the monitor externally (e.g. by using the monitor's controls) first. However, if your HTPC is your only source then it's not as easy to decide. Many in-monitor calibration systems are terribly bad. So a lot also depends on your display.

In nVidia CP I set the colorspace to RGB Full 0-255 so the GPU doesn't do any conversions, but leaves that to madVR(which is something Mr. madshi has always insisted on).
There's no way in the NVidia CP to define the real output levels. The only switch you find there only affects video playback with EVR, VMR and Overlay and even then only works sometimes and not reliably in any way. The real output levels NVidia uses depend on which type of connector you're using (HDMI, DVI, VGA) and whether you're using a "HD" or "custom" output mode. Use the "madNvLevelsTweaker.exe" to make sure you *really* reliably get PC output levels all the time.

FWIW, Kazuya made screenshots comparisons between Spline3 AR and Jinc3 AR on a 720p to 1080p conversion and the difference is invisible....so the bang/bucks ratio might be (quite/very/maybe not) low, when OTOH it looks killer fosho when going SD>1080p :)
Much depends on which kind of content you test with. Jinc mainly looks better if Lanczos ends up with aliasing artifacts. And Lanczos usually ends up with aliasing artifacts if the source is already extremely sharp and high-contrast. E.g. try scenes with very sharp subtitles and upscale them to 1080p. Jinc might make a difference there, removing the aliasing Lanczos might still show.

If you just pick a random scene out of a random movie then with a bit of "luck" you get such a blurry frame that even Bilinear might not look any worse than Jinc.

The same applies to chroma upsampling: With 98% of all movie scenes, there's probably no visible difference to any of the chroma upsampling algorithms. You gotta know which type of images/scenes to test with to make differences visible. The same applies to Lanczos/Jinc. Of course the higher the scaling factor, the more obvious the difference gets. So it's clear that 720p -> 1080p shows much less differences than 480p -> 1080p.

Hi, I found that by enabling windowed overlay I can get glitch free playback on my secondary monitor (my TV) without having to use D3D full screen exclusive. I dislike FSE due to various drawbacks.

What are disadvantages to using windowed overlay?
There is a very small performance hit and it bypasses Windows 7's color management.
One more disadvantage is that there can only be one overlay window per monitor. So you can't playback two different videos at the same time on the same monitor. Not very important, I guess. Another disadvantage is that resizing the media player might look a bit more ugly using Overlay compared to simple windowed mode.

Also, when I try to get image capture, MPC still says it's not supported with madVR.
Update to the latest MPC build.

I just move to madvr and HD content are beautiful. I still havr some dvd and it looks like madvr is not able to render. I have a macrovision error. I foind some fix on the net by replacing a dll, but it is not sure it is still working.

Any chance to have a fix. For the time being, i use evr for dvd.
If it were a simple bug I'd have fixed it ages ago. I just don't know how to fix it, unfortunately. I've already sunk many hours into this problem a while ago and didn't find a solution. I have on my to do list to give this another try, but it's not highest priority at the moment because I don't even know if I'll be able to make it work in the first place.

It is not a bug in madVR/LAV/ffdshow. If it ever worked, it was by pure luck and coincidence. The developers show no interest because so far nobody has been able to come up with a solution that they and others can reproduce consistently. They simply can't fix it with the current knowledge about this problem. If you are sure it works with certain old versions of LAV Audio, then you should narrow down the range of versions/revisions and share that info here so others can test it as well. Then maybe the devs can acquire some info that actually points them towards a solution.
The same problems exists with Haali's video renderer. Guess what madVR and Haali have in common. They are both not renderers from Microsoft!

Nobody here knows what exactly triggers the Macrovision failure.
Exactly.

We can only assume the DVD navigator filter checks which video renderer is used, and probably also the audio renderer. Unknown renderer -> failure.
I'm not sure if that's true. I sure hope it's not. But I don't really know. FWIW, I've just sent an email to some Microsoft guys, asking for help. Maybe they can provide me with more information about this problem. But I'm not holding my breath...

cyberbeing
31st October 2012, 11:28
Just did a fresh install of Windows 7 and it still works perfectly with the standard DVD Navigator with an older build of LAV Audio and using ffdshow to handle downmixing/video decoding. (rather than LAV, as the features weren't implemented)

LAV Audio 0.50.1 -> FFDShow RAW Audio -> Any Audio Render
+
"FFDShow Video" OR "Microsoft DTV-DVD Video Decoder" OR MPC-HC MPEG2 Decoder -> MadVR
+
qdvd.dll (Win7)

I tried the above out of what you listed, and that does seem to bypass the Macrovision error on my fully-patched and hotfixed Win7 install as well. Update to LAV Audio 0.50.2+ and the error returns. Use LAV Audio 0.50.1 only without FFDShow RAW Audio and the error returns. Use "Microsoft DTV-DVD Audio Decoder" with or without FFDShow RAW Audio and the error returns. Use MPC-HC's internal audio decoders and the error returns. It's too bad it's not possible to mix and match LAV Filter Video and Audio components of different versions for testing.

Also of interest is that any combinations of filters seems to work with madVR if you manually build a graph with DVDNavigator in GraphEdit or GraphStudio. You can't use DVD menus within GraphEdit, but it does make me wonder if it's possible for madVR or MPC-HC to load a fixed dvd.grf (with open output pins for audio & video renderer connections) for DVD playback, and somehow get menus/navigation to work.

madshi
31st October 2012, 11:46
Well, somebody with Git experience and who's able to reproduce this, could try to identify which of the LAV Audio changes between 0.50.1 and 0.50.2 made the Macrovision problem come back. Maybe that information could be helpful in finding out the cause of the problem. However, I fear it's going to be a very innocent change with no obvious connection to Macrovision. Still, it might help. Any volunteers?

kasper93
31st October 2012, 12:58
Use LAV Audio 0.50.1 only without FFDShow RAW Audio and the error returns.

Yep, I remember it, but still as you can see it never worked without ffdshow RAW Audio...

Well, someone with experience could try to fix it somehow. Maybe try with lav source or anything. But throwing which version worked and which not will not help here. We need exact thing which affect macrovision error. From my test it's very, very random and for some it works, for other don't. I don't see where to start to fix this...

leeperry
31st October 2012, 15:07
I thought since the days of win95 we all learned that "?" devices in a device manager need to be taken care of?

Well, I did fill in all the infos about bit-depth and stuff for my display but I didn't think that mVR would even care to know what is REALLY is.

I've got an unknown device in the windows device manager that shows a yellow question mark indeed, but I've disabled it(I think it's got to do with WiFi, which I despise). A friend of mine on W7 x64 who also owns an Asus mobo has the same stuff....so to me a question mark is nothing to worry about, nothing like a yellow exclamation mark in the NT event viewer :eek:

I'll think about it.
OK, great! Would you also consider custom levels conversion? That would be fantastic, so we could input them once and for all.....otherwise it could always be done manually via a simple PS script but the ability to automatize it all for funky encodes would be so full of win :cool:

Have you tested in windowed or fullscreen exclusive mode? It seems that currently the option only shows effect in fullscreen exclusive mode, although madVR tells DirectShow to disable the gamma ramps also in windowed mode.
I tried both, but I would need to try with the less harware-level Argyll LUT app I guess. I'll try to come up with a funky LUT(with a gamma of 1.0 or something) and see what happens.

Much depends on which kind of content you test with. Jinc mainly looks better if Lanczos ends up with aliasing artifacts. And Lanczos usually ends up with aliasing artifacts if the source is already extremely sharp and high-contrast. E.g. try scenes with very sharp subtitles and upscale them to 1080p. Jinc might make a difference there, removing the aliasing Lanczos might still show.

If you just pick a random scene out of a random movie then with a bit of "luck" you get such a blurry frame that even Bilinear might not look any worse than Jinc.
Makes sense, thanks for the insights! Well, today there's a sale on the ref 660 board at 170€ shipped, so I need to make up my mind ASAP. Anyone up for some benchmarks when going 720p>1080p with Jinc3 AR for Chroma+Luma please? My 8800GS can do 960x540>1080p full Jinc3 AR so I would suspect that a 90€ 650 would do the job easily, but Kazuya tells me that a 1.78 720p>1080p in full JincAR 3 stutters to death on his HD4570 and does spikes at 40% on his HD4890.....I need to look up what the equivalent is in the nvidia world.

But then again, I would also like to process 59.94fps NTSC DVD, 50fps 720p and 1440x1080 streams :p

Xaurus
31st October 2012, 15:44
Anyone up for some benchmarks when going 720p>1080p with Jinc3 AR for Chroma+Luma please?
I just did a run with a 720p BR rip with Jinc3 AR for Chroma and Luma.

GPU Load Max: 30%
Memory Controller Load Max: 3%
Video Engine Load Max: 10%

edit: I can confirm that these numbers are with the highest performance state of the GPU.

leeperry
31st October 2012, 16:19
I just did a run with a 720p BR rip with Jinc3 AR for Chroma and Luma.

GPU Load Max: 30%
great, thanks! the 720p file had a 1.78 AR(no cropped bars), right?

apparently the HD4890(40% load) is more or less equivalent to the GTX285: http://www.techspot.com/review/164-radeon-4890-vs-geforce-gtx275/page6.html

so I would guess that the 650 will do 30fps 720p nicely: http://www.hardware.fr/articles/876-23/upgrade-face-x-anciennes-generations.html

and the 660 will be needed for 50fps 720p and 59.94fps DVD...God knows about 1440x1080 with a 1.78 DAR.

vlatko27
31st October 2012, 16:55
lease check the detected input levels (Ctrl+Alt+Shift+I). With those problematic files, does madVR detect the input levels as TV or PC?
It says auto-detect TV levels.


I see nothing wrong or weird about that sample. I wonder why you get too bright picture with some video files, only. That doesn't make much sense, unless some of those are detected as having PC levels input by madVR. I'm wondering if maybe your colors are always too bright and you just don't notice it with some videos.
I doubt that is the case as this is how it looks.

http://i.imgur.com/RoVLC.jpg

There's no way in the NVidia CP to define the real output levels. The only switch you find there only affects video playback with EVR, VMR and Overlay and even then only works sometimes and not reliably in any way. The real output levels NVidia uses depend on which type of connector you're using (HDMI, DVI, VGA) and whether you're using a "HD" or "custom" output mode. Use the "madNvLevelsTweaker.exe" to make sure you *really* reliably get PC output levels all the time.

Thanks for the explanation. I am using HDMI and a custom resolution(23.976Hz) made from the madVR wiki. I also applied your tweaker and the result is the same.

However, if I go to Nvidia CP> Adjust desktop color settings and select content type reported to the display to Full screen videos, it works normally.

Picture of the opening scene from the "troublesome" sample.

http://i.imgur.com/8B8ic.jpg

Xaurus
31st October 2012, 16:58
great, thanks! the 720p file had a 1.78 AR(no cropped bars), right?
Yes, it was a rip from a TV-show, not a movie.

I just tested a 750x576 25i file (unaltered PAL dvd, 1.78 AR), and here are the stats, played back with adaptive DI @ 50 Hz:

GPU Load Max: 48%
Memory Controller Load Max: 5%
Video Engine Load Max: 4%

madshi
31st October 2012, 17:06
However, if I go to Nvidia CP> Adjust desktop color settings and select content type reported to the display to Full screen videos, it works normally.
That is weird. I don't even know what this setting "content type reported to the display" does exactly! So all problems are gone now with this change in the CP?

Can you please double check with the "madTestPatternSource" and the "smallramp.ytp" test pattern zoomed to screen size that there's no banding visible?

vlatko27
31st October 2012, 18:17
That is weird. I don't even know what this setting "content type reported to the display" does exactly! So all problems are gone now with this change in the CP?

Can you please double check with the "madTestPatternSource" and the "smallramp.ytp" test pattern zoomed to screen size that there's no banding visible?

http://i.imgur.com/7VkLo.png

I don't know what it does, but it seems it fixes my problem! :eek:

I checked with the smallramp.ytp and theres is banding visible, but that's normal for my plasma(Panasonic G10) which has some banding issues.

iSunrise
31st October 2012, 18:17
Just did a fresh install of Windows 7 and it still works perfectly with the standard DVD Navigator with an older build of LAV Audio and using ffdshow to handle downmixing/video decoding. (rather than LAV, as the features weren't implemented)

http://www.abload.de/thumb/dvd04qmg.png (http://www.abload.de/img/dvd04qmg.png)
MPC-HC 1.6.5.6128 (http://xhmikosr.1f0.de/mpc-hc/)
ReClock 1.8.7.9 (http://sandbox.slysoft.com/beta/SetupReClock1879.exe)
madVR 0.84.3 (http://www.videohelp.com/download/madVR0843.zip)
ffdshow 4479 (http://www.xvidvideo.ru/component/docman/doc_download/9087-ffdshow-tryouts-project-svn-4479-x86-icl12.html)
LAV Audio Decoder 0.50.1
Anything beyond LAV Audio 0.50.1 breaks DVD playback and I get Macrovision errors again.

0.50.1 is missing a lot of features that I currently use though.
Since I wanted to find this out myself and I was using PotPlayer to test DVD playback before, I now tried MPC-HC with basically the same filter chain as in PotPlayer: (taken from PotPlayerīs "Playing File Info..." tab)

[Used Filter List]
(1) DVD Navigator
(2) LAV Video Decoder
(3) Madshi Video Renderer
(4) LAV Audio Decoder
(5) DirectSound Audio Renderer

Result: Macrovision error in MPC-HC while I can play DVDs perfectly with PotPlayer (I only use external filters and donīt have any of PotPlayerīs special internal filters active, all are disabled)

Somehow PotPlayer can play DVDs, while MPC-HC cannot on my system, which is probably the same problem you have. Not sure why it works for nevcariel in MPC-HC though. I have tested this with a fresh Win7 x64 installation and also the same installation fully patched. Same result. There must be something else thatīs different. Isnīt it possible to somehow dumb the behaviour of PotPlayer? Is there a way to "see" how PotPlayer creates the filter chain?

I would be willing to take part in tracking it down, but I donīt have any programming skills, unfortunately. Maybe someone has some more ideas or madshi receives an answer from Microsoft. I wouldnīt hold my breath, though, which is unfortunate.

mandarinka
31st October 2012, 18:25
My 8800GS can do 960x540>1080p full Jinc3 AR so I would suspect that a 90€ 650 would do the job easily, but Kazuya tells me that a 1.78 720p>1080p in full JincAR 3 stutters to death on his HD4570 and does spikes at 40% on his HD4890.....

It might be the jinc chroma upsampling.
I tried using jinc3 AR for chroma on A8-3850, and saw rendering times that were very high in 1920x1080 -> 1920x1080 scenario, for some reason, even leading to skipped frames and stutter in pans.

When I switched chroma to lanczos3 AR, the render time dropped from ~40 to ~8 ms (present times went from ~5 to <1ms). Maybe in some scenarios, the jinc3 chroma uses up too much memory bandwidth on cards with slower/narrower memory bus and that is a result? I don't have much experience with MadVR, so it's just a guess. GeForce GTX 660 should have a lot of memory bandwidth though.

madshi
31st October 2012, 18:53
Ok guys. The detailed descriptions about that DVD playback sometimes works with some media players and filter combinations made me think. And I got a reply from Microsoft, too. So here's a new test build which *might* help with DVD playback. Please don't get up your hopes too high. It seems to help on a quick check on my win7 PC, but I haven't done any real tests yet.

http://madshi.net/madVRdvd.rar

Pat357
31st October 2012, 18:55
I have three HTPCs - none will play DVDs with madVR & MPC-HC, but have a HP laptop with a HP version of Cyberlink loaded and it will play DVD with madVR.
If I load Cyberlink on the HTPCs they still won't play DVDs with madVR.
I've tried latest lav decoders 0.52 still no good.
This is doing my head in :mad:
I've triad the GPL Mpeg2 decoder - no better.
I really wish we could get to the bottom of this!
For me :
MPC-HC + MadVR +LAV => No DVD playing possible
If I replace LAVvid by GPL Mpeg2 decoder => DVD OK !
Replace GPL Mpeg2 decoder by Cyberlink (PowerDVD 12) => DVD not possible.
With PotPlayer + MadVR + LAV => DVD plays nice, no problems.

madshi
31st October 2012, 18:56
@Pat357, try with the new test build, see my previous comment.

DragonQ
31st October 2012, 19:07
http://i.imgur.com/7VkLo.png

I don't know what it does, but it seems it fixes my problem! :eek:

I checked with the smallramp.ytp and theres is banding visible, but that's normal for my plasma(Panasonic G10) which has some banding issues.
I played around with those settings a while back on my HTPC. None of the three settings (dynamic range, content type, colour format) did anything to the video output, lol.

noee
31st October 2012, 19:28
madshi, DVD playback works with that test build on my system (Win7 Ult) with LAV/MPC-BE for ripped DVDs. I don't have any actual discs available right now.....

madshi
31st October 2012, 19:37
Well, that sounds good so far. Can anybody double check? If possible also with encrypted DVDs with and without AnyDVD?

vlatko27
31st October 2012, 19:43
I played around with those settings a while back on my HTPC. None of the three settings (dynamic range, content type, colour format) did anything to the video output, lol.
it didn't do anything to me as well without applying madshi's level tweaker, which forces full range. :confused:

JarrettH
31st October 2012, 19:49
Ok guys. The detailed descriptions about that DVD playback sometimes works with some media players and filter combinations made me think. And I got a reply from Microsoft, too. So here's a new test build which *might* help with DVD playback. Please don't get up your hopes too high. It seems to help on a quick check on my win7 PC, but I haven't done any real tests yet.

http://madshi.net/madVRdvd.rar

I haven't checked this test out, but at the moment, the only combination for me that works is:

- Windows 7 64-bit
- AnyDVD (to remove copy protection. hasn't made a difference in a long time with removing the Macrovision error like it used to. 62245453 and I have very similar problems)
- MPC-HC
- madvr 0.84.3
- ffdshow 4479 libavcodec (dvd decoding ticked)
- LAV Audio 0.52 for decoding, AC3filter for downmixing
- dslibdvdnav (VERY alpha, laggy, hit or miss with displaying the menu, but let's me navigate to the main movie)

I've tried not using AnyDVD, which works, but I get scrambling and other nonsense from the protections used (I think?). Restoring the MS DVD Navigator results in Macrovision errors with and without AnyDVD.

What did Microsoft have to say? Just curious :cool:

cyberbeing
31st October 2012, 19:52
http://madshi.net/madVRdvd.rar

That build seems to work with any filter combinations I tried in MPC-HC when playing the few DVD ISOs I have on my hdd. What was the problem?

madshi
31st October 2012, 19:58
Microsoft told me which interfaces I have to support, and I already did support them, but I found a bug in one of them. Anyway, can you guys please check whether AnyDVD is still needed? And if it is needed, is it also needed for EVR? I need to know this, because that would be one more thing I could ask the Microsoft guys, now that I have their attention. If I tell them now all is fixed, I don't want to get back at them later and ask another question.

cyberbeing
31st October 2012, 20:04
I get scrambling and other nonsense from the protections used (I think?).

Have you already applied the KB2709981 (http://support.microsoft.com/kb/2709981) hotfix which went live on Windows Update a couple months ago?

vlatko27
31st October 2012, 20:06
madshi, I just wanna say you freaking rock, man. thanks for all your effort and involvement.

detmek
31st October 2012, 20:09
I don't have encrypted DVDs but I tried 3 DVD discs without protection and it works! MPC-HC Lite + LAV Filters 0.52.0 + Microsoft DVD Navigator on Windows 7 Home Premium SP1.

Edit:

I also got huge log file on my desktop, 247MB.

SamuriHL
31st October 2012, 20:09
Now to get the J River guys to support this. :D

SamuriHL
31st October 2012, 20:11
(I'll try an encrypted DVD in a few....I need to build MPC and LAV first)

Matching_Mole
31st October 2012, 20:15
Ok guys. The detailed descriptions about that DVD playback sometimes works with some media players and filter combinations made me think. And I got a reply from Microsoft, too. So here's a new test build which *might* help with DVD playback. Please don't get up your hopes too high. It seems to help on a quick check on my win7 PC, but I haven't done any real tests yet.

http://madshi.net/madVRdvd.rar

I never succeed to have DVD working with Madvr until now, even with the last version of LAV. But your test version has solved the issue on my windows seven 64 version (with regular MPC-HC), which is great!!

Prinz
31st October 2012, 20:23
I tested the new dvd madvr version.

With anydvd active it is working now, but if I deactivate anydvd I get a Error in MPC-HC:

DVD: Fehler mit Kopierschutz.

If I change to EVR or Sync Renderer It it's working with anydvd deactivated.

noee
31st October 2012, 20:27
Just tried with an encrypted DVD in the drive. With DVDPasskey enabled, it works, MPC-BE/LAV/madVR. Without DVDPasskey, it does not work.

Edit: Sorry, yes, EVR works either way (with or without DVDPasskey with the encrypted DVD).

Toku
31st October 2012, 20:28
I tested the new dvd madvr version.

With anydvd active it is working now, but if I deactivate anydvd I get a Error in MPC-HC:

DVD: Fehler mit Kopierschutz.

If I change to EVR or Sync Renderer It it's working with anydvd deactivated.

Same problem. With Anydvd active the dvd loads, (But Media player classic gives me a strange error box "The parameter is incorrect)
but without anydvd active (Loading an encrypted dvd) I get a
"Dvd: Copy-protect fail" error

madshi
31st October 2012, 20:30
Can I have a log from such a "copy-potect fail" problem, please?

Prinz
31st October 2012, 20:34
Log:

https://www.dropbox.com/s/5ejksm798j9zrju/madVR%20-%20log.zip

SamuriHL
31st October 2012, 20:36
Sweet. Looks like you guys are on top of it. I'm having a problem building LAV right now so I'm glad others can test it. This is exciting though. madVR for DVD. Holy hell yea. :D

dansrfe
31st October 2012, 20:39
Brilliant, madVR DVD test build works!

I'm guessing that you'll turn off the automatic log file creation when the next build is finalized?

Thanks madshi, you rock!

madshi
31st October 2012, 20:43
Well, I can't see anything wrong in that log. Not sure if there's anything I can do make playback work without AnyDVD. Anyway, not such a big problem, I guess...

SamuriHL
31st October 2012, 20:46
Well, I can't see anything wrong in that log. Not sure if there's anything I can do make playback work without AnyDVD. Anyway, not such a big problem, I guess...

Not for me. Who the hell runs an HTPC without AnyDVD anyway? :P :D

JarrettH
31st October 2012, 20:46
Oooook...

Restored MS DVD Navigator, AnyDVD off (DVD: Copy-Protect Fail...this happened with the next three DVDs I tried)

http://depositfiles.com/files/cb2mxxejt

Restored MS DVD Navigator, AnyDVD on (works)

http://depositfiles.com/files/rkqzgotzq

Menus are kind of hit and miss though.

madshi
31st October 2012, 21:13
madVR v0.84.4 released

http://madshi.net/madVR.zip

* fixed: DVD playback often resulted in Macrovision errors
* improved Jinc AR algorithm for clean computer type images/videos
* added support for new subtitle interface (e.g. for future xy-vsfilter build)
Please note that madVR does not (yet?) support an extra input pin for subtitles and DVD menus. So if you want to have DVD menus fully working, you have to use a decoder which blends them on top of the video frames (e.g. LAV Video Decoder).

madshi
31st October 2012, 21:14
QUESTION: Which video decoder is used when playing DVDs with EVR *without* AnyDVD?

Microsoft is telling me that their best guess why madVR can't play encrypted DVDs without AnyDVD might be that the video decoder doesn't support decryption.

nevcairiel
31st October 2012, 21:16
I should make LAV Video use the subtitle interface for those (it already does internally), except it just doesn't work so well for menus and interactive feedback on a still DVD menu image...