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

someone`
20th March 2011, 18:00
I have a problem with subtitle . Sometimes when start playing the video , subtitle doesn't appear , I need to rewind/forward to make it appear .
mpc-hc 2990 x86 MSVC2010 , madVR 0.45 , Haali , CoreAVC .

Razoola
20th March 2011, 18:03
I have a problem with subtitle . Sometimes when start playing the video , subtitle doesn't appear , I need to rewind/forward to make it appear .
mpc-hc 2990 x86 MSVC2010 , madVR 0.45 , Haali , CoreAVC .

Thats another issue I have seen also. Have you had the issue I have had where the subtitles go out os sync after seeking sometimes?

clsid
20th March 2011, 18:05
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...
It would be very much appreciated, specially if the option could also be off by default. I always try to help make things as idiot proof as possible so that novice users can also use it. Some people can get really paranoid when their firewall detects something. madVR is a very promising project and it would be a pity to see its reputation hurt by people who say it "phones home" or is some kind of trojan. That is why it would recommend enabling it only when a user actually want to make use of it. It is a nice feature, but I can imagine that only a small group of expert users use it.

It would also be cool if you could add some more details to common error messages like the "Direct3D device failed". Experience (with e.g. EVR CP) shows that there are plenty of people who don't understand the (origin of the) error, which complicates in solving it (by changing renderer or settings). Just brain-storming here. Maybe add something like: "The madVR video renderer failed. Possible reasons: - GPU is not DX9 compatible, - Insufficient GPU memory, - Graphics driver is not compatible. Please report if you need assistance."

I assume that madVR are has some code to detect details about the graphics hardware such as brand and amount of memory? It would be cool if madVR could adjust its initial settings based on that info (if it doesn't already). For example setting Bilinear for Intel chips.

What is the minimum required Shader Model? 2.0?

clsid
20th March 2011, 18:11
@fairchild
Another cause of MPC not working can be virus-scanners and other security software. For example Kaspersky often has trouble with MPC.
Does it also fail if you simply double-click on mpc-hc.exe, so not opening a file from explorer?
Have you tried moving mpc-hc.exe to another location and renaming it?

v0lt
20th March 2011, 18:26
@madshi
I was asked to report a bug:
If you run a file saved in the player stopping point, the subtitles are starting to go from the beginning.
MPC-НС 1.5.2.2990

DigitalLF
20th March 2011, 18:50
I highly doubt that those people who miss that part will read the frontpage... ;)

haha true...

Hypernova
20th March 2011, 19:14
@Rain1: You should choose madVR in MPC-HC output setting and not external filter. That actually prevent you from using external VSFilter as far as I know, but it may help in this case as well.

I can reproduce it - yey! Finally a problem I can reproduce... :)

Yey :)

thuan
20th March 2011, 20:08
Thats another issue I have seen also. Have you had the issue I have had where the subtitles go out os sync after seeking sometimes?
Seems like we have the same issues, I have both, on Win7 64bit SP1 with nvidia.

Razoola
20th March 2011, 20:23
Seems like we have the same issues, I have both, on Win7 64bit SP1 with nvidia.

What nvidia driver version are you using and what gfx card?

thuan
20th March 2011, 20:37
The one in my sig with 267.24 driver.

Rain1
20th March 2011, 22:15
@Rain1: You should choose madVR in MPC-HC output setting and not external filter. That actually prevent you from using external VSFilter as far as I know, but it may help in this case as well.

...and you're absolutely right ! I've always set madVR as 'preferred' in external filter (althought it's already been selected in Output)...I guess that's overkill

Thanks alot /

Trumpetguy
20th March 2011, 22:29
Hi, going from 0.43 to 0.45 caused one big problem with J.River MC16. Most time I try opning a .mkv file with DVD or BD contents, MC starts, audio is sometimes heard , but with black screen. Sometimes everything works well. It seems that when I disable ConvolverVST plugin, all starts as supposed to. This plugin has been with me for years. The only problem I can see is that it takes 10-15s for it to load my audio room correction file, and during this time, something happens in the video playback department.

As pointed out - this problem started when going from .43 to .45. And I have deleted my .43 copy.... can anyone please help me with that? It worked 100%...

Also - is there anythin to be done with the acutal problem, which may or may not be a madVR related issue?

dansrfe
20th March 2011, 22:38
Everything is working very well on my side...(super duper terrific and any other adjectives which can express lots of happiness with the renderer) One small complaint:

I cannot see subtitle changes and the duration when in exclusive mode and doing stuff like changing subtitles and skipping through a clip.

Thanks madshi!

Plutotype
20th March 2011, 23:08
Hi Madshi,
If MPC-HC subtitles are at the very bottom of the screen, they render over the nice exclusive mode seek bar. Is there any way to let render the seek bar over the subtitles and get external subtitles covered by the seek bar? Is that possible at all?
Thanks
Pluto

leeperry
20th March 2011, 23:54
I have deleted my .43 copy.... can anyone please help me with that?http://www.videohelp.com/tools/madVR/old-versions#download

fairchild
21st March 2011, 00:02
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...

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

Having it off by default it's about TRUST. And that's a far more deal-breaking factor than subtitle support :)

I don't consider my system broken, as it's only one program that doesn't want to work. I run tons of different 3d games and do folding@home on my system with no problems, so I know my system is stable up to date, just "broken" when it comes to not wanting to run the latest MPC-HC 32-bit versions. I have actually recently done a repair install of windows 7 recently because I couldn't get SP1 to install, but the problem persisted. I wager if I do a full format and install it fresh, but I don't have the time to dedicate 5-10 hours to get my system like it is now (install takes about an hour or 2 and then I have to re-install a ton of programs/games and whatnot).

1. done
2. the legacy version 6.4.9.1 (rev 107) runs perfectly with either the default VMR9 (renderless) or with Haali renderer + reclock + ffdshow decoding. I tried with 1.4.2815, MSVC2008
and it worked fine. It worked with MadVR + reclock with all the standard default decoders/splitters. So based off that it seems to be an SSE/DEP issue on my system for whatever reason.

So I got the latest version from http://xhmikosr.1f0.de/index.php and even though it's still an MSVC2010 build that uses SSE2, it is suddenly working fine.

@fairchild
Another cause of MPC not working can be virus-scanners and other security software. For example Kaspersky often has trouble with MPC.
Does it also fail if you simply double-click on mpc-hc.exe, so not opening a file from explorer?
Have you tried moving mpc-hc.exe to another location and renaming it?

Well I had been running Antivir for the longest, and recently switched to Avast, so don't think it was an antivirus issue.

So I followed what you suggested and I got the latest version from Xhmikosr's build site, and I installed it to a different directory and it's now working.

I have no idea what fixed it aside from installing an older legacy version which might have cleaned out the registry or any bad entries that it might have had.

So now the latest build with working high quality subtitles is working for me with the latest madVR. I think it's safe to say I'm going to switch back to MPC-HC as I like it's behavior alot more with MadVR's FSE mode. Hopefully it doesn't break again and I'll be super happy. :devil:

Thanks a ton for all the help and suggestions and thanks to Madshi for an awesome renderer! :thanks:

madshi
21st March 2011, 00: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")
...and you're absolutely right ! I've always set madVR as 'preferred' in external filter (althought it's already been selected in Output)...I guess that's overkill
So did Hypernova's tip fix the problem for you?

I have a problem with subtitle . Sometimes when start playing the video , subtitle doesn't appear , I need to rewind/forward to make it appear .
Please try again with v0.46. Maybe it's fixed now?

It would be very much appreciated, specially if the option could also be off by default. I always try to help make things as idiot proof as possible so that novice users can also use it. Some people can get really paranoid when their firewall detects something. madVR is a very promising project and it would be a pity to see its reputation hurt by people who say it "phones home" or is some kind of trojan. That is why it would recommend enabling it only when a user actually want to make use of it. It is a nice feature, but I can imagine that only a small group of expert users use it.
Ok, will do that next week.

It would also be cool if you could add some more details to common error messages like the "Direct3D device failed". Experience (with e.g. EVR CP) shows that there are plenty of people who don't understand the (origin of the) error, which complicates in solving it (by changing renderer or settings). Just brain-storming here. Maybe add something like: "The madVR video renderer failed. Possible reasons: - GPU is not DX9 compatible, - Insufficient GPU memory, - Graphics driver is not compatible. Please report if you need assistance."
I guess I could improve the error messages. However, I do not always know why something went wrong. E.g. when "resetting device failed" comes, there can be many weird reasons including a bug in madVR. Anyway, I'll put on my to do list to double check every warning/error message for possible improvements. But at the end of the day, in many cases I simply don't know *why* something went wrong.

I assume that madVR are has some code to detect details about the graphics hardware such as brand and amount of memory? It would be cool if madVR could adjust its initial settings based on that info (if it doesn't already). For example setting Bilinear for Intel chips.
The problem is that the max working settings also depend on the input and output resolution, the refresh rate and movie frame rate etc. E.g. rendering a 720p24 clip without scaling is a whole lot easier on the GPU than outputting a 1080p60 clip with some scaling. So it's hard to define a setting combination that works for all situations. I've been thinking about this myself for quite some time now. Maybe in a future version I can implement a dynamic solution which turns down quality automatically step by step if rendering speed is too slow. But such a thing is not too easy to develop because I don't want to switch down quality too quickly. Maybe the PC was just too busy doing something else for a few seconds to keep up with rendering?

What is the minimum required Shader Model? 2.0?
Yes, 2.0 is good enough, which is what every DX9 GPU should be able to do, IIRC.

I was asked to report a bug
I think this should be fixed in v0.46.

Hi, going from 0.43 to 0.45 caused one big problem with J.River MC16. Most time I try opning a .mkv file with DVD or BD contents, MC starts, audio is sometimes heard , but with black screen. Sometimes everything works well. It seems that when I disable ConvolverVST plugin, all starts as supposed to.
The ConvolverVST plugin was probably written in Delphi? I think I know where the problem comes from and it should be fixed in v0.46. Sadly, it seems that I have to allow Direct3D to turn all threads down to single floating point precision. I tried in v0.43-v0.45 to stop Direct3D from doing that. But it seems doing so makes problems when Delphi or Borland C++ compiled dlls are loaded in the media player.

super duper terrific and any other adjectives which can express lots of happiness with the renderer
:)

One small complaint:

I cannot see subtitle changes and the duration when in exclusive mode and doing stuff like changing subtitles and skipping through a clip.
Can you explain this in a bit more detail? I'm not really sure what you mean.

If MPC-HC subtitles are at the very bottom of the screen, they render over the nice exclusive mode seek bar. Is there any way to let render the seek bar over the subtitles and get external subtitles covered by the seek bar? Is that possible at all?
I've noticed myself that the subtitles are currently drawn *above* the madVR OSD elements. That's not as intended and I will fix it in a future version. It's not an easy fix, though, so it might take a while.

madshi
21st March 2011, 00:24
madVR v0.46 released

http://madshi.net/madVR.zip

* reverted change introduced in v0.43 which might have caused instability
* modified subtitle syncing logic
* ISubRenderCallback is now only used for MPC-HC builds >= 1.5.2.2988
If you had any problems with v0.44 - v0.45, please retry with this build. I hope that the subtitle stuff works well now.

ajp_anton
21st March 2011, 00:43
About the seek bar again...

I remember you said that the reason it's delayed is because the queue is a few frames long. But isn't it possible to add it onto the images right before they are displayed?
Also, when watching a movie that is wider than my monitor, the seek bar appears at the bottom of (and overlaps) the movie. Can it be moved to the very bottom of the screen, in the black bar? This could also solve the already mentioned problem with overlapping subtitles (as they probably won't go that far down).

leeperry
21st March 2011, 00:51
The ConvolverVST plugin was probably written in Delphi? I think I know where the problem comes from and it should be fixed in v0.46. Sadly, it seems that I have to allow Direct3D to turn all threads down to single floating point precision. I tried in v0.43-v0.45 to stop Direct3D from doing that. But it seems doing so makes problems when Delphi or Borland C++ compiled dlls are loaded in the media player.
If that means lower performance/accuracy, why not adding an option for troubleshooting purposes only?

KMP is written in Delphi BTW.

ajp_anton
21st March 2011, 00:59
Adding to my post above.
The volume change messages are also annoyingly delayed.
The "Pause" message appears instantly (don't know how the queue works there), but sometimes when I unpause, the "Play" message is shown for one (?) frame, then the "Pause" message re-appears, and after [the normal delay for everything] it goes back to "Play" (which then finally disappears after a few secs).
Also, all of these messages would also be nice to have at the top of the screen inside the black bar when there is one.

dansrfe
21st March 2011, 01:07
Hi madshi!

What I meant to say was that the OSD messages that show the current location time-code in the file when skipping through is not activated in FSE...however subtitle changes do show in FSE for me :)

Hypernova
21st March 2011, 01:31
I think you already know but the sub positon problem is fixed. Thanks madshi!

someone`
21st March 2011, 01:34
madVR v0.46 released

