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

Razoola
20th March 2011, 02:40
Yes, I've pretty much given up on using MPC-HC 32-bit because of this. I'll be patient though and hopefully Madshi will have a version of MadVR with working subs for other players. :thanks: for trying to help.

Probably a silly question to ask but I'll ask it anyway as it popped into my head. Are you using the special 32bit MPC-HC builds that madshi and nevcairiel posted links to a few pages back?

fairchild
20th March 2011, 02:49
Probably a silly question to ask but I'll ask it anyway as it popped into my head. Are you using the special 32bit MPC-HC builds that madshi and nevcairiel posted links to a few pages back?

Yes, I tried those as well with the same result. It hangs on my system the moment I try to open/play any file. I have to go into the task manager to end the process because my system becomes unresponsive.

Edit: the version of MPC-HC that Madshi posted doesn't hang my system, it just stays forever on Opening, when I try to open/play any file. It's pretty weird what is screwed up in my system and why the 32-bit version won't run. If there was some way I could debug this I would but I have no clue how or if it can be done.

Razoola
20th March 2011, 03:03
Yes, I tried those as well with the same result. It hangs on my system the moment I try to open/play any file. I have to go into the task manager to end the process because my system becomes unresponsive.

Edit: the version of MPC-HC that Madshi posted doesn't hang my system, it just stays forever on Opening, when I try to open/play any file. It's pretty weird what is screwed up in my system and why the 32-bit version won't run. If there was some way I could debug this I would but I have no clue how or if it can be done.

Maybe a madVR log file might help madshi from this point.

fairchild
20th March 2011, 03:09
Maybe a madVR log file might help madshi from this point.

The player doesn't get to the point where it even opens the file and loads all the decoders, renderers, filters etc. So it's not even connecting to MadVR for it to create a log. It's just majorly borked and won't do anything.

jmone
20th March 2011, 04:22
FYI - Had to rollback to V43 from the new V45 as I was getting Black Screens and a non response MC (but Audio would play on). Let me know if you want JR or madVR Logs.

(cross post at J.River Media Center Beta Forum)

Hypernova
20th March 2011, 04:24
madVR v0.44 released

http://madshi.net/madVR.zip

* fixed ZoomPlayer OSD graphical corruption problem (again)
* fixed bug in OSD text message handling
* added support for subtitle rendering through ISubRenderCallback
http://forum.madshi.net/images/smilies/icon_redBalloon.gifhttp://forum.madshi.net/images/smilies/icon_greenBalloon.gifhttp://forum.madshi.net/images/smilies/icon_blueBalloon.gif

The MPC-HC subtitle renderer now fully works with madVR! However, I had to fix a couple of bugs in MPC-HC to make it work properly. Furthermore I've patched MPC-HC so that it now draws its text messages by using madVR's internal OSD text message system. My bugfixes are already committed to the MPC-HC SVN, so all new SVN builds compiled by other people should also work just fine with madVR v0.44. For your convenience I've uploaded a fixed MPC-HC executable file here:

http://madshi.net/mpc-hc.zip

Enjoy!

Oh yesssssssssss! I was thinking that I should not get any hope on subtitle since I hear nothing from you and you said you're busy fixing bug, so I tried not to ask you about it either, but my biggest thing in madVR wishlist is finally done! Woohoo, I'm so testing this right away. Sorry I have to post to get my excitement out. :)

blaster00
20th March 2011, 04:33
Any chance of x64 version?

Hypernova
20th March 2011, 04:46
OK, I have problem to report. I'm using the same file as ranpha as reference.

I have the "Position..." option fully enable. In fullscreen exclusive mode, if I do something so madVR has to switch out of exclusive mode, the subtitle will go outside of the video frame as if the "Position..." option is disabled. It won't go back even when madVR switched back to exclusive mode.

Other than that it works great, outside of squeezed text which also happen in EVR. :thanks:

Edit: Kinda obvious but I should say that if I disable exclusive mode altogether then there is no problem, which is what I'll be doing right now.

Edit2: I use MPC-HC 2990 Black edition from xvidvideo.ru, but I also double check with your version to make sure and it does the same thing.

foxyshadis
20th March 2011, 05:56
Anyways, I digress this is just something screwed up in my Win7 install and I don't want to format and reinstall just to run mpc-hc 32-bit. My problems on my system are running the new version of MadVR with potplayer. If there is another 32-bit media player that runs reclock and madvr fine and has the new subtitle support I'd be willing to try that. :)

