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
31st October 2012, 21:20
it already does internally
Interesting! :)

FWIW, have you updated to the latest version of the subtitle interface header? I had added a new parameter ("context") to the Request/DeliverFrame methods.

One argument against using the subtitle interface for the menus is that madVR currently only supports one subtitle provider. So once xy-vsfilter supports the new interface, madVR users would have to choose between xy-vsfilter subtitles and LAV DVD menus. So I guess it's better to keep things as they are for now. Of course I could add support for multiple providers, but I'm not sure how much sense that really makes. The better solution might be to add multiple input pins, to match EVR's behaviour. But that's *A LOT* of extra work, so it won't come soon...

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

http://madshi.net/madVR.zip


The Link is still 0.84.3 here.

nevcairiel
31st October 2012, 21:23
Where do you get other subtitles on a DVD? The DVD Navigator doesnt care if its menus or subtitles, it all has to go directly to the decoder, xy-vsfilter cannot be inserted here.
I suppose you could have external subtitles somewhere, but for DVD discs, is that common?

madshi
31st October 2012, 21:25
The Link is still 0.84.3 here.
My fault. Should be fixed now.

Where do you get other subtitles on a DVD? The DVD Navigator doesnt care if its menus or subtitles, it all has to go directly to the decoder, xy-vsfilter cannot be inserted here.
I suppose you could have external subtitles somewhere, but for DVD discs, is that common?
Good question. I suppose external subs could be possible, but then, you'd probably use a reencode for that? I don't really know...

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

LAV and Cyberlink powerdvd 10 decoders tested. Both work with EVR, but not with madvr.

madshi
31st October 2012, 21:45
Hmmmm... Who is responsible then for the DVD decryption? Does the splitter do it? The video decoder? Or somebody else?

nevcairiel
31st October 2012, 21:45
I would've figured the open source things to fail, but at least Cyberlink to work.
From what i know about how the decryption works, the decoder should do it, but i really don't know the details.

madshi
31st October 2012, 21:49
But then how can LAV Video Decoder work with EVR without AnyDVD? You don't decrypt in LAV Video Decoder, do you?

nevcairiel
31st October 2012, 21:55
There is some decryption code in LAV based on DeCSS, however i don't think its ever called, i just did a quick check, and the encryption marker in the bitstream is not set when EVR is used.
I "inherited" that code from MPC-HC more or less =p

madshi
31st October 2012, 21:59
Weird, I wonder if anybody still alive today knows how decryption is supposed to work inside of MPC-HC... :)

nevcairiel
31st October 2012, 22:04
Its possible the player keys hardcoded in there are just all invalid/blacklisted by now =p

Prinz
31st October 2012, 22:08
That is the Error I get with Zoomplayer without anydvd:

Key exchange for DVD copy protection failed

madshi
31st October 2012, 22:12
Its possible the player keys hardcoded in there are just all invalid/blacklisted by now =p
Yeah, but then why does LAV Video Decoder work fine with encrypted DVDs when using EVR? EVR just gets raw video, it can't have much to do with the actual decryption.

That is the Error I get with Zoomplayer without anydvd:

Key exchange for DVD copy protection failed
Hmmm... But why does that depend on the renderer being used? Isn't the key exchange done by the splitter or decoder?

nevcairiel
31st October 2012, 22:16
Yeah, but then why does LAV Video Decoder work fine with encrypted DVDs when using EVR? EVR just gets raw video, it can't have much to do with the actual decryption

My guess is that there is some communication between the DVD Navigator and EVR which makes the DVD Navigator consider the playback chain "safe", and so it decrypts the data before it gets to the decoder.

However, it doesn't trust madVR, and stuff is still encrypted.

madshi
31st October 2012, 22:19
Yeah, that would be a logical explanation.

Prinz
31st October 2012, 22:37
I tried Graphstudionext:

Works:
http://i46.tinypic.com/348o7ex.jpg

