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

SamuelMaki
13th November 2011, 18:50
Can you bitstream DTS with ReClock?

Check "accept bitstream formats", and "set 24-bit padded in 32-bit" and "same as input" for the sample rate... You must configure LAV/ffdshow audio to send bitstream over hdmi/spdif...

And use WASAPI/Kernel Streaming...

pacemaker1000
13th November 2011, 19:09
You need to use ReClock with WASAPI output (or another renderer with WASAPI output, which don't really exist), only then HDMI will switch automatically between stereo and 5.1, and your receiver can apply its processing.

i was afraid of that

trouble is i find that with Reclock i get dropped frames

SamuriHL
13th November 2011, 19:25
Another alternative is JRiver MC17. It has ReClock like abilities and has WASAPI mode for audio. I'm no longer using ReClock in my setup and relying on MC17 to keep things in sync. It works extremely well.

pacemaker1000
13th November 2011, 21:25
OK giving Reclock another go!
repeat frame with reclock goes from hours to seconds/minutes although i dont see the dropped frame counter moving which is weird
As informed by Nev everything now works ok with hmdi set to 2ch in playback config setting
will see how this pans out

off subject i know but any idea why TMT only outputs 2ch into Reclock? only setting where i get sound is with mix to uncompressed audio?
edit
answering my own question TMT only sees what hdmi is set to 2o that explains why its 2ch. pity as it works well and smooth,. only way to get 5.1 without changing the hdmi setting is to use onboard sound card. works but stutters. damn are all these thing designed for it not to work?

jmone
13th November 2011, 21:27
Another alternative is JRiver MC17. It has ReClock like abilities and has WASAPI mode for audio. I'm no longer using ReClock in my setup and relying on MC17 to keep things in sync. It works extremely well.

MC's "Video Clock" was developed to not only give the same features of ReClock but with advise and guidance of madshi with the dev process actaully reads video clock timing from madVR itself.

SamuriHL
13th November 2011, 21:33
MC's "Video Clock" was developed to not only give the same features of ReClock but with advise and guidance of madshi with the dev process actaully reads video clock timing from madVR itself.

That would explain why it works so well. Sweet. I haven't been using ReClock for a while now. The Video Clock feature provides everything I need.

dansrfe
14th November 2011, 03:36
I sincerely cannot wait for madVR v1.0 so that I can donate for the continued development and support of this superior renderer.

nx6
14th November 2011, 08:14
I'm eagarly awaiting for DVD playback to work with it in Win 7 and above (without DLL hacks).

If I'd known about MadVR I wouldn't have bought an upconverting DVD player when my old one broke down. I couldn't find a video player that gave me a satisfying picture on my HD display when I used my PC for DVD playback unless I used commercial DVD playback software, and they cost more than I spent on the upscaling stand-alone Sony player I ended up buying instead. But using MadVR with Zoom Player or MPC gives me a picture that easily rivals it. I'm not sure why Haali's didn't work. It's the picture render I was using for all my video files at the time and they looked great, but for some reason DVDs played back with Haali's looked very blurry.

dansrfe
14th November 2011, 08:39
^ Have you tried dslibdvdnav on sourceforge? It works without replacing any system dlls.

nx6
14th November 2011, 09:05
No, but I have been following the convo in the "Open Source DirectShow DVD Navigator" thread. I was getting the impression the project discussed there was abandoned and everyone had gone off and done their own thing for individual players/media center frontends.

ryrynz
14th November 2011, 10:05
I sincerely cannot wait for madVR v1.0 so that I can donate for the continued development and support of this superior renderer.

With ya on that, I'm really waiting for the better upscaling algorithms which will probably come right when it hits 1.0.
I wonder if Madshi plans to create a paid build with extra features?

THX-UltraII
14th November 2011, 11:22
That would explain why it works so well. Sweet. I haven't been using ReClock for a while now. The Video Clock feature provides everything I need.
Is this video clock feature a part of the internal media player of mc17?

jmone
14th November 2011, 11:33
Is this video clock feature a part of the internal media player of mc17?

Yup - just check the box in Tools --> Options --> Video --> General Video Settings --> Video Clock

Budtz
14th November 2011, 16:21
I have madvr set to present 12 frames in advance. The queue starts out at 11-12 then slowly over time it drops to about 1-3. Is this normal? I have a very fast pc btw so it should not be lack of power. Also I seem to get a dropped frame or something every half an hour. But madvr does not report any dropped frames or glithces. Does this mean my tv is dropping frames? I have noticed it also happens sometimes with my blyray player. but not when wathing tv. Its a brand new samsung tv. seems strange that it can't show a simple movie without messing it up.

6233638
14th November 2011, 19:20
Out of interest, is there any way to get madVR working with 3D Blu-rays? I've tried playing one in MPC-HC, and it just displays in 2D?

I didn't really care before, as 3D isn't very good on my LCD but I hope to get one of those new Sony OLED 3D headsets soon.


I'm eagarly awaiting for DVD playback to work with it in Win 7 and above (without DLL hacks).With a filter list of:LAV Splitter Source
LAV Audio Decoder
ffdshow Video Decoder (make sure that "DVD decoding" is checked for the MPEG2 codec)You should be able to play DVDs with madVR in MPC-HC using the "open disc" command. (set madVR as the video renderer, and I use ReClock for the audio renderer)

In ffdshow's video output options, make sure the only supported colorspaces are YV12/NV12 and the "set interlaced flag in output media type" is enabled.

Edit: looks like LAV Splitter isn't necessary for DVDs.
My full filter list is currently:LAV Splitter Source
LAV Video Decoder (with CUDA enabled)
LAV Audio Decoder
ffdshow Audio Processor (to downmix audio)
ffdshow Video Decoder (DVD Playback only)

THX-UltraII
14th November 2011, 20:19
And is the mc17 internal player just as good asmpchc and can madvr and lav filters be used?

6233638
14th November 2011, 20:29
And is the mc17 internal player just as good asmpchc and can madvr and lav filters be used?I tried this out last night after hearing that it uses the madVR video clock for sync, rather than its own calculated sync as ReClock does. It seemed pretty good, but the UI for configuring things was fairly complex, and I didn't see a way to check that audio was being decoded correctly, for example.

The biggest issue I had was that it runs madVR in windowed mode so that they can use their own player controls for video files (which I personally thought were rather ugly) and I still have the problem where changing resolution on file launch has madVR playing back everything at what appears to be half the framerate or less in windowed mode until I bring up the madVR preferences dialogue or go into FSE.

When you enable fullscreen exclusive mode, the madVR seek bar doesn't work in their player, and mousing to the edge kicks you back to windowed mode.


The main reason I decided to try it out though, was their mention of advanced downmixing and crossfeed functions for headphone use (I only use headphones) but those controls don't seem to apply with Blu-ray playback.


Edit: Oh, and when I uninstalled it, it removed ffdshow from my system which I wasn't too happy about.

dansrfe
14th November 2011, 20:52
Out of interest, is there any way to get madVR working with 3D Blu-rays? I've tried playing one in MPC-HC, and it just displays in 2D?

I didn't really care before, as 3D isn't very good on my LCD but I hope to get one of those new Sony OLED 3D headsets soon.


With a filter list of:LAV Splitter Source
LAV Audio Decoder
ffdshow Video Decoder (make sure that "DVD decoding" is checked for the MPEG2 codec)You should be able to play DVDs with madVR in MPC-HC using the "open disc" command. (set madVR as the video renderer, and I use ReClock for the audio renderer)

In ffdshow's video output options, make sure the only supported colorspaces are YV12/NV12 and the "set interlaced flag in output media type" is enabled.

Edit: looks like LAV Splitter isn't necessary for DVDs.
My full filter list is currently:LAV Splitter Source
LAV Video Decoder (with CUDA enabled)
LAV Audio Decoder
ffdshow Audio Processor (to downmix audio)
ffdshow Video Decoder (DVD Playback only)

LAV Splitter Source does not "split" IFO titles and playback DVD's. The only navigation filters that can do that are MS's qdvd.dll, libdvdnav, and dslibdvdnav. Of the three dslibdvdnav seems to fix a couple of problems that MS's nav filter has had forever. Yet it still has some bugs to work out.

Gser
14th November 2011, 21:47
Not smooth. Every other frame is doubled.

I am experiencing the same thing with my 5870. No bobbed deinterlacing.

THX-UltraII
14th November 2011, 22:11
And is the mc17 internal player just as good asmpchc and can madvr and lav filters be used?

SamuriHL
14th November 2011, 22:15
Didn't you already post that question? :) IMO, the MC17 player is better than anything else out there for a variety of reasons. First, they developed their own subtitle renderer that works with madVR. Second, they have their own private copies of madVR, LAV Filters, and ffdshow and if you use their Red October feature, will automagically configure each one for you. (I agree with whoever said the madVR defaults aren't sufficient. I've made that point to JRiver, as well, and hopefully they will change it at some point. Window mode no workie for me either, but, I override their defaults with my own. ;)) Anyway, madshi and Nev have both worked with the JRiver developers to make their product work exceptionally well with LAV Filter and madVR.

madshi
14th November 2011, 22:23
I found it interesting that madVR says "deinterlacing off (framerate)", when using the internal decoder, and reports the framerate as 59.940

[...]

BTW: The issue with madVR reporting 59.940 only happens with the internal madVR decoder and Haali. Using the internal decoder with LAV Splitter shows a framerate of 29.970 (but the non-smoothness is still present).
Which Haali version are you using? I've tried the current from Haali's own homepage and also the one shipping with CoreAVC 3.0.1. I can't reproduce this problem with either Haali version. Are you using a different one? If so, can you check whether the problem goes away with the latest Haali version?

robpdotcom
14th November 2011, 23:52
Which Haali version are you using? I've tried the current from Haali's own homepage and also the one shipping with CoreAVC 3.0.1. I can't reproduce this problem with either Haali version. Are you using a different one? If so, can you check whether the problem goes away with the latest Haali version?

Sorry madshi, the problem was with the files. Running them through eac3to revealed that the container framerate was wrong. :(

I think I used the same program to edit/mux several files - which just happened to be files I was using to test the new deinterlacing feature.

Again, sorry for the mistake.

jmone
15th November 2011, 01:29
I tried this out last night after hearing that it uses the madVR video clock for sync, rather than its own calculated sync as ReClock does. It seemed pretty good, but the UI for configuring things was fairly complex, and I didn't see a way to check that audio was being decoded correctly, for example.

Yup there is alot packed in MC17 and finding it all for a newbie is not easy. If you bring up the DSP you can see how the audio is being decoded and the various processing that can be applied. You need to add the arcsoft dtsdecoderdll.dll if you want full DTS-HD decoding but apart from that it is all good.

The biggest issue I had was that it runs madVR in windowed mode so that they can use their own player controls for video files (which I personally thought were rather ugly) and I still have the problem where changing resolution on file launch has madVR playing back everything at what appears to be half the framerate or less in windowed mode until I bring up the madVR preferences dialog or go into FSE.
Most of us just change it to FSE mode by right clicking on the playing video --> Direct Show Filters --> madvr and config as you like. The issues with Windowed mode have been raised by the devs of MC with madshi.

When you enable fullscreen exclusive mode, the madVR seek bar doesn't work in their player, and mousing to the edge kicks you back to windowed mode.
When playing the video in MC17 try using the arrow keys and it will bring up a seek bar, title, chapter, stream selection etc etc and it works in both Windowed and FSE mode (specifically written to work with madvr in FSE).

The main reason I decided to try it out though, was their mention of advanced downmixing and crossfeed functions for headphone use (I only use headphones) but those controls don't seem to apply with Blu-ray playback.
Any decoded audio (regardless of source) is pushed through the DSP as long as Tools --> Options --> Video --> General Video Settings --> Bitstreaming is set to "None" and Tools --> Options --> Video --> Advanced --> Audio playback device: Same as device used in audio playback. These are both the default settings so the DSP should be active (and you can bring it up while playing and see it working).


Edit: Oh, and when I uninstalled it, it removed ffdshow from my system which I wasn't too happy about. Now this one I don't get as MC does not install FFDSHOW, it does put a copy in C:\Users\[USER NAME]\AppData\Roaming\J River\Media Center 17\Plugins\ffdshow but it calls it programatically like the other filters and does not rely on it being "installed". Edit - also with developments in madVR and LAV Video I don't know how long FFDSHOW will still be used....

6233638
15th November 2011, 03:36
Thanks for the reply, looks like I missed a couple of things then, I'll give it another try. It was telling me that it couldn't apply any of the DSP settings to current playback.
It may not have uninstalled ffdshow, but unregistered it? It was no longer showing up in MPC-HC after I uninstalled MC17.

I'm definitely interested in trying the headphone-related features, and it will be good if it works well as a library manager for films. I've yet to find anything for that, that I have liked using.

jmone
15th November 2011, 04:34
It should not have unregistered FFDSHOW either. The only think it does is add some registry entries about the custom profile to load but who knows, I've not uninstalled it to test!

Also with the DSP, all things can be setup while nothing is playing, though some things can also be changed dynamically during playback so you can hear the effect. Items that can not be changed during playback is stuff like Output Format (makes sence really).

dansrfe
15th November 2011, 05:43
madshi,

I'm not sure if you've recently read this thread: http://forum.doom9.org/showthread.php?t=153191&page=6 but it is bringing up some interesting point about solving the whole DVD navigation situation and refresh rates so please take a look when you get a chance.

Thanks!

Mark Regalo
15th November 2011, 07:44
I seem to have a problem with minimizing MPC-HC and the video catching up to the audio. The audio also stops after a couple of mins when minimized.

Alek93j
15th November 2011, 10:04
I have two question:
1)What exactly do the new parameter "scale linar light", when should i use it?
2)Use SoftCubic 70/80 for chroma upscaling look very good and it remove a lot of banding, i wonder if there is a way for obtain the same result with avisynth, maybe it can replace gradfun3 for lower bitrate encoding.

