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

andybkma
7th June 2011, 12:47
Hmmmmm... It seems that the OS in this scenario doesn't tell applications about these changes. If you use an application (e.g. MonInfo) which lists the EDID block of the display, do you get different EDID blocks when you switch displays?

Hmm, I guess your right. I installed MonInfo and it always showed the Acer external monitor as the video device even when I had the internal laptop display selected. When I unplugged the Acer external then MonInfo showed the BenQ projector as the video device. Only when I unplugged both the external monitor and the projector from the laptop ports then MonInfo showed my internal laptop display as the correct and proper device.

I guess it really doesn't matter does it? They are all pretty much digital devices and I don't think I would get a better picture on my projector vs the Acer external monitor even if madVR would recognize it properly, right?

madshi
7th June 2011, 13:02
Hmm, I guess your right. I installed MonInfo and it always showed the Acer external monitor as the video device even when I had the internal laptop display selected. When I unplugged the Acer external then MonInfo showed the BenQ projector as the video device. Only when I unplugged both the external monitor and the projector from the laptop ports then MonInfo showed my internal laptop display as the correct and proper device.

I guess it really doesn't matter does it? They are all pretty much digital devices and I don't think I would get a better picture on my projector vs the Acer external monitor even if madVR would recognize it properly, right?
If you can use the same settings for all then it shouldn't matter. Of course the purpose of the device/display management in madVR is to allow you to use different settings for different displays. If you can live without that, everything's fine.

Any suggestions/recomendations on an affordable meter?
I'm not really an expert on this. Maybe someone else can help out. If not, you could ask in the yCMS thread.

cyberlolo
7th June 2011, 13:03
Hi madshi.

Thanks for the new build. But I have a problem with it. Until now, I've been using 3dlut files (generated with yCMS) in madvr, and was using this command for color correction:

Gamut_Measurements 0.6350 0.3321 0.2890 0.6007 0.1528 0.0647 0.3127 0.3294

just as it was intended to be:

Gamut_Measurements redx redy greenx greeny bluex bluey whitex whitey

But now, with the new builds (and with the new madvr version), this is not possible, and the procedure seems to be as in this example:

Gamut_Measurements 1
21.26 0.676 0.321
71.52 0.308 0.685
7.22 0.144 0.045
100.00 0.3127 0.3290

yesgrey told me that the first column (bold) was the Luminance, but when the calibrator did his job on my TV, he gave me the xy coordinates and they were 2 numbers for each component, not 3!! So I don't have that info. Is there any way to generate 3Dluts or use madvr color correction without luminance? How can I solve this?

Thanks in advance.

madshi
7th June 2011, 13:05
@cyberlolo, you really only need to ask in one thread. yesgrey and I are reading both. I'm sure you'll get a reply from yesgrey in the yCMS thread. Personally, I don't know the answer, but I'm pretty sure there is one.

SamuriHL
7th June 2011, 13:38
there is no reason other than i dont know how :)
i just have the latest mpc and madvr installed, thats it. sounds like i need more. please could you enlighten me?
i suppose there is no way to use the HW acceleration and it must be done in software?

i only rip the main movie so all my rips have just one m2ts file. ( are subtitles here too? i havnt looked)
again how do you play them with mpc and madvr please?

thanks, sory if this is a dumb question

Personally I highly recommend the following:

LAV Splitter
LAV Audio
Your favorite video decoder based upon your hardware (LAV CUVID for nVidia to do GPU decoding and for me Cyberlink Video Decoder for HAM mode for GPU decoding to offload decoding to your video card)
ffdshow raw video filter for subs *UNLESS* you're using MPC-HC in which case use their internal sub renderer

With that combination you can just load the index.bdmv file in your BD folder and it will play the main movie. Or you can open an MPLS file. Or you can open your m2ts file. However you wanna do it.