Doesn't work(black window):
http://i48.tinypic.com/2ywh0nr.jpg

madshi
31st October 2012, 22:42
Interesting. So it definitely has nothing to do with MPC-HC. Seems that really the DVD Navigator decrypts, when using EVR. At least that's the most probable explanation right now...

Prinz
31st October 2012, 22:58
Copyright Protection

Copyright protection for DVD is provided by encrypting sectors on a disc and then decrypting those sectors before decoding them. Microsoft supports both software and hardware decrypters by way of the DVD navigator/splitter, which oversees the authentication sequence between the decoders and the DVD-ROM drives in a computer. The key exchange sequence is implemented through properties sent to the DVD decoder minidriver's input pins.


http://msdn.microsoft.com/en-us/library/windows/hardware/ff558763%28v=vs.85%29.aspx

iSunrise
31st October 2012, 23:28
madshi, thanks a lot for that quick fix and the new build, DVD playback is now working perfectly fine in MPC-HC, too (with AnyDVD).

Going to test some of my recorded amiga game videos with Jinc now.

Fullmetal Encoder
1st November 2012, 00:36
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).

WOW! Amazing! Thank you very much. I've NEVER been able to get madVR and LAV working together on DVD content before. Long ago I used to see the macrovision error when trying and more recently was fed a black screen with the MPC-HC logo in the center until this update which fixes it all quite nicely. This is all on my unencrypted DVD content. After a while I was starting to think I'd never see the day when I could use madVR on DVDs without some kind of hack.

Pat357
1st November 2012, 00:44
No, the files 1080p HD. I watch HD in 99% of the cases.
Except the sample you posted (!) : it's 1280 x 546 and encoded as HD (BT.709 matrix & primaries).
IMO, this is a bad encoded file.

require me to change the colorspace in madVR to 0-255 which doesn't make sense, as my TV doesn't support full range.
This will "partially" undo the harm done by the bad encoding as MadVR will stretch the 16-235 to 0-255.
This will cause the values outside the 16-235 band to be cut off.

Have you tried playing with the matrix & primaries BT.601, setting source range to full ?

JarrettH
1st November 2012, 02:25
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.

Were my logs a dud too? :D

6233638
1st November 2012, 02:28
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).You have no idea how happy this has made me! :D

I'm sorry to have been bugging you about this every so often, but I'm glad that it's now fixed!

I can confirm that it's also working on Windows 8 without AnyDVD, at least with the discs that I have tried so far. (I normally have AnyDVD enabled though)

Some discs do just seem to start on a black screen, but selecting a title manually seems to fix that.

I have one or two discs that will crash at the menus, but I don't think that's madVR's fault. (unfortunately this disc also has 25 titles)

Seeking works fine, using the old XP qdvd.dll would cause the player to become unresponsive.

Pat357
1st November 2012, 02:53
I can confirm that it's also working on Windows 8 without AnyDVD, at least with the discs that I have tried so far. (I normally have AnyDVD enabled though)

Back on Win8 ? After a few switches from Win7 - Win8 -Win7 -Win8 you seem to become faster at it ! :D

BTW, were these "real physical" discs with copy protection ?

So far, on Win7 we need AnyDVD or similar to view normal commercial disks because of the CP.

crotecun
1st November 2012, 03:16
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).

Yay, :thanks: for the update!

The scaling algorithms UI bug still exists by the way, just thought I'd give a heads-up.

http://forum.doom9.org/showthread.php?p=1595909#post1595909

6233638
1st November 2012, 04:28
Back on Win8 ? After a few switches from Win7 - Win8 -Win7 -Win8 you seem to become faster at it ! :DI installed Windows 7 to another drive just for testing DVD playback. (I did go from Windows 7 to the Windows 8 Preview, disliked that enough to go back Windows 7, and then went back to Windows 8 upon its release)