Edit: Sorry i didn't notice than it remove banding with any resize, anyway the "debanding" result look interesting to me.

LigH
15th November 2011, 10:18
If I use madVR in MPC-HC, the OSD font size is twice as large as with other renderers. Which of both would be responsible for the prevention of this issue?

Newer MPC-HC versions ask madVR to draw the OSD, so if the OSD has a too big font size for your taste, you'll have to blame madVR.

So I do here. :)

I guess madVR doesn't apply a downsampling on the OSD. The background "box" looks aliased too (pixel stairs around the border).

For a comparison: "Arial 10" rendered in madVR and in VMR9 (Windows XP SP3); MPC-HC 1.5.3.3757, madVR 0.78

http://www.ligh.de/pics/madVR_OSD.png
http://www.ligh.de/pics/VMR9_OSD.png

nevcairiel
15th November 2011, 10:46
For a comparison: "Arial 10" rendered in madVR and in VMR9

The MPC-HC font setting has no influence whatsoever on madVR. MPC-HC just tells madVR to draw the text (just text, no formatting), and madVR then does using its default font.

PS:
regarding aliasing - its obviously easier to avoid if you have a square instead of something round. :)

nx6
15th November 2011, 11:37
Is there a way to turn off the "Exclusive/Windowed" message at the top left whenever control+shift is used? ( shows up for a few seconds )
I'm not getting this message anymore. Was it removed or am I just staying in Windowed mode when I go to full screen now? I used to see it but I haven't seen it in either Zoom Player or MPC-HC since v 0.77