Most MPC crashes actually come from codecs. Do you check the "module" in the crash report? That should give you an idea of where to start, but some codecs corrupt memory in such a way that the crash comes in another module. Lots of crash dumps combined with a debugger usually helps; you can collect and post a 7z in case someone has the time to check out why. Please make another thread if you do, though.

fairchild
20th March 2011, 07:07
Most MPC crashes actually come from codecs. Do you check the "module" in the crash report? That should give you an idea of where to start, but some codecs corrupt memory in such a way that the crash comes in another module. Lots of crash dumps combined with a debugger usually helps; you can collect and post a 7z in case someone has the time to check out why. Please make another thread if you do, though.

There is no crash report generated, so I have nothing to check. I've tried using all the stock decoders and filters as well as configuring it to use ffdshow same as the other media player I use, but same results.

I have tried requesting support back in november, but I was just directed to this page and told to delete some registry entries and any residual files which I did, but that never helped.

http://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelines

madshi
20th March 2011, 09:21
I expected the next version to be related to fullscreen exclusive mode.
Me, too... :eek:

I have had a play with subtitles and problems are coming here if I seek forwards and backwards a single movie file, it dosent happen all the time but most times it does. It basically continues the subtitles without taking into account I have seeked to an earlier point in the movie. I quickly checked with the EVR renderer to confirm it does not happen there.
I can't seem to reproduce that here. Can you create a log file for me, please? Please try to reproduce the problem with only one seek. If you can't in the first try, please delete the log, close MPC-HC and try again. Having only one seek in the log file would help saving time for me. Thanks.