cyberlolo
7th June 2011, 13:45
@cyberlolo, you really only need to ask in one thread. yesgrey and I are reading both. I'm sure you'll get a reply from yesgrey in the yCMS thread. Personally, I don't know the answer, but I'm pretty sure there is one.

Ok, I didn't know you read both. Please sorry.

janos666
7th June 2011, 14:12
@madshi

Was your fix for the sync problem of the interlaced display mode that you disabled 1080i59? :D
I mean... was it the problem that my display doesn't really support it? :(
I kept these settings for v0.63: 1080p23, 1080i50, 1080i59
and now my display mode remains progressive 60.000Hz with 29.970fps materials. Could you explain it please?

madshi
7th June 2011, 14:26
Was your fix for the sync problem of the interlaced display mode that you disabled 1080i59? :D
I mean... was it the problem that my display doesn't really support it? :(
I kept these settings for v0.63: 1080p23, 1080i50, 1080i59
and now my display mode remains progressive 60.000Hz with 29.970fps materials. Could you explain it please?
Can I have a log (once again), please?

janos666
7th June 2011, 14:40
This time it switches but the display mode is 1080p59, not 1080i59 (the setup is still: 1080p23, 1080i50, 1080i59) -> log (http://www.mediafire.com/?i9e3b86pryxb7xb) (1080i50 works)

But I found this: http://www.100fps.com/, and now it sounds like a bad idea to output interlaced signal (see "resized before deinterlacing" -> the chroma map is resized by madvr...)

Could somebody recommend a high quality deinterlacer filter? (Or which one is the best out of the many in FFDShow?)

nevcairiel
7th June 2011, 14:47
Could somebody recommend a high quality deinterlacer filter? (Or which one is the best out of the many in FFDShow?)

If you're stuck with software deinterlacing, then yadif.
If you have an NVIDIA card, yu can use my LAV CUVID to use hardware decoding & hardware deinterlacing (best quality deinterlacing you can achieve with madVR, IMHO)

madshi
7th June 2011, 14:49
This time it switches but the display mode is 1080p59, not 1080i59 (the setup is still: 1080p23, 1080i50, 1080i59) -> log (http://www.mediafire.com/?i9e3b86pryxb7xb) (1080i50 works)
Windows reports "bad mode" when madVR tries to switch to 1080i59. Does that mode really exist?

janos666
7th June 2011, 14:51
Oh, SORRY! I accidentally left the MPC-HC autochanger on. Here is a new log without it and without display mode change: log2 (http://www.mediafire.com/?l8f5l0z8di4thep)

e-t172
7th June 2011, 14:55
Ideally(and I made this feature request to madshi a while back), we'd need some automatic rules like:
-23.976: SMPTE-C(that you could always change to EBU using a hotkey if it was mastered in Europe)
-25: EBU(it could also be HDTV, so you could always swap it if need be)
-29.97: SMPTE-C(it's most likely SD VIDEO NTSC, but it could also be HDTV if it's HD)

You'll find some food for thoughts in this thread: http://www.avsforum.com/avs-vb/showthread.php?t=1038602

I've just read this thread from beginning to end, and have not reached your conclusions. It seems the general consensus is that HD material is in fact mastered for 709 gamut. According to most professionals in this thread, they're using SMPTE-C monitors when mastering, but at the end of the chain (after the SMPTE-C monitor) there is always a gamut conversion to 709 using a 3dlut. Most of the thread is about whether it is possible to properly grade video material using a monitor with insufficient gamut ; but this discussion has nothing to do with the fact that, in the end, the result is always meant to be displayed using 709 gamut.

Because of this, I think it is best to follow the standard and use 709 gamut for HD content.

janos666
7th June 2011, 14:56
Windows reports "bad mode" when madVR tries to switch to 1080i59. Does that mode really exist?

I am not sure, I initially thought I need 1080i30 or 1080i29 (one of them) but I found it (1080i59) in your example list.
And I don't know what happened with v0.62 but madvr reported 59.xxHz with 1080i30 materials and I couldn't see the signs of the interlace on the display.
1080i50 works for sure, I will play with the numbers.

madshi
7th June 2011, 15:01
Oh, SORRY! I accidentally left the MPC-HC autochanger on. Here is a new log without it and without display mode change: log2 (http://www.mediafire.com/?l8f5l0z8di4thep)
Same, "bad mode".

janos666
7th June 2011, 15:02
This time I tried to list these modes:
1080i29, 1080i30, 1080i59, 1080i60
Nothing happens, the display mode remains 1080p60 and it is obviously not deinterlaced by the TV.
The TV deinterlaced the same material correctly before the sync problem occurred with v0.62 -> What was my exact display mode then with DX9?

nevcairiel
7th June 2011, 15:04
I've just read this thread from beginning to end, and have not reached your conclusions. It seems the general consensus is that HD material is in fact mastered for 709 gamut. According to most professionals in this thread, they're using SMPTE-C monitors when mastering, but at the end of the chain (after the SMPTE-C monitor) there is always a gamut conversion to 709 using a 3dlut. Most of the thread is about whether it is possible to properly grade video material using a monitor with insufficient gamut ; but this discussion has nothing to do with the fact that, in the end, the result is always meant to be displayed using 709 gamut.

Thats what i would've thought.
Why would a professional mastering studio master for a gamut which is only used on their screens, totally ignoring the Blu-ray spec which says you're supposed to use Rec. 709?

Sure, they are using SMPTE-C screens, that doesn't mean they master for them.

madshi
7th June 2011, 15:08
This time I tried to list these modes:
1080i29, 1080i30, 1080i59, 1080i60
Nothing happens, the display mode remains 1080p60 and it is obviously not deinterlaced by the TV.
The TV deinterlaced the same material correctly before the sync problem occurred with v0.62 -> What was my exact display mode then with DX9?
I don't know what was before. But it's pretty obvious that madVR can not switch your GPU to 1080i59, because then Windows reports "bad mode". So better remove 1080i59 from your mode list. I'd suggest putting only one mode in there at a time to check if it works. Probably your GPU wants 1080i29 and not 1080i59, although it's really the same. There's a bug in madVR, though, so maybe you should delay testing until the next version is out.

janos666
7th June 2011, 15:12
Oh god, it was a "syntax error" again.
It works if I list the 1080i29 alone. madVR reports 59.940Hz and the TV does the deinterlacing.
I wonder why 1080i50 triggers the interlaced 50Hz and 1080i29 the interlaced 59.94Hz

It's not only testing. I would actually watch some episodes from a TV Show tonight. :)

janos666
7th June 2011, 15:25
And the sync problem is still there. (Here is the last log if logging was turned on anyway: log3 (http://www.mediafire.com/?a66ab13cpi1kkkb)

cyberlolo
7th June 2011, 15:50
@madshi, yesgrey has answered that yCMS is not yet using the luminance values, so the values on the first column are not important.

ok, but what about those values in madvr? are they ignored as well?

madshi
7th June 2011, 15:55
madVR just passes the values on to yCMS. Other than that madVR doesn't care. So you should be fine using "dummy" values.

oddball
7th June 2011, 16:06
I only wish for two things from MadVR right now. A fix for the seekbar issue and the ability to screencap.

cyberlolo
7th June 2011, 16:07
madVR just passes the values on to yCMS. Other than that madVR doesn't care. So you should be fine using "dummy" values.

Ok, thanks.

By the way, when trying to use an external 3dlut file, madvr says: "this 3dlut file does not match the input format required by madVR"

This is the file used for generating the 3dlut with yCMS:

# Set input format
Input_Format HD YCbCr 8

# Set output format
Output_Format HD RGB_Video 16

Gamut_Measurements 1
21.26 0.6350 0.3321
71.52 0.2890 0.6007
7.22 0.1528 0.0647
100.00 0.3127 0.3294

pie1394
7th June 2011, 16:13
Oh god, it was a "syntax error" again.
It works if I list the 1080i29 alone. madVR reports 59.940Hz and the TV does the deinterlacing.
I wonder why 1080i50 triggers the interlaced 50Hz and 1080i29 the interlaced 59.94Hz

It's not only testing. I would actually watch some episodes from a TV Show tonight. :)

Just tried 1080i50 and I get the same result like you. It only gets correct switching with 1080p50 mode for 1080i50 material.

If you have used LAVCUVID to perform Deinterlace + Frame-rate doubler, it is better to choose progressive video mode instead of the interlaced one.

I ever tried LAVCUVID w/o deinterlace option + madVR + interlaced video mode. But it shows some "judder" like motion object's visual problems. Don't know if it is due to the madVR's presentation logic on Frame image to video driver's interlaced mode because one field is not observed on quickly motioned scenes.

pacemaker1000
7th June 2011, 16:53
Personally I highly recommend the following:

LAV Splitter
LAV Audio
Your favorite video decoder based upon your hardware (LAV CUVID for nVidia to do GPU decoding and for me Cyberlink Video Decoder for HAM mode for GPU decoding to offload decoding to your video card)
ffdshow raw video filter for subs *UNLESS* you're using MPC-HC in which case use their internal sub renderer

With that combination you can just load the index.bdmv file in your BD folder and it will play the main movie. Or you can open an MPLS file. Or you can open your m2ts file. However you wanna do it.

apologies for not understanding but could you explain more or point me to a link?
i have an ati 4650 card and use TMT at the moment for bluray
looks like i need to have hardware acceleration but how?
i prefer not to use ffdshow and only use mpc with madvr plus ac3filter set to spdif passthrough for aac audio files

i need to go back to basics as i thought all bluray playing was done using the gpu and powerdvd/tmt etc :confused:

i really like the madvr auto refresh feature and want to get my bd rips playing like my avi/mkv files with minimum fuss. that is just madvr renderer and HW acceleration if this is possible

thanks

ps what is HAM mode?

leeperry
7th June 2011, 16:58
the result is always meant to be displayed using 709 gamut.

Because of this, I think it is best to follow the standard and use 709 gamut for HD content.
well, that's the theory...and yes, some mastering houses are said to use some 3DLUT's at the very last stage to convert the gamut from SMPTE-C to HDTV...but some/most don't(depending on who you ask :p). I personally trust Joe Kane and the ISF more than some random opinions on a random forum.

But yes, your average movie goes through a lot of proprietary 3D LUT's before making it to BD: www.color.org/ICC_Chiba_07-06-19_PM_DMP_Float.pdf

A real world experiment is to calibrate your display w/ a good sensor(ΔE <1), then roll the gamuts and see for yourself...I personally have never seen a US or EUR BD that looked better w/ an HDTV gamut. And the whole idea of those automatic rules would be that you could set them all to HDTV if you like it better. It's more a matter of personal perception than anything else.

JVC pj's are known to have wide gamuts and makes movies look terribly oversaturated(it might have changed w/ their latest models)...SMPTE-C orangey red becomes ferrari red, ppl look over-tanned...but JVC did this after many real world experiments coz most ppl expect HD to look oversaturated: they find SMPTE-C dull and washed out(and it is).

The same way most ppl hate 24p and whine for 48p/60p when they actually watch their movies in 60Hz. I'll take the "Battle: Los Angeles" movie as an example, that would make anyone dizzy if watched in 60Hz as pretty much the whole movie was shot using an hand-held camera. D65/2.4 in a 24Hz multiple ensures that you're watching the movie as it's meant to be seen. Now, roll the gamut from SMPTE-C to HDTV a few times and decide which one you prefer, as there's no practical hard rule....and tbh, only the most OCD'ed videophiles really give a damn whether the hero of CARS is orangey red or deep red :p

SamuriHL
7th June 2011, 17:03
apologies for not understanding but could you explain more or point me to a link?
i have an ati 4650 card
looks like i need to have hardware acceleration but how?
i prefer not to use ffdshow and only use mpc with madvr plus ac3filter set to spdif passthrough for aac audio files

i need to go back to basics as i thought all bluray playing was done using the gpu and powerdvd/tmt etc :confused:

i really like the madvr auto refresh feature and want to get my bd rips playing like my avi/mkv files with minimum fuss

thanks

ps what is HAM mode?

There's 2 types of "hardware acceleration". DXVA is the traditional way where all video decoding is done on the GPU and the decoded frames stay there. All post processing has to be done in the GPU. Another way to take advantage of the GPU is to use their API to offload the decoding of the video to the GPU, but, then copy it back into system memory. This allows for post processing to be done on the CPU. This is what madVR requires. HAM mode is Cyberlink's implementation of the AMD APP API that allows them to offload the video decoding to the GPU and get the frames back to system memory. It basically acts like a software decoder, but, uses the GPU to do the heavy lifting so your CPU can concentrate on other tasks. For blu-ray, your audio setup isn't really all that adequate. Personally I'd use LAV Audio with TMT's dtsdecoderdll.dll and let it decode all audio for you. This will give you bit perfect PCM. Output that to your receiver over HDMI and you basically have one powerful little setup. :) So skip ffdshow, that's fine, but, LAV filters (splitter/audio) really would be beneficial IMO. Just disable all the MPC internal filters and add LAV Audio to the external filters list and set to prefer. LAV Splitter should just work. If not you can add that and set to prefer, as well. In MPC, set the auto load subtitles option and you should be good to go. madVR will take care of autorefresh rate changing if you configure that correctly. It's really a wonderful setup IMO.

madshi
7th June 2011, 18:03
madVR v0.64 released

http://madshi.net/madVR.zip

* changed a couple of calibration related texts
* Ctrl+Alt+Shift+C toggles gamma curve type now instead of Ctrl+Alt+Shift+T
* Ctrl+Alt+Shift+M toggles decoding matrix
* Ctrl+Alt+Shift+P toggles source primaries
* fixed: disabling gamma processing didn't show immediate effect
* fixed: one more display mode changer bug
* added support for switching to 59i/60i display mode for 59p/60p content
* Windows key now only stops exclusive mode when running on primary monitor
* seekbar is now shown only if mouse cursor is on playback monitor
* when the PC is locked (Windows Key + L) madVR now pauses playback
* fixed: D3D11 playback on secondary monitor could result in window size bug

pacemaker1000
7th June 2011, 18:15
There's 2 types of "hardware acceleration". DXVA is the traditional way where all video decoding is done on the GPU and the decoded frames stay there. All post processing has to be done in the GPU. Another way to take advantage of the GPU is to use their API to offload the decoding of the video to the GPU, but, then copy it back into system memory. This allows for post processing to be done on the CPU. This is what madVR requires. HAM mode is Cyberlink's implementation of the AMD APP API that allows them to offload the video decoding to the GPU and get the frames back to system memory. It basically acts like a software decoder, but, uses the GPU to do the heavy lifting so your CPU can concentrate on other tasks. For blu-ray, your audio setup isn't really all that adequate. Personally I'd use LAV Audio with TMT's dtsdecoderdll.dll and let it decode all audio for you. This will give you bit perfect PCM. Output that to your receiver over HDMI and you basically have one powerful little setup. :) So skip ffdshow, that's fine, but, LAV filters (splitter/audio) really would be beneficial IMO. Just disable all the MPC internal filters and add LAV Audio to the external filters list and set to prefer. LAV Splitter should just work. If not you can add that and set to prefer, as well. In MPC, set the auto load subtitles option and you should be good to go. madVR will take care of autorefresh rate changing if you configure that correctly. It's really a wonderful setup IMO.

thanks for taking the time to write this explanation
i have downloaded lavfilters0.28 and will try tonight to get it working :thanks:

SamuriHL
7th June 2011, 18:22
thanks for taking the time to write this explanation
i have downloaded lavfilters0.28 and will try tonight to get it working :thanks:

No problem at all. If you have any issues, just shoot me a PM so we don't take up more space in this thread. I can definitely help you get it setup and configured if you have issues.

@madshi, man, I didn't even get to try 0.63 yet and now you've released a new one! Thanks!!

n3w813
7th June 2011, 18:29
First of all you may want to re-create your preferred video output mode as a custom mode, because with current NVidia drivers that's the only way to force the driver to output proper 0-255 levels. Once you've done that, get yourself one of those cheap calibration DVDs, or download the free AVSForum calibration disc. With these discs you should be able to double check whether you have to set madVR to 0-255 or 16-235 output. Since your display is a TV, it will *probably* want TV levels, but better double check with a calibration DVD.


Thanks for the reply Madshi.

One more question, so once I create the custom resolution in the Nvidia drivers, Windows desktop will be outputting 0-255 to HDMI. In Madvr, I should select to output PC levels, which will expand the default TV levels of the videos from 16-235 to 0-255. Then on the TV, I should set the RGB Dynamic Range option to Full (instead of Limited)?

If I do this, can I assume....
-BTB/WTW information is lost when MadVR expands the levels from TV > PC
-My TV will most likely take the full RGB 0-255 info and convert back to 16-235

:thanks:

n3w813

Hprd
7th June 2011, 18:44
Well v64 didn't fix my problem. Although if i were you, i wouldn't worry about it for now, as i found a workaround for it, it's just that i have to enable some things (check run presentation in seperate thread, and flush and wait (sleep) after copy to backbuffer on top of overshoot latency) for when playing stuff back on 48/59hz otherwise it could lead to massive frame drops on 24/30hz (or it did on previous versions, i'll try testing more later to see if it still does, so far in somewhat limited playback testing, it was fine.).

madshi
7th June 2011, 19:12
In Madvr, I should select to output PC levels, which will expand the default TV levels of the videos from 16-235 to 0-255. Then on the TV, I should set the RGB Dynamic Range option to Full (instead of Limited)?
Can't say, just try what looks better. Of course your TV setting should match the madVR setting.

noee
7th June 2011, 19:19
* seekbar is now shown only if mouse cursor is on playback monitor
* when the PC is locked (Windows Key + L) madVR now pauses playback
* fixed: D3D11 playback on secondary monitor could result in window size bug

confirmed! thx.

tschi
7th June 2011, 19:38
Hi Madshi Thank for the new version. :)
Where the gamut measurements are stored ?
I deleted madVR folder, and re install all, but, there is still my gamut measurement, I guess the values are stored somewhere else ?
Yesterday, I test 0.62 w/o any issue, and remake a new calibration. Today that I mistook when I put my new gamut values, and now I had very very bad gamut correction even if I put corrected gamut measures. I would like to re initialize all madvr information. Thanks

edit, I have also a question : in colorHCFR I have XYZ and xyz values, I think XYZ in madVR is xyz in colorHCFR (my red x= 0.653 <-> X=26.219) Am I wrong ?

madshi
7th June 2011, 20:23
I deleted madVR folder, and re install all, but, there is still my gamut measurement, I guess the values are stored somewhere else ?
Yesterday, I test 0.62 w/o any issue, and remake a new calibration. Today that I mistook when I put my new gamut values, and now I had very very bad gamut correction even if I put corrected gamut measures. I would like to re initialize all madvr information.
They're stored both in "settings.bin" and in the registry. Simply double click "restore default settings.bat" to restore the default settings.

in colorHCFR I have XYZ and xyz values, I think XYZ in madVR is xyz in colorHCFR (my red x= 0.653 <-> X=26.219) Am I wrong ?
Not sure, that's a question for yesgrey to ask.

alph@
7th June 2011, 20:28
very good build madshi, the speed of rendering is improving
(W7 64, ati 5660)
to have an idea,what the time of rendering and presentation on average.

tschi
7th June 2011, 20:33
ok thanks, I didn't see "restore default settings.bat" (missing in 0.64)

Andy o
7th June 2011, 20:42
madVR v0.64 released

http://madshi.net/madVR.zip


* fixed: one more display mode changer bug
* added support for switching to 59i/60i display mode for 59p/60p content

Hi madshi, this build is better than 0.63, but it's very similar as 0.62. I could find two main differences.

One was that 1080i29 on 0.64 works similarly as 1080i59 on 0.62, meaning that when 1080p24, 1080p50 and 1080i29 are on the list, my display switches to 1080p24 with 60p content.

The other difference is that 1080i29 when is alone in the options, does switch to 1080i29 for 60p content (whereas with 0.62, 1080i59 didn't do anything with 60p content)

Here's the two logs. "Bad" is for when it changes to 1080p24.

http://www.megaupload.com/?d=CDB8QL75

Another thing, 1080i59 doesn't work at all now, just like with 0.63. It was working with 0.62 (for 60i/30p content) if you recall from my log (http://forum.doom9.org/showthread.php?p=1505997#post1505997), don't know if you missed it cause I posted it right after you had posted 0.63. With both 0.63 and 0.64, if I add it, it disables the switch even if I also have 1080i29 in the options.

madshi
7th June 2011, 20:54
to have an idea,what the time of rendering and presentation on average.
Is that a question? Rendering and presentation times are very dependent on the movie and especially the GPU. So I can't give you any average times.

ok thanks, I didn't see "restore default settings.bat" (missing in 0.64)
Argh, you're right. I've just re-uploaded v0.64, this time with the "restore default settings.bat".

http://madshi.net/madVR.zip

Hi madshi, this build is better than 0.63, but it's very similar as 0.62. I could find two main differences.

One was that 1080i29 on 0.64 works similarly as 1080i59 on 0.62, meaning that when 1080p24, 1080p50 and 1080i29 are on the list, my display switches to 1080p24 with 60p content.

The other difference is that 1080i29 when is alone in the options, does switch to 1080i29 for 60p content (whereas with 0.62, 1080i59 didn't do anything with 60p content)
Argh, how stupid can I be? The "bad" log clearly shows that madVR is still not doing things correctly. Hopefully I'll have that *finally* fixed with v0.65. Sorry for taking so long... :(

Another thing, 1080i59 doesn't work at all now, just like with 0.63. It was working with 0.62 (for 60i/30p content) if you recall from my log (http://forum.doom9.org/showthread.php?p=1505997#post1505997), don't know if you missed it cause I posted it right after you had posted 0.63. With both 0.63 and 0.64, if I add it, it disables the switch even if I also have 1080i29 in the options.
Could you use a different file host next time, if possible? filesonic is awful. I have to wait 13 minutes to get this log.

Andy o
7th June 2011, 20:58
No prob, it's not really a big problem since there's not much 60p content. Yeah sorry about filesonic, I just figured out about the wait time, so I re-uploaded to megaupload. Is there one you prefer? I did filesonic cause most of the others I tried had popups and some scam donwload links.

Here's the 0.62 log where 1080i59 was working for 30p/59i content.

http://www.megaupload.com/?d=UC2ESXF0

nevcairiel
7th June 2011, 21:04
People should use multiupload more, then everyone can pick their favorite download place. :p

Andy o
7th June 2011, 21:11
right, noted. megaupload doesn't seem to have a one file per xx time limit, maybe just bandwidth limit, which is OK for this stuff I guess.

madshi
7th June 2011, 21:13
Is there one you prefer?
Any which doesn't make me wait.

Here's the 0.62 log where 1080i59 was working for 30p/59i content.

http://www.megaupload.com/?d=UC2ESXF0
Ah yes, due to a bug in v0.62 madVR actually switched to 1080i29 although you specified 1080i59. v0.64 does not do that, anymore. The simple thing to learn from this log is that 1080i59 definitely doesn't work.

iSunrise
7th June 2011, 21:21
Thanks for 0.64 madshi.

I did some tests switching between source primaries and color matrixes and noticed that when the OSD appears there´s an "(auto detect)" shown after BT.709.

Does this mean that madVR "auto-detected" both the source primaries and the color matrix from the current playing file or are you actually applying some rules now, which assume what is correct?

I´m asking since no matter what videos or movies I play, it always shows "BT.709 (auto detect)" for both the source primaries and the color matrix, even when playing SD content (NTSC or PAL).

madshi
7th June 2011, 21:37
I did some tests switching between source primaries and color matrixes and noticed that when the OSD appears there´s an "(auto detect)" shown after BT.709.

Does this mean that madVR "auto-detected" both the source primaries and the color matrix from the current playing file or are you actually applying some rules now, which assume what is correct?

I´m asking since no matter what videos or movies I play, it always shows "BT.709 (auto detect)" for both the source primaries and the color matrix, even when playing SD content (NTSC or PAL).
Seems that the first detection is correct, but then every video afterwards reuses the first detection. If you restart the media player, the first detection after that will be correct again. Will be fixed in the next build.

yesgrey
7th June 2011, 21:58
There is indeed a REC.709 gamut, but to avoid confusion it's better to call it HDTV.

OTOH, there is no REC.601 gamut...NTSC SD is always using SMPTE-C.

As you can see in this animated gif (http://www.homecinema-fr.com/forum/download/file.php?id=54246), sRGB/REC.709/HDTV are several names for the very same gamut...and "PAL" should really read "EBU". There's no "PAL" gamut per se.
@yesgrey?
Yes, the real name of the primaries set is not PAL, but I still think we should call it PAL. Everybody knows what is PAL, but very few know what is EBU. Furthermore, even DVDs use the word PAL, where to be more exact the word PAL should be used only for analog broadcast... and if PAL use those primaries, there's nothing wrong in naming them like that.

madshi
7th June 2011, 22:24
madVR v0.65 released

http://madshi.net/madVR.zip

* fixed: decode matrix + source primaries detection only worked once
* fixed: yet another bug in the automatic display changer
I hope that the display mode changer will now finally work. It seems that GPUs require modes to be named 1080i29 instead of 1080i59. I have removed matching support for 1080i59 now. Hopefully that won't break anything.

Ok, probably last version for a couple of days.

leeperry
7th June 2011, 22:28
well, European BD's are known/said to use the EBU gamut(even though they're 23.976)...they're not quite "PAL" ;)

anyway, maybe it'd be a good idea to have a thread about calibration related to mVR, not technically related to yCMS...simply about discussing how to get the most out of mVR for HTPC purposes. I already told madshi that I would be happy to make a FAQ about that: what's the best/most affordable colorimeter, where to get the gamut coordinates, what to aim for, etc etc.

I believe there isn't much interest in gamut mapping atm because most ppl dunno what they're missing...it's like Reclock, once you've watched a movie in 24.000fps in the right gamut: hell breaks loose :D

Dumbing down "EBU Tech. 3213 (http://www.google.com/search?hl=en&source=hp&q=EBU+Tech.+3213&aq=f&aqi=&aql=&oq=)" to "PAL" is not going to help anyone IMHO. A proper FAQ w/ the right terms will be about learning ppl how to fish, more than anything else.

Anyway, I plan on creating a 100MB ramdisk (again) to host the new LUT..I want to leave the gamut on SMPTE-C and the decoding matrix on BT.709. I guess these options will be remembered? I'll manually switch to HDTV when need be(I don't really care for EBU, as I seldom watch european stuff). I will keep the "settings.bin" read only so it'll always revert to SMPTE-C when I close the player...hopefully mVR won't try reading the registry.

I guess my last problem is that I feed PC levels to mVR?! But I'll try some test patterns to ensure that everything's cool :o