iSeries
15th November 2011, 14:15
Hi Madshi,

Could you please check this log file: http://www.mediafire.com/?c5g5035cq4thwbp

MadVR is dropping crazy amounts of frames when playing index.bdmv or mpls files. Playing an m2ts directly or an mkv plays perfectly.

mr.duck
15th November 2011, 17:39
http://www.ligh.de/pics/madVR_OSD.png
http://www.ligh.de/pics/VMR9_OSD.png

I much prefer the MPC-HC OSD. Calibri size 20. Clean, clear, beautiful. I wish madVR OSD was exactly like the MPC one. Just my opinion though. I know some people think the madVR OSD looks better.

hissatsu
15th November 2011, 17:52
It should not have unregistered FFDSHOW either. The only think it does is add some registry entries about the custom profile to load but who knows, I've not uninstalled it to test!


I can confirm that it does unregister ffdshow on uninstall. Rather annoying behavior.

leeperry
15th November 2011, 17:57
BTW, deinterlacing cannot work on XPSP3 I guess? DXVA2 deinterlacing in LAVVideo gives instant BSOD's, so I didn't venture trying :o

I know some people think the madVR OSD looks better.
I know some ppl *HATE* OSD's http://forum-images.hardware.fr/images/perso/tang.gif

jmone
15th November 2011, 20:52
I can confirm that it does unregister ffdshow on uninstall. Rather annoying behavior.