this hopefully means subtitle support for all players may be coming. :)
All players which support "ISubRenderCallback" (which is the method used by MPC-HC's internal subtitle renderer) should work just fine with madVR now - except some players may need a bugfix or two.

Anyways this new version is spitting out this error and locks up my player randomly and I have to go into the task manager and end the task. Also sometimes it loads, but when I try to go fullscreen and enter exclusive mode it spits this error out:

MadVR reports:
-resetting Direct3D device failed (8876086c)

I've tried un-registering, deleting all files, reinstalling, re-registering and same thing. I haven't changed any MadVR settings, they are all at default when I install fresh. I tried disabling reclock so basically it's just potplayer's splitters for everything but MKV and ffdshow for decoding. If I roll back to the previous version I was using 0.43 everything works again.

I'm using the config in my sig. Is this update just designed for MPC-HC and that's why it's not working for me since I'm trying to use it with PotPlayer.

Basically for some reason on my system it's just not working.
The reason is a bug in PotPlayer. The same bug I already fixed myself in MPC-HC. Basically madVR is calling "ISubRenderCallback.SetDevice(NULL)" to release all subtitle Direct3D resources, and PotPlayer ignores the command. madVR can not reset the Direct3D device while there are still active D3D resources, so that's where the problem is coming from. This needs to be fixed by the PotPlayer developer. If he wants to have it easy, he can just double check how I fixed the problem in MPC-HC. See here:

http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc?revision=2988&view=revision

Wow never knew you were so dangerous! :)
:( Can you please complain to Trend Micro? Thanks!!

FYI - Had to rollback to V43 from the new V45 as I was getting Black Screens and a non response MC (but Audio would play on). Let me know if you want JR or madVR Logs.

(cross post at J.River Media Center Beta Forum)
Hmmmm... It works for me here!

Any chance of x64 version?
What would you need that for? The x86 version works just fine on 64bit OSs.

OK, I have problem to report. I'm using the same file as ranpha as reference.

I have the "Position..." option fully enable. In fullscreen exclusive mode, if I do something so madVR has to switch out of exclusive mode, the subtitle will go outside of the video frame as if the "Position..." option is disabled. It won't go back even when madVR switched back to exclusive mode.

Other than that it works great, outside of squeezed text which also happen in EVR. :thanks:

Edit: Kinda obvious but I should say that if I disable exclusive mode altogether then there is no problem, which is what I'll be doing right now.
This makes the 3rd reported subtitle problem I can't reproduce on my PC... :( Which zoom/aspect ratio etc settings are you using in MPC-HC when you experience this problem?

namaiki
20th March 2011, 09:26
This makes the 3rd reported subtitle problem I can't reproduce on my PC... :( Which zoom/aspect ratio etc settings are you using in MPC-HC when you experience this problem?

madshi, did you test on Windows 7/Aero? (if related at all :/)

madshi
20th March 2011, 09:32
No, I didn't test on win7/Aero, but I don't think it has anything to do with that. E.g. rendering the subtitles at the wrong position is a "logic bug" which should be OS/Aero independent.

neb1236
20th March 2011, 10:19
Thanks a lot for the subtitle rendering support madshi, good work.
Some threads before someone talked about a proportion bug, this bug is about video that don't have a 1:1 Pixel aspect ratio.
http://sourceforge.net/apps/trac/mpc-hc/ticket/60 here it is, if anyone could fix it since mph-hc team doesn’t want to work on it. Grab the test case at the end of the ticket for easy understanding.
Of course non 1:1 PAR video are getting very rare, and the problem can be solved by writing the ASS script without PAR compensation.

Razoola
20th March 2011, 10:24
Here is a log, http://unibios.free.fr/madlog.rar

Just to give some specs, Im on Win7x64SP1. After the single seek forward the subs are display way out of sync.

madshi
20th March 2011, 10:40
Oh well, can't see much wrong in that log. Anyway, I'll try a different syncing mechanism in the next build, maybe it will work better.

Razoola
20th March 2011, 10:44
Oh well, can't see much wrong in that log. Anyway, I'll try a different syncing mechanism in the next build, maybe it will work better.

Here is a screenshot that shows the problem clearly Bottom subtitle is madVR, top is ffdshow with a manual placement. This is only happening with external subtitles (in sub /srt files), those within mkv are working fine.

http://unibios.free.fr/subtitle.jpg

jmone
20th March 2011, 11:10
Not that this helps - but subs have worked for me in this and earlier versions of madVR in JR MC using LAVSplitter, FFDSHOW (with Subs Selected) and madVR just fine

jmone
20th March 2011, 11:15
:( Can you please complain to Trend Micro? Thanks!!

Done - O evil one :devil:

nevcairiel
20th March 2011, 11:22
Not that this helps - but subs have worked for me in this and earlier versions of madVR in JR MC using LAVSplitter, FFDSHOW (with Subs Selected) and madVR just fine

Thats because you're using ffdshow to render the subs, and not the MPC-HC sub renderer which works with every decoder. ffdshow directly pins the subs onto the decoded image, the renderer does not know about it. The MPC-HC sub renderer creates a surface with the sub information on, and relys on the renderer to merge that surface onto the picture from the decoder.

ryrynz
20th March 2011, 11:25
I found disabling allow animation while buffering in MPC improved performance on my HD4670 as it lagged when displaying subtitles with the maximum texture resolution set to desktop.
Setting texture resolution at 1280x720 also improved performance, thought I'd mention it just in case someone encountered it too.

Razoola
20th March 2011, 11:42
I have also had the situation much like thuan is seeing.

blaster00
20th March 2011, 11:54
What would you need that for? The x86 version works just fine on 64bit OSs.



I'd like to use native x64 program on x64 OSs.
MPC-HC, haali, coreavc, xvid, ffmpeg and many others were both x86 only before, but they have x64 versions now. Why waste these fine programs?

Razoola
20th March 2011, 11:57
It seems so far the three of us with sub problems are all on win7x64 systems.

jmone
20th March 2011, 12:13
Thats because you're using ffdshow to render the subs, and not the MPC-HC sub renderer which works with every decoder. ffdshow directly pins the subs onto the decoded image, the renderer does not know about it. The MPC-HC sub renderer creates a surface with the sub information on, and relys on the renderer to merge that surface onto the picture from the decoder.

Thanks, understand now. Any downside with FFDSHOW for decoding+subs if not using MPC-HC?

noee
20th March 2011, 12:17
fwiw, I'm in Win7 x64 SP1 and I don't see the sub problems you guys are seeing. HD2600XT, CCC11.2

djsolidsnake86
20th March 2011, 12:25
0.44 and 0.45 has many bugs: when i switch to fullscreen or to window the playback is stopped and i have a black screen with madvr that say resetting 3d device

namaiki
20th March 2011, 12:26
It seems so far the three of us with sub problems are all on win7x64 systems.

Are the others nVidia as well?

Razoola
20th March 2011, 12:28
Are the others nVidia as well?

not sure, I am though.

madshi
20th March 2011, 12:36
hi madshi, was wondering...I'm having a problem with MPEG2 files in PotPlayer. They play fine in VMR9, but they don't play at all in mVR. I don't even get the OSD :o

I'm sure it used to work before as I used to open .IFO files to read DVD's directly a few months ago. Now all I get is audio w/ a black screen.

I've put screenshots of the problem here: http://cafe.daum.net/pot-tool/AZMV/6960

PotP's coder tells me that it works fine for him: http://cafe.daum.net/pot-tool/AZMV/6947

We used this VOB sample: http://www.dvdloc8.com/distributorclip.php?distributorid=43&clipid=1

It seems that mVR never catches ffdshow's output for MPEG2 files on my box :confused:

I've put two mVR logs here (http://www.mediafire.com/?9sua35hbub1898u), one when I use PotP's internal MPEG2 decoder and video plays fine, and one when I use either libavcodec/libmpeg2 MPEG2 decoders in ffdshow rev.3775, and all I get is a black screen.

I'm not sure wth is going on...but it used to work before. I've done everything except rolling older versions of ffdshow, now that I think of it.
EDIT: hah! if I use ffdshow rev.3533(instead of 3775), it works perfectly: http://thumbnails34.imagebam.com/12374/55cb16123739052.jpg (http://www.imagebam.com/image/55cb16123739052)

log file available here: http://www.mediafire.com/?ww145n4g4wnp0bu

Hope you can look into it, :thanks: in advance.
I've looked into this. It seems to me that the PotPlayer internal MPEG2 PS splitter is at fault. It's a weird thing. Look at the logs yourself: Open them, then search for "madVR v0.45". This is printed into the log by madVR whenever a new madVR instance is created. In a proper log you should find the text "madVR v0.43" only once, right at the top of the log like this:

00000000 Creator Thread "Creator" = ThreadID 00001f68
00000001 Creator madVR v0.45
00000001 Creator CVideoRenderer::CreateInstance();
[...]

In some cases it's possible that the media player creates a madVR instance, destroys it and then recreates it. That's a bit weird, but also ok. That would look like this:

00000000 Creator Thread "Creator" = ThreadID 00001f68
00000001 Creator madVR v0.45
00000001 Creator CVideoRenderer::CreateInstance();
[...]
00000005 Creator CVideoRenderer destructor -> +
00000005 Creator CVideoText destructor;
00000006 Creator CVideoText destructor -> +
00000006 Creator CVideoInputPin destructor;
00000006 Creator CVideoInputPin destructor -> +
00000091 Creator madVR v0.45
00000091 Creator CVideoRenderer::CreateInstance();
[...]
You can see that madVR gets created, then destroyed, then created again. That's ok. But now look at what happens if you use PotPlayer to play back your VOB file:

00000000 Creator Thread "Creator" = ThreadID 00000ff8
00000001 Creator madVR v0.45
00000001 Creator CVideoRenderer::CreateInstance();
[...]
00000098 Creator CVideoRenderer::GetPin(0);
00000098 Creator CVideoRenderer::GetPin() -> +
00000098 Creator CVideoRenderer::GetPin(0);
00000098 Creator CVideoRenderer::GetPin() -> +
00000099 Creator madVR v0.45
00000099 Creator CVideoRenderer::CreateInstance();
Basically PotPlayer creates two madVR instances in this case, without properly releasing the first one before creating the 2nd one. This is currently not supported by madVR. The media player is only allowed to create one madVR instance at a time. I think that this is the cause of the problem.

I can reproduce this problem with the internal PotPlayer MPEG2 PS splitter, when using either ffdshow 3775, or also when using the NVidia MPEG2 decoder. So it's not a bug in ffdshow. The problem goes away if I force PotPlayer to use the LAV Splitter instead of the internal one. Then the log is clean and I get a proper image with both ffdshow 3775 and the NVidia decoder.

madshi
20th March 2011, 12:43
Done - O evil one :devil:
Thanks!

I'd like to use native x64 program on x64 OSs.
Why? What *practical benefit* would that bring you? Do these DirectShow filters we're talking about run faster when compiled as x64? Nope. Do they have more features? Nope. Do they have less bugs? Nope. I see no single practical reason to release an x64 version of madVR.

MPC-HC, haali, coreavc, xvid, ffmpeg and many others were both x86 only before, but they have x64 versions now. Why waste these fine programs?
Is any of these x64 versions of MPC-HC, Haali, CoreAVC etc in any way better than the x86 version? From what I have heard, nope.

I won't spend many days on creating an x64 version if there's no meaningful benefit of doing so.

Thanks, understand now. Any downside with FFDSHOW for decoding+subs if not using MPC-HC?
Yes, ffdshow subs have lower quality and less compatability. The lower quality applies especially for SD content. Because with ffdshow the subs are burned into the video *before* scaling. While with the MPC-HC internal subtitle renderer, the subs are drawn onto the video *after* scaling. Meaning that the subs have a much higher resolution with MPC-HC, when you upscale the video. Of course this doesn't apply to HD content.

0.44 and 0.45 has many bugs: when i switch to fullscreen or to window the playback is stopped and i have a black screen with madvr that say resetting 3d device
Have you read the v0.44 announcement post? The bugs are in MPC-HC and not in madVR. Use the latest MPC-HC build (2988 or newer) and the problems will go away.

adam777
20th March 2011, 13:28
madshi, top work as always!
Using 0.45 + FFDShow I'm able to use MPC HC internal subtitle renderer only when outputing NV12 from FFDShow, not YV12, is it by design?
Thanks, Adam.

DigitalLF
20th March 2011, 13:36
madshi:

on frontpage add mpc-hc 2988 to "requirements:" if mpc-hc is used... :P people seems to miss that part...

madshi
20th March 2011, 13:54
madshi, top work as always!
Using 0.45 + FFDShow I'm able to use MPC HC internal subtitle renderer only when outputing NV12 from FFDShow, not YV12, is it by design?
And the next problem I can't reproduce here... :( Works just fine for me with both YV12 and NV12. Also, I don't really see how this could be madVR related. Whether the input is YV12 or NV12 doesn't matter to madVR at all. None of madVR's features or functionalities depend in any way on the input format. madVR converts both YV12 and NV12 to some other format internally, anyway.

on frontpage add mpc-hc 2988 to "requirements:" if mpc-hc is used... :P people seems to miss that part...
I highly doubt that those people who miss that part will read the frontpage... ;)

Thunderbolt8
20th March 2011, 13:59
Ive been using directbovsub all the time so far, is the mpc-hc subtitle renderer of better quality and switching over worthwhile?

btw. little OT, does either of mpc-hc or directvobsub support blu-ray .sup subs?

leeperry
20th March 2011, 14:08
I've looked into this. It seems to me that the PotPlayer internal MPEG2 PS splitter is at fault.
The reason is a bug in PotPlayer. The same bug I already fixed myself in MPC-HC.
:thanks: for the new build, and for the tests! I've notified PotP's coder about those two glitches.

madshi
20th March 2011, 14:12
Ive been using directbovsub all the time so far, is the mpc-hc subtitle renderer of better quality and switching over worthwhile?
DirectVobSub has the same rendering quality as the internal MPC-HC subtitle renderer. However, there are 2 key differences:

(1) DirectVobSub draws on YV12/NV12 data, which means that chroma information is not very sharp (quarter of the resolution).
(2) DirectVobSub draws the subtitle *before* the video is upscaled.

MPC-HC draws the subtitles on RGB, *after* the video is upscaled. Which means higher resolution subtitles if you upscale, and sharper subtitle chroma in any case.

yesgrey
20th March 2011, 14:28
does either of mpc-hc or directvobsub support blu-ray .sup subs?
mpc-hc does. direcvobsub haven't tried.

clsid
20th March 2011, 14:29
What is the expected behavior when madVR is run on too weak hardware? Will it show an error, or will it simply fail and let the player fall back to a different renderer?
Are multiple player instances supported (given enough GPU ram)?
Are there any CPU requirements (like SSE(2))?

djsolidsnake86
20th March 2011, 14:30
ok i will update mpc thankyou madshi (sorry)

madshi
20th March 2011, 14:44
What is the expected behavior when madVR is run on too weak hardware? Will it show an error, or will it simply fail and let the player fall back to a different renderer?
If the hardware is simply too slow, madVR will "work", but it will be a slide show, because madVR drops frames very agressively if rendering can't keep up. If the hardware is not DX9 capable, madVR should (at least in theory) draw an error message to the video screen, by using simple win32 APIs which should work on any hardware.

Are multiple player instances supported (given enough GPU ram)?
Yes.

Of course fullscreen exclusive mode can only be used by one application at a time, per monitor. Haven't tried running two madVR instances on two monitors, both in exclusive mode. Might work or fail, don't know.

Are there any CPU requirements (like SSE(2))?
Not that I'd be aware of. madVR itself does not contain any CPU specific assembler code because 99% of the hard work is done via pixel shaders, anyway. So writing assembler code wouldn't bring much benefit.

The only real hard limit is that the GPU must be DX9 capable with a reasonable feature set and enough RAM. As far as I know, madVR works with all DX9 ATI, NVidia and Intel GPUs. With Intel, bilinear scaling must be used, though, otherwise playback is not smooth.

pankov
20th March 2011, 15:03
Haven't tried running two madVR instances on two monitors, both in exclusive mode. Might work or fail, don't know.
Just out of curiosity I've tried running two madVR instances in fullscreen on my two displays and the second one failed with
madVR reports:
- creating Direct3D device failed (88760868)
not dependent on the mode (windowed/exclusive).

Now this is on Win 7 x86 SP1 and AMD HD5750 with Catalyst 11.2.

I've had similar problems in other situations so don't take my case as a reference.

noee
20th March 2011, 15:06
Fwiw, I just tried the same thing as pankov, MPC-HC on one monitor and jRiver on the other. The second instance (jRiver) failed with the same error as pankov.

clsid
20th March 2011, 15:18
Could you please disable the networking stuff by default? It is really annoying for people who don't use it and scary for those who don't understand it.

adam777
20th March 2011, 15:33
And the next problem I can't reproduce here... :( Works just fine for me with both YV12 and NV12. Also, I don't really see how this could be madVR related. Whether the input is YV12 or NV12 doesn't matter to madVR at all. None of madVR's features or functionalities depend in any way on the input format. madVR converts both YV12 and NV12 to some other format internally, anyway.


Yep, you're right, doesn't seem to be madVR related, could not utilize subtitles with EVR-CP and YV12 as well.
Just happened to activate the subtitle renderer for the first time while using madVR and came to a wrong conclusion...

Hypernova
20th March 2011, 15:33
This makes the 3rd reported subtitle problem I can't reproduce on my PC... :( Which zoom/aspect ratio etc settings are you using in MPC-HC when you experience this problem?

MPC-HC with no zoom. Video frame has Touch Windows from inside and Keep aspect ratio. The problem occur in my 16:10 monitor (the video is 16:9). I would guess that there should be no problem when aspect ratio matched, but I have not test that yet. I hope this helps. Thank you.

madshi
20th March 2011, 16:10
Could you please disable the networking stuff by default? It is really annoying for people who don't use it and scary for those who don't understand it.
Oh well. Until now I've refused to disable it because IMHO the network stuff doesn't do any damage, so adding an option to disable it makes the user interface more complicated without any benefit. But then, since it's you who's asking, I guess I'll have to change my mind...

MPC-HC with no zoom. Video frame has Touch Windows from inside and Keep aspect ratio. The problem occur in my 16:10 monitor (the video is 16:9). I would guess that there should be no problem when aspect ratio matched, but I have not test that yet. I hope this helps. Thank you.
I can reproduce it - yey! Finally a problem I can reproduce... :)