With Start8 installed to bypass most of the Metro UI stuff (I don't like it on a desktop PC, which is why I removed the preview early) and now that DVD playback is working, I haven't experienced any more issues holding me back from using Windows 8 full time now, and it brings a number of useful improvements to the desktop for me.

BTW, were these "real physical" discs with copy protection ?

So far, on Win7 we need AnyDVD or similar to view normal commercial disks because of the CP.I was testing discs that had been ripped to .iso with AnyDVD (but it was set to not remove copy protection)

Testing physical discs with AnyDVD disabled is giving me:
DVD: Invalid Disc Region, and DVD: Copy-Protect Fail

Enabling AnyDVD allows the discs to play.
Sorry for getting your hopes up.

Looks like the "keep protection" setting only applies to Blu-rays. (I wasn't too concerned about whether or not it removed the protection of DVDs when ripping them)

ryrynz
1st November 2012, 07:04
Madshi, Jinc 3 with AR appears to produce a sharper image than Jinc 4 with AR (has always been the case) The sharpness bar graph might need revision.
Thanks for the new version BTW, I like the new AR algorithm.

dukey
1st November 2012, 17:29
There was a reason effort was put into making an open source DVD navigator ............

madshi
1st November 2012, 17:30
Were my logs a dud too? :D
They were more or less helpful, but they didn't contain what I hoped I would find there...

Seeking works fine, using the old XP qdvd.dll would cause the player to become unresponsive.
I've looked into the XP seeking problem, but it seems to be an MPC-HC bug, from what I can see.

The scaling algorithms UI bug still exists by the way, just thought I'd give a heads-up.
Yeah, didn't find the time to fix that yet.

Madshi, Jinc 3 with AR appears to produce a sharper image than Jinc 4 with AR (has always been the case) The sharpness bar graph might need revision.
In my test images it looks like Jinc4 might be ever so slightly sharper than Jinc3. Maybe it depends on the test material...

madshi
1st November 2012, 17:37
madVR v0.84.5 released

http://madshi.net/madVR.zip

* improved rendering behaviour with DVD menus and still images
There has been some confusion in some forums, so let me sum up the current state of madVR DVD support:

Basically madVR can now play DVDs just fine now with the MS DVD Navigator (or any other navigator). The Macrovision problem should be gone for good. However, there are 2 limitations compared to VMR/EVR:

(1) Your DVDs *must* be decrypted if you want to play them with madVR, e.g. by AnyDVD.
(2) You need to use a video decoder which is able to draw the DVD menu stuff on top of the video frames. E.g. LAV Video Decoder does that. You can also use other video decoders but then part of the DVD menus might not be fully drawn.

If you run into "DVD Copy-Protect Fail" (MPC-HC) or "Key exchange for DVD copy protection failed" (ZP) complaints, then you simply forgot to decrypt the DVD.

I'm still talking to Microsoft about why EVR can play encrypted DVDs and madVR cannot, but it seems to me they don't know, either. Or maybe they just don't feel like looking at the DVD Navigator source code, I don't know. At least I don't have high hopes they will find a solution for madVR. But they're trying, so let's wait and see...

Prinz
1st November 2012, 18:55
There must be a check for the Renderer in the DVD Navigator. If I select Null as Renderer in MPC-HC the same thing happens:

- With anydvd active it plays (audio only of course)

- without anydvd the same error message: DVD Copy-Protect Fail

All MS Renders (Overlay,VMR7,VMR9,EVR) work with and without anydvd.

leeperry
1st November 2012, 19:04
:thanks: for the new build! but DVD's had always worked in PotP IME anyway ^^

I'm still talking to Microsoft about why EVR can play encrypted DVDs and madVR cannot
Good to hear that m$ doesn't play deaf with you, right after nvidia clearly stating in their drivers changelog that some fixes were meant to help with mVR.....I guess both companies came to realize that your killer VR does sell OS licences and GPU's :)

Anyway, I just spent an hour messing around with chroma/luma upscales, and to my eyes the most "3D" picture is still softcubic50 AR for chroma + Jinc3 AR for luma(I forgot to try Jinc4 but my 8800GS is barely fast enough for Jinc3 anyway). I've never been too fund of mixing the luma/chroma noises together and I've always enjoyed the cleanest luma possible on top of a reasonably soft chroma(sc50 seems to be the sweet spot indeed). Several ppl on HCFR also swear by:
ss=2
spline144resize(round(ss*last.width),round(ss*last.height))
but it looked utterly noisy: 8bit Avisynth/ffdshow processing is a lost cause, end of story. It's astounding to think that so much effort has gone through this app, and yet in 2012 it's still limited to 8bit output(apart from some kludgy hacks) when the first rule in DSP is to never use the same bit-depth for input and output(16int audio input>64fp processing>24int output) :o

for luma, Lanczos3 AR looks "computer'ish" to death, Spline3 AR seems to slightly add some EE(ringing?) and Jinc3 AR gives the most natural and 3D'ish picture, yay! :cool:

All this said, I can't quite resist that ref 660 board for 170€ shipped anymore as I can't even upscale 960*540 to 1080p(as I initially thought), so bring the pain :p

I'll have to rerun an Argyll calibration with the new board, so I'll make sure to test how the "disable gamma ramps" mVR option behaves with a 1.0 gamma 3x1D CLUT and report back.

Pat357
1st November 2012, 22:14
Anyway, I just spent an hour messing around with chroma/luma upscales, and to my eyes the most "3D" picture is still softcubic50 AR for chroma + Jinc3 AR for luma.
Was the AR for softcubic50 - chroma really needed ?
The softcubic algo doesn't really cause additional ringing (at least, to me). What I find a minus about SC50, is the occasional color-desaturation.
You could try SC50 again, but without AR : might save you from needing a new GPU at all ! :D

8bit Avisynth/ffdshow processing is a lost cause, end of story. It's astounding to think that so much effort has gone through this app, and yet in 2012 it's still limited to 8bit output(apart from some kludgy hacks)
Goodbye Avisynth,...... WELCOME Vapoursynth !!

when the first rule in DSP is to never use the same bit-depth for input and output
That's the 3rd rule, not the first ! :p
There is nothing wrong with bit-depth input = output, but it's the processing in between that should be done at a higher bit-depth + do a proper dithering !

cyberbeing
1st November 2012, 23:48
10-bit & 16-bit formats seem like they need to be blacklisted from enabling madVR deinterlacing.

Pat357
2nd November 2012, 01:22
10-bit & 16-bit formats seem like they need to be blacklisted from enabling madVR deinterlacing.
You mean you can't let MadVR deinterlace 8-bit content if any >8 bit format in LAVvideo is enabled ?
What kind of content was it ?
It's obvious that >8 bit content can't be deinterlaced as MadVR uses "standard DVXA2" to do the deinterlacing.

As long as you keep all formats checked in LAVvideo, the deinterlacing of 8 bit content should work ; if not there must be a bug.:p

I don't know how >8bit formats with interlacing are handled, but maybe an idea for Madshi would be :
to refuse all >8 bit formats if deinterlacing is asked for, or automatic (flags) or manual (<ctrl>+<alt>+<shift>+d or other key).
This way LAV or any other decoder has to stick to to 8 bit formats. (Not even sure how LAV would act if for ex. NV12+YV12 are disabled with interlaced content)
or
for formats >8bit, disable de-interlacing and show the "still interlaced" content (user will notice this and can react accordingly)

This makes me also think again about the order of the color formats in LAV-video : IIRC if NV12 and YV12 are disabled, the next formats are P016, P010. I guess this will obviously give problems with interlaced content.
Would it bring anything to put YUY2 before P016 and P010 in this case ? (interlaced content).

Another way to look at this is : if the user disables certain formats, he should know the consequences and not come to cry that the deinterlacing is not working anymore !
For me, this is OK ;)