Ill report it to them

jmone
15th November 2011, 22:52
I can confirm that it does unregister ffdshow on uninstall. Rather annoying behavior.

Thanks, Prob has been confirmed and will be fixed.

madshi
15th November 2011, 23:18
The "queues" version seems to fix it! All queues are equal to 0.77 and no dropped or delayed frames.
The other three versions are same as 0.78.

I noticed that this version is back to a decoder queue of 8. Interesting how that can affect the following queues when the decoder queue with 12 was always full too. Or did you change more than just the queue size in that special version?
The new v0.79 allows you to specify the queue sizes you want. Please double check whether 12/8 still makes problems. If so, you can experiment with other size combinations, too. Would be interesting to hear what you find out.

Seems to work mostly as intended for Intel HD3000 but I've only tested with a MPEG2 60i SD source so far, MPC-HC DXVA decoder used.
Some unexpected behavior: When i hit ctrl+shift+alt+d I see no combing yet the annotation says de-interlacing is off.
Log for "deinterlacing failed" message on Intel HD graphics: http://www.mediafire.com/?n8o0jz0umd4xqw1
I've tested v0.79 on my Sandy Bridge laptop and deinterlacing appears to work just fine. Tested with the 1080i60 Cheese Slices AVSForum test video. Can you please retest with v0.79?