Rain1
20th March 2011, 16:23
This is weird, I could not utilize subtitle with MPC-HC's internal sub + madVR in the Haruhi clip (no subtitle @ all in any 3 states of "Position subtitle relatives to the video frame")

My setting:

http://i6.photobucket.com/albums/y244/rain1/Untitled-1-2.jpg
http://i6.photobucket.com/albums/y244/rain1/Untitled-2-1.jpg
http://i6.photobucket.com/albums/y244/rain1/Untitled-3-1.jpg
http://i6.photobucket.com/albums/y244/rain1/Untitled-4-1.jpg
http://i6.photobucket.com/albums/y244/rain1/Untitled-5.jpg
http://i6.photobucket.com/albums/y244/rain1/Untitled-6.jpg

My stuff: MPC-HC 2990 x86, madVR .45, ffdshow 3779 x86, Win7 x64, geForce GTX260

My previous config is: MPC-HC + madVR + ffdshow + DirectvobSub.

Thanks alot for your dedicating support on your FREE software ! :)

goldie
20th March 2011, 16:28
What is the expected behavior when madVR is run on too weak hardware? Will it show an error, or will it simply fail and let the player fall back to a different renderer?
I tested on my Intel Q35 (GMA 3100) (http://en.wikipedia.org/wiki/Intel_GMA#GMA_3100) platform.
WinXP-Pro-SP3, madVR 0.45, ffdshow 3779, MPC-HC 1.5.2.2990, DirectX 9.0c Jun.2010
madVR reports:
- creating Direct3D device failed (8876086c)
http://img718.imageshack.us/img718/139/screenshot2011032023060.th.png (http://img718.imageshack.us/i/screenshot2011032023060.png/)
Although I think Intel GMA 3100 has DX9 capability, it never works.
My Intel GMA 3100's detail (http://pastebin.com/YpMHbmCc) from driver report.
However, I have another platform with ATI Radeon HD 6870, :p and didn't use madVR on Intel Q35.

bobdynlan
20th March 2011, 17:36
My system is up to date.
Anyways, my issue with the 32-bit version of MPC-HC just crashing on my system I'm pretty sure has nothing to do with DX files. MPC-HC 64-bit version runs perfectly fine with either EVR-CP + DXVA or Haali renderer (since it has a 64-bit version).
[...]
Anyways, I digress this is just something screwed up in my Win7 install and I don't want to format and reinstall just to run mpc-hc 32-bit. My problems on my system are running the new version of MadVR with potplayer. If there is another 32-bit media player that runs reclock and madvr fine and has the new subtitle support I'd be willing to try that. :)
[...]
Yes, I've pretty much given up on using MPC-HC 32-bit because of this. I'll be patient though and hopefully Madshi will have a version of MadVR with working subs for other players. :thanks: for trying to help. Both up to date and screwed, aren't those two mutually exclusive? So, you are not doing any critical work on your system if you are willing to run with a broken system. That leaves out only laziness... but let's not awake the beast. Are you familiar with the method of "Repair Install"? Please read about it, it's fast.