6233638
2nd November 2012, 01:54
Basically madVR can now play DVDs just fine now with the MS DVD Navigator (or any other navigator). The Macrovision problem should be gone for good. However, there are 2 limitations compared to VMR/EVR:

(1) Your DVDs *must* be decrypted if you want to play them with madVR, e.g. by AnyDVD.
(2) You need to use a video decoder which is able to draw the DVD menu stuff on top of the video frames. E.g. LAV Video Decoder does that. You can also use other video decoders but then part of the DVD menus might not be fully drawn.

If you run into "DVD Copy-Protect Fail" (MPC-HC) or "Key exchange for DVD copy protection failed" (ZP) complaints, then you simply forgot to decrypt the DVD.

I'm still talking to Microsoft about why EVR can play encrypted DVDs and madVR cannot, but it seems to me they don't know, either. Or maybe they just don't feel like looking at the DVD Navigator source code, I don't know. At least I don't have high hopes they will find a solution for madVR. But they're trying, so let's wait and see...DVD menus are working much better now, I haven't run into any problems so far.

Hopefully you will get a solution back from Microsoft, but at least it's possible to play DVDs in madVR with the system DVD Navigator at all now.


Now that DVD playback is working, I've been going back through my collection, and a number of discs start with a "video" type intro showing the distributer logo before the menus start, so I switched madVR from forcing film mode to auto detection. It never seems to detect anything other than "video" for PAL content now. (I haven't tried anything NTSC yet, the majority of my discs are PAL)