so what could be the cause that deinterlacing, at least for AVC, does not work smoothly, when the decoder queue is ~half full and GPU load is only at 75% max?
radeon HD 4770. resolution of that video was 1080i. but its the same for a 1080p video for example. or with 720p or 320x200.
I've (for other reasons) replaced my HD 6850 with a HD 4770 today, and for me deinterlacing the 1080i60 Cheese Slices from AVSForum works just fine with the 4770, even with Lanczos4 up/downscaling. Not sure what's going on on your PC. Have you tried resetting madVR to default settings?

I have some issues with PC Levels.

Using the Clipping Pattern of Spears & Munsil High-Definition Benchmark (http://www.amazon.de/Spears-Munsil-High-Definition-Kalibrierungs-Videoprozessoren/dp/B003LQPTWY/ref=sr_1_1?ie=UTF8&qid=1321052262&sr=8-1)

Test pattern could be found here (http://www.mediafire.com/?w1ug1ddo5jhdbsm)

I tried this pattern using nVidia & ATI cards, in either case PC levels failed the test
Can you describe in more details what you were testing with which GPU and madVR settings? Also what did you expect to see and what did you actually see?

I ran a couple of quick scenarios:
Aero ON
1080i Windowed: GPU=72% MB=889
1080i Exclusive: GPU=37% MB=955
24p Windowed: GPU=23% MB=541
24p Exclusive: GPU=11% MB=543

Aero OFF
1080i Windowed: GPU=56% MB=789
1080i Exclusive: GPU=34% MB=843
24p Windowed: GPU=22% MB=467
24p Exclusive: GPU=9% MB=406
Very good tests, thanks! Please retest with v0.79, which has significantly reduced the deinterlacing GPU RAM consumption, and also a bit the progressive GPU RAM consumption.

With v0.79 I think a 512MB GPU should be good enough for madVR. However, having 1024MB will allow you to double the queue sizes, when using v0.79.

@madshi

i am really enjoying your 4K/MTF/35mm conversation in AVSforum
:D

I have maybe a problem with the presentation queue... Now with 0.78 version presentation queue is 0-3/4, when 0.77 reports 3-4/4 all the time... I do not have any presentation qlitches or dropped frames thought... So, what is the problem, or is there any problem with ctrl+j reporting? I am using radeon hd 5650...
Please retry with v0.79. If it still occurs, try setting the queue sizes to 8 both.

Not smooth. Every other frame is doubled.
I am experiencing the same thing with my 5870. No bobbed deinterlacing.
I've now tried with both HD 6850 and HD 4770 in win7 x64 with the latest 11.10 drivers and I can't reproduce the problem. Deinterlacing works perfectly fine for me. I've tested with v0.79, though. So please retest with v0.79, too. But I don't have much hope right now. If it still fails for you with v0.79 then we'll have to do some more logging.

Please have a look at this sample http://dl.dropbox.com/u/43376972/Movie%20deinterlacing.mkv
This is SD PAL movie (film content) in .mkv container.

If it is DXVA deinterlaced, we have a lot of shimmering and little movements (look at white roof and the combaine).
If DXVA deinterlacing is off (plain weaving?), picture is very stable.
Thanks, that's a good sample. I suppose the same image quality problems also occur with EVR, right?

But it is film content, and when "deinterlacing is off" ((cntrl+alt+shift+d) picture is OK.
What do you mean by fake-interlaced? Any PAL film content in DVD is fake-interlaced? And DXVA deinterlacer can not detect film content?
The problem is that DXVA has to "do it all". It has to detect whether the content is video or film type and has to deinterlace correctly both types. Automatically, without user intervention. Add to that that DXVA has to do it *per pixel*. This is really difficult stuff and so it's understandable that it doesn't always work perfectly. Especially with PAL content it is really hard to get this right. With PAL movies probably your best bet is to try first to disable deinterlacing. If it looks fine, keep it that way. Otherwise enable deinterlacing.

When I paused the player with madVR 0.78 window (don't know about older version and I don't use exclusive mode), the MPCHC (tested on 3824) still uses 2-5% (Core i5-2400) on madVR thread. Is there something wrong? I'm using it with LAV Splitter and LAV Video 0.39.
That's a known problem for some users. Unfortunately it doesn't occur on my PC, so I don't know right now what to do about it. I've implemented a little change in v0.79, though, which *may* help (but I rather doubt it). So you can retest this with v0.79.

I sincerely cannot wait for madVR v1.0 so that I can donate for the continued development and support of this superior renderer.
:)

If I'd known about MadVR I wouldn't have bought an upconverting DVD player when my old one broke down. I couldn't find a video player that gave me a satisfying picture on my HD display when I used my PC for DVD playback unless I used commercial DVD playback software, and they cost more than I spent on the upscaling stand-alone Sony player I ended up buying instead. But using MadVR with Zoom Player or MPC gives me a picture that easily rivals it. I'm not sure why Haali's didn't work. It's the picture render I was using for all my video files at the time and they looked great, but for some reason DVDs played back with Haali's looked very blurry.
Good to hear.

I wonder if Madshi plans to create a paid build with extra features?
Not decided yet.

I have madvr set to present 12 frames in advance. The queue starts out at 11-12 then slowly over time it drops to about 1-3. Is this normal? I have a very fast pc btw so it should not be lack of power.
What about the other queues? Are they all full? Which GPU do you have? Which OS? Does this happen with both SD and HD content? With and without deinterlacing?

Also I seem to get a dropped frame or something every half an hour. But madvr does not report any dropped frames or glithces. Does this mean my tv is dropping frames? I have noticed it also happens sometimes with my blyray player. but not when wathing tv. Its a brand new samsung tv. seems strange that it can't show a simple movie without messing it up.
Normally madVR does report dropped frames reliably. It is possible that your TV expects a very specific refresh rate and drops or repeats a frame once in a while if the refresh rate it receives differs too much. You could try tuning your GPU's refresh rate to better match what your display wants.

Are you using Reclock? If so, try turning it off for a while and try to get madVR to work without any frame drops with Reclock turned off. That should help you get to the refresh rate your display wants. Once you're there, you can turn Reclock on again.

Of course I'm only guessing here. It's also possible that your TV is innocent and that frame gets dropped in your HTPC, without madVR noticing it.

Out of interest, is there any way to get madVR working with 3D Blu-rays?
Not yet. One of the many things on my to do list.

I'm not sure if you've recently read this thread: http://forum.doom9.org/showthread.php?t=153191&page=6 but it is bringing up some interesting point about solving the whole DVD navigation situation and refresh rates so please take a look when you get a chance.
Looking into DVD playback is on my to do list. But I can only do one thing at a time. Please have patience until DVD playback is my top priority.

I seem to have a problem with minimizing MPC-HC and the video catching up to the audio. The audio also stops after a couple of mins when minimized.
Please try v0.79, I think it will fix this problem.

1)What exactly do the new parameter "scale linar light", when should i use it?
Scaling in linear light is scientifically more exact, but it comes at a small performance cost and also brings its own problems. I would suggest to leave it off for upscaling. Whether you want to use it for downscaling or not is your decision. Depends on how much you downscale. The bigger the downscaling factor the more sense linear light scaling makes. Personally, I have it generally turned off.

2)Use SoftCubic 70/80 for chroma upscaling look very good and it remove a lot of banding, i wonder if there is a way for obtain the same result with avisynth, maybe it can replace gradfun3 for lower bitrate encoding.