If I were you, I would:
1. mpc-hc.exe Properties, Compatibility tab, uncheck all. Click Change settings for all users, uncheck all. Task Scheduler, Task Scheduler Library, Actions - delete any with mpc-hc.exe.
2. test the legacy mpc-hc (http://www.free-codecs.com/media_player_classic_download.htm) If that works, it must be a SSE/DEP problem:
- find an old mpc-hc.exe MSVC2008 build (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-1-4-2815.html)
- try to disable DEP on the latest build, put a copy of mpc-hc.exe and the nxtoggle (http://forum.doom9.org/showthread.php?p=1483477&highlight=NXTOGGLE#post1483477) script in a writable directory, launch the script. Test the resulting _mpc-hc.exe.
3. uncheck all external codecs, dxva internal codecs, use VMR (windowed) renderer and EVR (not custom) and last madVR
- uninstall/use tool (http://www.codecguide.com/windows7_preferred_filter_tweaker.htm)/manually regsvr32 -u any third-party directshow filters like ffdshow(it looks like it is inserting debug output even if it's disabled in the player, but I guess it's safe), Cyberlink (some versions memory leak on play if DXVA mode is selected with non-DXVA renderer like VMR9 on Vista+), DScaler Mpeg2 (known DEP incompatible), ArcSoft(issues with the licensing driver)...etc.
4. unlikely issue with directx: install Directx SDK (http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=3021d52b-514e-41d3-ad02-438a3ba730ba). The redistributable included with it it's guaranteed to update files. In DirectX Utilities find DirectX Control Panel tool - on the Direct3D 9 tab of it, check Use Debug Version of... and put Debug Output Level slider to 3rd step. Launch DebugView (http://technet.microsoft.com/en-us/sysinternals/bb896647). Launch mpc-hc. Save the log. Restore DirectX defaults. Post debugview log, dxdiag and dxdiag-x64 report.
5. give up, knowing I have at least tried...

My setting: Get A screenshot software ASAP! (http://getgreenshot.org/)

Oh well. Until now I've refused to disable it because IMHO the network stuff doesn't do any damage, so adding an option to disable it makes the user interface more complicated without any benefit. But then, since it's you who's asking, I guess I'll have to change my mind... Having it off by default it's about TRUST. And that's a far more deal-breaking factor than subtitle support :)