Here's a sample that shows obvious problems with video deinterlacing:
http://www.freefilehosting.net/vts011demuxed


:thanks: for the new build! but DVD's had always worked in PotP IME anyway ^^Doesn't PotPlayer call home to Korea though?

Anyway, I just spent an hour messing around with chroma/luma upscales, and to my eyes the most "3D" picture is still softcubic50 AR for chroma + Jinc3 AR for luma(I forgot to try Jinc4 but my 8800GS is barely fast enough for Jinc3 anyway). I've never been too fund of mixing the luma/chroma noises together and I've always enjoyed the cleanest luma possible on top of a reasonably soft chroma(sc50 seems to be the sweet spot indeed).You should avoid using the anti-ringing filter with SoftCubic, it is very damaging to image quality. (but almost anything you do to Chroma can be difficult to see if you are not using the right test material)

I would still argue against using SoftCubic at all for Chroma.
It is a measurably bad choice, as it reduces the brightness of, or desaturates Chroma.

I'll have to rerun an Argyll calibration with the new board, so I'll make sure to test how the "disable gamma ramps" mVR option behaves with a 1.0 gamma 3x1D CLUT and report back.I suggest using ICC profiles in Windows and using madVR's 3DLUT for video calibration.

cyberbeing
2nd November 2012, 02:00
Yes, I mean that madVR automatically enables deinterlacing on flagged interlaced high-bitdepth content, which isn't supported.

I ran into this problem when attempting to test YUY2 & AYUV/YV24 DVD subtitle quality out of LAV Video 0.52.0.
Though there would be nothing preventing someone from encoding native high-bitdepth interlaced video and run into similar problems with madVR automatic deinterlacing.

Uncheck NV12/YV12 and you get P010 with corrupted madVR deinterlacing.
Uncheck NV12/YV12/P010/P016 and you get Y216 with corrupted madVR deinterlacing.
Uncheck NV12/YV12/P010/P016/Y216/Y210/v210 and you'll finally get YUY2 which can be deinterlaced by madVR.
Uncheck NV12/YV12/P010/P016/Y216/Y210/v210/YUY2/RGB32/RGB24 and madVR will freeze when attempting to automatically enable deinterlacing on Y416.
Uncheck NV12/YV12/P010/P016/Y216/Y210/v210/YUY2/RGB32/RGB24/Y416/Y410/v410 and you'll get YV24 which can be deinterlaced by madVR.