Edit: Sorry i didn't notice than it remove banding with any resize, anyway the "debanding" result look interesting to me.
madVR does not really "deband". What you're seeing may be a result of madVR's high bitdepth processing with a final dithering pass. This makes sure that no additional banding is added to the source. If you find that SoftCubic chroma upsampling helps image quality, you can suggest this to the AviSynth developer. It's a normal cubic kernel, just with slightly different parameters.

So I do here. :)

I guess madVR doesn't apply a downsampling on the OSD. The background "box" looks aliased too (pixel stairs around the border).
madVR currently does not allow you to specify OSD size or font. I might add such features into a future version. But for now my priority is making madVR feature complete first. Cosmetical things like changing OSD looks is pretty low on my priority list right now. You'll have to wait a while until I get to these things, I'm sorry. I hope you'll agree that things like adding post processing shader support, DVD support, DXVA deinterlacing etc are much more important things compared to changing OSD font sizes... :)

I'm not getting this message anymore. Was it removed or am I just staying in Windowed mode when I go to full screen now? I used to see it but I haven't seen it in either Zoom Player or MPC-HC since v 0.77
It was not removed. If you don't get the message then probably you have exclusive mode disabled accidently? Or maybe it stopped working for you? You can check via Ctrl+J. It tells you whether madVR is in windowed or exclusive mode.