http://madshi.net/madVR.zip

* reverted change introduced in v0.43 which might have caused instability
* modified subtitle syncing logic
* ISubRenderCallback is now only used for MPC-HC builds >= 1.5.2.2988
If you had any problems with v0.44 - v0.45, please retry with this build. I hope that the subtitle stuff works well now.

The subtitle seems to work fine , but a new bug appears : I can't play continuous videos .
Black screen when I open another video while playing and the same when finish playing then auto open next video .

Rain1
21st March 2011, 01:38
So did Hypernova's tip fix the problem for you?

Yess it is !

It happened when madVR is set to 'preferred' in external filters (unnecessary step in my part).

...and THANKS for the new version /

sneaker_ger
21st March 2011, 01:41
The subtitle seems to work fine , but a new bug appears : I can't play continuous videos .
Black screen when I open another video while playing and the same when finish playing then auto open next video .

Same here.
Also the task bar icons (like Haali, ffdshow etc.) won't close when opening another video.

Also the madvr icon does not close at all.

fairchild
21st March 2011, 01:59
I can agree with someone` and sneaker_ger, I am also having the same issues. Also when you close a file with mpc-hc it doesn't actually close the file. It does something where it resizes the mpc-hc interface and it becomes smaller and the video becomes cropped in some way, but continues to play.

cyberbeing
21st March 2011, 02:08
Same here as well. I'm getting a ~5 second hang/delay when loading a new video, and when it loads it's only a black screen.

Logs (0.45 vs 0.46):
http://www.mediafire.com/?xxcrodn445jaeam

In previous builds, I was also experiencing all the MPC-HC subtitle problems thuan and a few others were having. Position/Size bug (appeared fixed in 0.45 with a quick test), occasionally subs not loading (usually at the beginning of a video, rarely when mid-stream when the subtitle style changes, seeking occasionally fixes it), and occasionally very early out-of-sync subs. From madVR 0.46 onwards, I will no longer, nor have any desire to use or test MPC-HC subtitles (personal reasons), but I thought I'd chime in on some of the previous issues. There is no reliable way to reproduce. Just click through a playlist with various MKVs with .ass subs and occasionally the bugs will happen. That said, I have no idea if 0.46 fixed the sync problem or not.

blaster00
21st March 2011, 02:08
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.

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.



If you say so. You have the right to do everything u like.
Sure there won't be any benefit or harm because no one give it a try.

Hypernova
21st March 2011, 02:26
If you say so. You have the right to do everything u like.
Sure there won't be any benefit or harm because no one give it a try.

I actually try to use x64 build of every applications I can find, and given choices, I would certainly choose one that has x64 build over the other one that doesn't. I feel such a waste that the CPU can do 64bit but the program doesn't use it. I think I understand how you feel.

However, you really cannot argue that there is no "practical" reason for madVR x64. I think practical should be emphasized. It's a fact that all player/codec we have right now simply more optimized on x86 build. madVR itself, I believe, can't really take adventage of x64. While codec certainly can (again, my guess), that is not within madshi's power to do. If one day a significant numbers of x64 decoder are significantly faster, then we can start asking madshi for x64 madVR, though if that is going to happen, I think he'll be working on it before any of us ask.

Well, that's my opinion on the matter.

blaster00
21st March 2011, 02:45
You are right. Actually I just don't like the way he says it. He could say too busy and it's not the highest priority to do so instead full negative about it.
But like I said, he is the author and he works for free, it's all up to him. All we can do is waiting :)

noee
21st March 2011, 03:31
C'mon guys, seems like a lot of generalities here and very little specifics on why x64 would be "better" than x86 in this situation. There are obviously some very interesting and very useful things coming with madVR, which, no doubt, will require much more coding effort. I'm sure I am not alone, as a madVR user, in the desire to see these features implemented before madshi goes off chasing rainbows for some nebulous so-called "benefits" of x64.

jmone
21st March 2011, 03:45
V46 working with JRMC.

ranpha
21st March 2011, 04:36
With 0.46, there are problems indeed when playing continuous videos, and with ffdshow/Haali/CoreAVC icons refusing to disappear. This problem doesn't happen with 0.45.

madshi
21st March 2011, 08:41
From madVR 0.46 onwards, I will no longer, nor have any desire to use or test MPC-HC subtitles (personal reasons)
Sounds like an interesting background story. Care to share? :p

You are right. Actually I just don't like the way he says it. He could say too busy and it's not the highest priority to do so instead full negative about it.
But like I said, he is the author and he works for free, it's all up to him. All we can do is waiting :)
If I could simply switch an option in MSVC++ and recompile madVR as x64, I would do that. But it's not that easy. It would cost me several days of work to create a properly working x64 version. I've only very limited time, so spending several days of work on something that has no practical benefit is not an option for me. Especially since there are about a billion other things on my to do list which do have practical benefits when implemented.

If at any time in the future an x64 version will become actually useful, I might reconsider. But even then I'll have to weigh the time an x64 version would cost against the benefit to see if it's worth it.

madshi
21st March 2011, 08:43
madVR v0.47 released

http://madshi.net/madVR.zip

* fixed: madVR didn't close properly
I hope all problems are solved now.

Please make sure you use an up to date MPC-HC version. It must be 1.5.2.2988 or higher. Otherwise MPC-HC internal subtitles won't work. With older MPC-HC builds madVR refuses to draw subtitles now. That includes the MPC-HC build I uploaded myself. If you use that, please also update to one of the newer SVN builds, e.g. from here:

http://xhmikosr.1f0.de/index.php?folder=bXBjLWhj

Mark_A_W
21st March 2011, 09:05
Hi, going from 0.43 to 0.45 caused one big problem with J.River MC16. Most time I try opning a .mkv file with DVD or BD contents, MC starts, audio is sometimes heard , but with black screen. Sometimes everything works well. It seems that when I disable ConvolverVST plugin, all starts as supposed to. This plugin has been with me for years. The only problem I can see is that it takes 10-15s for it to load my audio room correction file, and during this time, something happens in the video playback department.

As pointed out - this problem started when going from .43 to .45. And I have deleted my .43 copy.... can anyone please help me with that? It worked 100%...

Also - is there anythin to be done with the acutal problem, which may or may not be a madVR related issue?

I run Convolver Wrapper (directshow not VST, but the same basic filter) on Zoom Player and yep, it takes 10-15 secs to start playing (even with files on an SSD).

On my old PC it would sometimes crash.

I always disable the convolver filter when testing. It's kinda dodgy..

jmone
21st March 2011, 09:10
V0.47 all fine with JRMC :)

pawlol83
21st March 2011, 09:50
Hello, I have a problem with the MicroDVD format, which occurs during video playback in AVI, MKV. Reveals a lack of synchronization. I use MPC Home Cinema Player in the x86 version 1.5.2.2990 and madVR v0.47.

MicroDVD (*. SUB, *. TXT) - Format cage. This is a text file with the compacted initial and final frame sealed in brackets {}. Vertical dash | means to break the text lines. Very popular in the world a few years ago, in Poland so far.


{xxx} {xxx} TEXT
{xxx} {TEXT}
{959} {1034} Directed by
{1049} {1125} Scenario
{1188} {1263} There
{1349} {1421} Photos
or
{959} {1034} Directed by
{1049} {} Writer
{1188} {} There
{1349} {} Photos

Please refer to the problem.

Trumpetguy
21st March 2011, 10:09
I run Convolver Wrapper (directshow not VST, but the same basic filter) on Zoom Player and yep, it takes 10-15 secs to start playing (even with files on an SSD).

On my old PC it would sometimes crash.

I always disable the convolver filter when testing. It's kinda dodgy..

/OT
Getting any version of Convolver to work properly was a pain, yes. In J.River MC, the VST version is stable, though. Main problem is that development is discontinued.
/OT

0.47 works with my J.River MC16 setup! Thanks for really quick debugging work - and for the entire development of all mad products. Really, really appreciate your efforts, madshi!

Luv
21st March 2011, 10:10
For us,happy Zoomplayer users,is there a reason to upgrade to 0.47,Madshi ? Are we actually concerned by this sub implementation ?

madshi
21st March 2011, 10:16
About the seek bar again...

I remember you said that the reason it's delayed is because the queue is a few frames long. But isn't it possible to add it onto the images right before they are displayed?
It was be possible, but then the queues would be less effective. The design of the queues is that I have a number of frames fully rendered so they can be presented in an instant. If I can't do that, anymore, if even all queues rendered frames still have to be rendered over again (for the seekbar) I can't present instantly, anymore, which would possibly screw up smooth motion playback.

Also, when watching a movie that is wider than my monitor, the seek bar appears at the bottom of (and overlaps) the movie. Can it be moved to the very bottom of the screen, in the black bar?
Maybe in a future version. To be honest, these are all minor cosmetical issues, IMHO, so I prefer to add missing important features first before working on such minor issues. E.g., would you have preferred me to implement subtitle support or to move the seekbar to another place? I can only do one thing at a time. So I choose to implement those things that are most important first.

If that means lower performance/accuracy, why not adding an option for troubleshooting purposes only?
Well, it does mean FPU operations are lower accuracy. But madVR itself does not do any FPU operations. However, the media player itself may. Anyway, the default D3D9 behaviour is to enforce single precision. I think it's also usually done this way for VMR and EVR. So I guess it's not too much of a problem.

Adding to my post above.
The volume change messages are also annoyingly delayed.
The "Pause" message appears instantly (don't know how the queue works there), but sometimes when I unpause, the "Play" message is shown for one (?) frame, then the "Pause" message re-appears, and after [the normal delay for everything] it goes back to "Play" (which then finally disappears after a few secs).
Also, all of these messages would also be nice to have at the top of the screen inside the black bar when there is one.
Yes, agreed. But again, these are minor cosmetical "problems", while madVR is still missing a few big things.

What I meant to say was that the OSD messages that show the current location time-code in the file when skipping through is not activated in FSE...however subtitle changes do show in FSE for me :)
Ah. The reason for that is that the location time-code is shown by MPC-HC if you use the MPC-HC seekbar. If you use the madVR exclusive mode seekbar, madVR seeks "behind the back" of MPC-HC, so of course MPC-HC doesn't show the seek location time-code. I could add that myself, but then this is a very play specific thing. A different media player might behave differently, so I'm not sure if it's a good idea for me to add OSD popups targetted at how MPC-HC behaves.

Hello, I have a problem with the MicroDVD format, which occurs during video playback in AVI, MKV. Reveals a lack of synchronization. I use MPC Home Cinema Player in the x86 version 1.5.2.2990 and madVR v0.47.
How far off is the sync? Is it totally wrong? Or is it only slightly wrong? Is it wrong by the same offset all the time? Or does the sync vary? E.g. is it sometimes too early, sometimes too late? Or e.g. sometimes slightly too late, sometimes much too late? Etc etc etc... You see: I need a much more detailed description of the problem. Finally: Does the problem also occur with VMR/EVR, or does it only occur with madVR?

madshi
21st March 2011, 10:18
For us,happy Zoomplayer users,is there a reason to upgrade to 0.47,Madshi ? Are we actually concerned by this sub implementation ?
As far as I can see, ZoomPlayer does not have its own subtitle rendering engine? In that case v0.47 has only limited benefit over v0.43. However, I've fixed at least one problem where a user had graphical corruption in ZoomPlayer when switching between exclusive <-> windowed mode. So there might be some benefit. And I think v0.47 should not be any worse compared to v0.43, so I don't see any reason not to update.

Trumpetguy
21st March 2011, 10:28
As I am not able to find out in neither in the JRMC forum nor in this thread - is it possible to render subs directly with madvr>0.43 in J.River MC?
And being a newbie on these things, how? Thanks!

Luv
21st March 2011, 10:29
Ok then but I never saw any kind of corruption with 0.43 when switching modes.Maybe the solution lies in the fact that I'm still using 5.02 and not the latest 7.xx flavour...
Thanks for the hard work anyway,Madshi.

jmone
21st March 2011, 10:48
As I am not able to find out in neither in the JRMC forum nor in this thread - is it possible to render subs directly with madvr>0.43 in J.River MC?
And being a newbie on these things, how? Thanks!

FYI - I render my subs in MC using FFDSHOW (I also use the LAV Splitter which connects them just fine).

Trumpetguy
21st March 2011, 11:01
FYI - I render my subs in MC using FFDSHOW (I also use the LAV Splitter which connects them just fine).

I read that further up, right? I have tried that solution, but for now, IMO DirectVobSub have been the best solution. And reading madshi's explanation, this makes sense. For hd material, no difference, but for sd material using ffdshow sub rendering, the subs are scaled with the videostream (for 720 and 1080 playback). This results in more coarse subs. Using DirectVobSub adds the text after the scaling is done, giving prettier subs (still quite ugly on old dvd material, though).

Anyway, if I can get rid of DirectVobSub, I am happy. And if original SUPs at any point can be played, even more so. I am no expert on this, but when converting SUP to SUB, font smoothing is decreased. I have read somewhere that subs support 4 colours, while sup supports 256 colours.

Is there any way madvr can render the original .sup, either from within a .mkv or as external file?

madshi
21st March 2011, 11:16
I read that further up, right? I have tried that solution, but for now, IMO DirectVobSub have been the best solution. And reading madshi's explanation, this makes sense. For hd material, no difference, but for sd material using ffdshow sub rendering, the subs are scaled with the videostream (for 720 and 1080 playback). This results in more coarse subs. Using DirectVobSub adds the text after the scaling is done, giving prettier subs (still quite ugly on old dvd material, though).

Anyway, if I can get rid of DirectVobSub, I am happy. And if original SUPs at any point can be played, even more so. I am no expert on this, but when converting SUP to SUB, font smoothing is decreased. I have read somewhere that subs support 4 colours, while sup supports 256 colours.

Is there any way madvr can render the original .sup, either from within a .mkv or as external file?
AFAIK both ffdshow and DirectVobSub render the subs *before* the video is scaled. The only way to do it differently is to communicate directly with the renderer via a special interface. I don't think either ffdshow or DirectVobSub are doing that. MPC-HC's internal subtitle rendering engine does that, so does seemingly PotPlayer. I guess with ZoomPlayer and J.River Media Center you're stuck with ffdshow and DirectVobSub because they don't seem to have an internal subtitle rendering engine.

pawlol83
21st March 2011, 11:32
How far off is the sync? Is it totally wrong? Or is it only slightly wrong? Is it wrong by the same offset all the time? Or does the sync vary? E.g. is it sometimes too early, sometimes too late? Or e.g. sometimes slightly too late, sometimes much too late? Etc etc etc... You see: I need a much more detailed description of the problem. Finally: Does the problem also occur with VMR/EVR, or does it only occur with madVR?

The problem occurs only in madVR rendering mode. At the beginning of the subtitles are displayed correctly (full synchronization). Once a film rewind a few minutes to the front or back, the subtitles are displayed by a few seconds too early. When you return the slider to the beginning of the video the subtitles are again synchronized.

madshi
21st March 2011, 11:51
The problem occurs only in madVR rendering mode. At the beginning of the subtitles are displayed correctly (full synchronization). Once a film rewind a few minutes to the front or back, the subtitles are displayed by a few seconds too early. When you return the slider to the beginning of the video the subtitles are again synchronized.
When the subtitles are not synchronized, what happens if you just continue playback for 2-3 minutes? Do they automatically get back into sync? Or will they stay out of sync forever?

Can anybody else reproduce this problem?