madVR needs to come up with a solution for dealing with high-bitdepth video flagged as interlaced, that doesn't result in corrupted output or black screen freezing.
Blacklisting madVR deinterlacing from being enabled on high-bitdepth video would likely be the easiest solution.

Anima123
2nd November 2012, 03:33
I am managing to buy a new gamer's laptop, there's one thing that I'd like to make sure before doing. Could you guys tell me which nVidia card is enough for video watching with the latest madVR with at least Jinc 3-tap plus AR for luma, 650M?

Hypernova
2nd November 2012, 04:47
I am managing to buy a new gamer's laptop, there's one thing that I'd like to make sure before doing. Could you guys tell me which nVidia card is enough for video watching with the latest madVR with at least Jinc 3-tap plus AR for luma, 650M?

I don't know the answer, but here's some reference: Intel HD 4000 can barely do 720->1080 with Jinc3 in my exprerience. For ->1600p, I need to overclock it to the max and use bilinear for chroma and it will be a millisecond short of being able to keep up.

JarrettH
2nd November 2012, 05:13
All DVD menus are working flawlessly and snappy since 0.84.5 :thanks:

leeperry
2nd November 2012, 05:46
You could try SC50 again, but without AR : might save you from needing a new GPU at all
I believe I tried, but I'll retry and also give Jinc4 AR for luma a whirl.

PS: yes AR looks more "3D" to me, and Jinc4 AR might be noisier than 3 for luma but my GPU is too slow at this point.

Goodbye Avisynth,...... WELCOME Vapoursynth !!
as far as I can see, ffdshow has become a ghost ship so Vapoursynth support might very well never occur.

That's the 3rd rule, not the first ! :p
There is nothing wrong with bit-depth input = output, but it's the processing in between that should be done at a higher bit-depth + do a proper dithering !
Well, SmoothLevels() uses a higher precision for computing then dithers back to 8bit but it's noisy as hell in mVR when its output dithering is enabled and when disabled it's still noisy because it's being output in 8bit(you can also disable dithering in mVR itself, but the latter still looked better to my eyes on a LCD TV, after gamut mapping and all).

Ideally, we would need the whole ffdshow pipeline to work in 16bit....even mirroring in ffdshow is utterly noisy which is a major bummer because I used it a lot, but hopefully once PS script support is added to mVR I will find a script to do it in plain 32fp :)

Doesn't PotPlayer call home to Korea though?
Dunno, I've got a firewall up and I don't allow media players to connect to the internet. I couldn't live without its "seamless playback" feature anyway, that can open up to a thousand files(mixed containers allowed) in the same folder and you can roll them with a mouse click.

You should avoid using the anti-ringing filter with SoftCubic, it is very damaging to image quality. (but almost anything you do to Chroma can be difficult to see if you are not using the right test material).

I would still argue against using SoftCubic at all for Chroma.
It is a measurably bad choice, as it reduces the brightness of, or desaturates Chroma
Well, at the end of the day what I ultimately crave is that subjective 3D "pop effect" on real world material, not sneaky test patterns.....the aforementioned combination does exactly that on my rig and as you can see below everything's slightly oversaturated on my TV anyway.

I might consider using sc50ar for SD and something less soft for HD if madshi ever adds automatic rules based on resolution and frame rate.

I suggest using ICC profiles in Windows and using madVR's 3DLUT for video calibration.
Yep, Argyll can build LUT-based ICC files and that .ti3 parser app could supposedly merge .cal files & 3DLUT files....but can it do it inside a yRGB file reliably? And from what I briefly tested, the "disable gamma ramps" option in mVR might not be effective enough on my XP box to temporarily disable the windows CLUT. I will try to build a 1.0 gamma LUT based ICC profile and will report back. But I don't have the .net 4.5 bloatware installed required to use the parser app...I might build a W8 VM, though.

It's also still fairly annoying that there is no way to compensate for primaries/secondaries saturations whatsoever: http://thumbnails103.imagebam.com/21818/8149be218179235.jpg (http://www.imagebam.com/image/8149be218179235)