I much prefer the MPC-HC OSD. Calibri size 20. Clean, clear, beautiful. I wish madVR OSD was exactly like the MPC one. Just my opinion though. I know some people think the madVR OSD looks better.
It's all a matter of taste, I guess. So in the end things like this may have to be customizable. But for now, I've more important things to do.

BTW, deinterlacing cannot work on XPS3 I guess? DXVA2 deinterlacing in LAVVideo gives instant BSOD's, so I didn't venture trying :o
It works perfectly fine with my HD 6850 and HD 4770 on XPSP3. Haven't tested NVidia on XPSP3 yet, but in theory it should work, too. LAVVideo does not deinterlace itself (unless you're using CUVID). Normally the renderer does the deinterlacing. CUVID is the exception.

So did you use CUVID? Or did you use software decoding?

It might be useful to cross test with EVR. Does DXVA2 deinterlacing work when using EVR on your PC? This only applies if you don't use CUVID.

Hi Madshi,

Could you please check this log file: http://www.mediafire.com/?c5g5035cq4thwbp

MadVR is dropping crazy amounts of frames when playing index.bdmv or mpls files. Playing an m2ts directly or an mkv plays perfectly.
According to the log file, the splitter outputs really bad timestamps. Often multiple frames get exactly the same timestamp. That's a splitter problem.

madshi
15th November 2011, 23:19
madVR v0.79 released

http://madshi.net/madVR.zip

* modified deinterlacing logic to save GPU RAM
* added resource manager to save GPU RAM and a little bit of GPU performance
* added information about used / total GPU RAM to debug OSD (Ctrl+J)
* added new options to choose decoder and GPU queue sizes
* added automatic adjustment of queue sizes, based on GPU RAM size
* corrected queue sizes with deinterlacing turned on (size 1 too high in v0.78)
* improved deinterlacing quality at the start of playback and after seeks
* improved the way madVR calls DXVA2 (now more similar to EVR)
* moved some eventually CPU intensive code from render to separate thread
* optimized performance of DXVA2->PixelShader texture conversion for some GPUs
* optimized internal libav decoder format conversion logic
* movie frame rate overwrite via file name now also set deinterlacing on/off
* option "perform deinterlacing in separate thread" is now "on" by default
* MPC-HC OSD text "Pausa" is now blocked (to avoid disappearing subtitles)
* fixed: source cropping (J.River MC) could result in corrupted chroma channel
* fixed: IMediaSample allocator wasn't fit for decoder queue size of 12 frames