tritical said that it was a no-go, and yesgrey said he'd think about it....a 16bit 3DLUT would be the perfect place to do that, talk about wasted potential :p

THX-UltraII
2nd November 2012, 09:14
I m going to use a Avisynth script called FineSharp. So I will need ffdshow RAW video 'all supported'. But I m already using LAV Video decoder. How do I config ffdshows output (checkboxes etc) so no extra conversion is done my ffdshow? Do I only checked the box 'YV12' tn the output settings? Or do I have to check all boxes? Or other boxes/option that I have to choose?

I think it is important to tell the exact 'chain' I m using now:

- Media Player Classic with madVR as output renderer with output setting in madVR PC Levels (0-255).

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

- HDMI Color Space Input of my display device: RGB

- HDMI Dynamic Range Input of my display device: 0-255


Thanks for input!

madshi
2nd November 2012, 09:14
There must be a check for the Renderer in the DVD Navigator. If I select Null as Renderer in MPC-HC the same thing happens
Yeah, that might be. Or maybe the renderer must support a specific interface or behave in a specific way, but I don't know how.

10-bit & 16-bit formats seem like they need to be blacklisted from enabling madVR deinterlacing.
Yes, I already have that on my to do list.

DVD menus are working much better now, I haven't run into any problems so far.
All DVD menus are working flawlessly and snappy since 0.84.5 :thanks:
Thanks for the feedback, glad to hear that!

I believe I tried, but I'll retry and also give Jinc4 AR for luma a whirl.

PS: yes AR looks more "3D" to me, and Jinc4 AR might be noisier than 3 for luma but my GPU is too slow at this point.
He meant SoftCubic for chroma without AR, but Jinc with AR for image upscaling. It seems SoftCubic + AR sometimes results in artifacts.

I am managing to buy a new gamer's laptop, there's one thing that I'd like to make sure before doing. Could you guys tell me which nVidia card is enough for video watching with the latest madVR with at least Jinc 3-tap plus AR for luma, 650M?
The 650M is probably fast enough for 24fps, but if you want to use Jinc3 AR for 60fps content, too, it's probably too slow. But it might also depend on your display resolution and the movie resolution.

Now that DVD playback is working, I've been going back through my collection, and a number of discs start with a "video" type intro showing the distributer logo before the menus start, so I switched madVR from forcing film mode to auto detection. It never seems to detect anything other than "video" for PAL content now. (I haven't tried anything NTSC yet, the majority of my discs are PAL)
Automatic film vs. video detection is not really implemented in madVR yet. If you switch to "auto", madVR will always use DXVA2 deinterlacing. In theory DXVA2 is supposed to automatically detect film vs. video by itself and deinterlace accordingly. But:

Here's a sample that shows obvious problems with video deinterlacing
Thanks for the sample. Obviously DXVA2 fails to detect that this is movie content and thus deinterlaces incorrectly.

There's nothing I can do about this in a quick way. The only solution will be to implement full video vs. movie detection in madVR. But that's not an easy thing to do. It's a planned feature, but it's not very high on my priority list for now. So if DXVA2 deinterlacing fails for you, you'll have to manually switch madVR to film mode.

madshi
2nd November 2012, 09:16
I m going to use a Avisynth script called FineSharp. So I will need ffdshow RAW video 'all supported'. But I m already using LAV Video decoder. How do I config ffdshows output (checkboxes etc) so no extra conversion is done my ffdshow?-In the Output settings only checked the box 'YV12'? Or check all boxes? Or other boxes?
I'm not an ffdshow expert, but I guess you should activate all checkboxes in both LAV and ffdshow. You can then afterwards double check whether the pin connections are correct (NV12 or YV12 everywhere).

THX-UltraII
2nd November 2012, 10:11
Dank je voor je snelle reply ;)

http://ffdshow-tryout.sourceforge.net/wiki/video:output

ffdshow has some output settings. First one is the Primary Output Color Space. I can select Auto, YUV (YV12/YUY2/NV12) or RGB here. What do you think I have to choose here when I don t want ffdshow to do a extra video conversion?

Next there are the boxes that can be checked:
4:2:0 YUV YV12 8-bit
4:2:0 YUV NV12 8-bit
4:2:0 YUV P010 10-bit
4:2:0 YUV P016 16-bit
4:2:2 YUV YUY2 8-bit
4:2:2 YUV YUVY 8-bit
4:2:2 YUV P210 10-bit
4:2:2 YUV P216 16-bit
4:4:4 YUV AYUV 8-bit
4:4:4 YUV Y416 16-bit
RGB32 8-bit
RGB24 8-bit

Next there s the setting Set interlaced flag in output media type which is checked by default. Should I leave this checked? More information about this settings:
- Sends interlacing related information obtained from the input stream or ffdshow's internal decoders to the next filter.
- Some filters (like video renderers) will use this information to deinterlace the video if necessary.
- This is just for informing the downstream filters - the actual result will depend purely on the implementation of these filters.
- DVDs may be flagged as interlaced, but in most cases they were originally film (progressive) and just soft telecined. For such video, it is recommended to disable this setting.

And there also the TAB in ffdshow called RGB Conversion which has quite a few settings:
- YCbCr specification:
I can choose 'Auto', 'ITU-R BT.601' or 'BT.709' here. Which one should I use?

- High quality YV12 to RGB conversion:
This checkbox will instruct ffdshow to use a high quality conversion method. The conversion is done in 11-bit or higher and its performance can be improved significantly with multi-core CPUs. This feature requires a SSE2-capable CPU at the minimum.

Should I check this box?

- Dithering:
Dithering is an option to maintain the source's full visual quality when doing YCbCr → RGB conversion. Without dithering, RGB conversion can result in added banding. With “High quality YV12 to RGB conversion” enabled, ffdshow calculates in 11-bit or higher. If this option is checked, the result is dithered otherwise rounded to 8-bit. This increases RGB conversion's CPU usage by about 6%.

Should I check this box?

- Input Levels:
Auto
Standard (Y: 16-235, CbCr: 16-240)
Full Range (Y: 0-255, CbCr: 1-255)

Which one should I use?

- Output Levels:
RGB 0-255
RGB 16-235

Which one should I use?

Thanks!

leeperry
2nd November 2012, 10:35
He meant SoftCubic for chroma without AR, but Jinc with AR for image upscaling. It seems SoftCubic + AR sometimes results in artifacts.
Yes, that's how I understood it and whatever chroma or luma both subjectively look more "3D" to me in 30fps when AR is enabled. Fast moving objects have less EE around them, due to the (far) less visible ringing so everything looks less "flat" and the highly sought after "pop effect" is very much there to my eyes :cool:

madshi
2nd November 2012, 10:39
@THX-UltraII, for detailed ffdshow instructions please ask in the ffdshow thread. FWIW, most of those options have no effect if input and output are both YV12/NV12.

Prinz
2nd November 2012, 10:39
Yeah, that might be. Or maybe the renderer must support a specific interface or behave in a specific way, but I don't know how.

The only thing that comes to mind why the renderer should report something, is that back in the analog TV-OUT days the renderer hat to check for analog Macrovision support on the TV-OUT and prevent the playback for protected DVD if the TV-OUT didn't have a Macrovision protection.

cyberbeing
2nd November 2012, 11:28
DVD sub-menus become unresponsive when "Keep Aspect Ratio" is disabled in MPC-HC and the DVD sub-menu has a different aspect ratio then the root menu.

THX-UltraII
2nd November 2012, 11:56
@THX-UltraII, for detailed ffdshow instructions please ask in the ffdshow thread. FWIW, most of those options have no effect if input and output are both YV12/NV12.

Ok, I ll ask over there.