mr.duck
15th November 2011, 23:47
Deinterlacing is now smooth!!

Gser
16th November 2011, 00:09
Deinterlacing is now smooth!!
AWESOME! Isn't it. Madshi is a genius.

Xaurus
16th November 2011, 00:15
madshi,

Thank you so much for 0.79. I will install it tomorrow in my HTPC box.

PS: I really hope you have written down my request of adding a function that displays the refresh rate or the CTRL-J screen automatically only for a limited time when a video is opened (like 10 seconds). I am sometimes paranoid so I want to keep the refresh rate where it should be. ;)

golagoda
16th November 2011, 00:17
Thanks so much for 0.79, will test it out :)

Thunderbolt8
16th November 2011, 00:18
deinterlacing is also better here now. cant say if perfectly smooth yet, but Ill report back in case I encounter problems. at least the 2 movies Ive tested so far played back fine without frame drops.

anyway, that change of brightness in exclusive mode when activating deinterlacing is still there.

and, not sure whether I observed this correctly, at least in one movie when activating deinterlacing the movements of people sometimes appear to be a bit less smooth compared to when deinterlacing is deactivated (the video itself plays smooth though). not sure whether this is normal or why this is like that.

edit: that brightness shift seems to be related to the disable desktop composition box. when unticked, the change of brightness or colour is only very minor (probably thats normal?) but when ticked, then it really looks like a PC -> TV levels change. I'd like to be able to have that box ticked, because performance increases a little that way.

Gser
16th November 2011, 00:23
deinterlacing is also better here now. cant say if perfectly smooth yet, but Ill report back in case I encounter problems.

anyway, that change of brightness in exclusive mode when activating deinterlacing is still there.

and, not sure whether I observed this correctly, at least in one movie when activating deinterlacing the movements of people sometimes appear to be a bit less smooth compared to when deinterlacing is deactivated (the video itself plays smooth though). not sure whether this is normal or why this is like that.Bobbed deinterlacing works perfectly for me but that does not mean that the deinterlacing methods provided by the GPU (which DXVA deinterlacing uses) are. One should expect to see some bob flickering and weaving artifacts once in a while depending on the complexity of the video (especially high motion parts where the difference between fields is large hence complicating the interpolation).

Thunderbolt8
16th November 2011, 00:25
hm so whats the difference here when it works perfectly for you, but apparently not (entirely perfectly) for me? a newer graphic card generation?

Gser
16th November 2011, 00:27
hm so whats the difference here when it works perfectly for you, but apparently not (entirely perfectly) for me? a newer graphic card generation?

A clip of the material would help. Deinterlacing methods have not changed in many years. I'm using amd 5870. Basically the renderer only commands the GPU to deinterlace the material, the problem being before that MadVR did not for some reason understand bobbing hence only showed duplicates.

TheShadowRunner
16th November 2011, 00:30
hi madshi, whatever you did in this mrduckPankov build corrected this bug:
Originally Posted by TheShadowRunner
Here is a debug log. I start playing a video, minimize the player for 15 seconds, then bring it back up.
When bringing it back up, I clearly see the video going uber fast to catch up with the audio.

Did you say that you were using ZoomPlayer? I don't remember that. I tried to reproduce with MPC-HC. Anyway, the problem occurs with ZoomPlayer, but not with MPC-HC. Don't know why, will investigate...

Hi madshi, sadly this bug is back with 0.79 final. (1)

2. A small cosmetic bug : the settings window name changes from "madVR settings" to "pure power curve" when "color & gamma" page is selected. But it never goes back to being "madVR settings" when other settings page are selected afterwards.

3. The ZP/slow paint/freeze on seek bug after madVR frequency switch is still there.

pankov
16th November 2011, 00:32
Both the quality and the GPU Load are back to v0.78 state
madshi,
you are THE MAN
;)
with v0.79 you've managed to keep (or even improve for some) the quality and still lower the GPU Load by 3-4%. Now it's 75-76% with the same 1080i60 sample that was using 79-80% before.
:thanks: