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

nevcairiel
6th October 2015, 17:40
2) Does "crop black bars" have any side effects? Should it be always ticked?

It can crop away hard-coded subtitles inside the black bars or TV station logos or stuff like that.

pirlouy
6th October 2015, 17:56
madshi can you share your future plans for madVR?
He said several times he does not want to speak about his plans.
I though you followed madVR development for many years...

James Freeman
6th October 2015, 18:14
He said several times he does not want to speak about his plans.
I though you followed madVR development for many years...
Ah yes, thanks for reminding me.
I'm so eager for the next thing that I forget all about patience, sorry about that madshi. :D

Move along.

Razoola
6th October 2015, 18:14
It seems madVR is causing MPC-hc to crash if NVidia 3D vision is enabled when going into fullscreen? If I set MPC-HC to use EVR then it does not crash. Is there any way I can make a meaning full log for you to track this one given madvr does not seem to crash?

dimitrik
6th October 2015, 20:38
Has anyone else experienced an MPC-HC crash on every exit for the last several minor versions of madVR? Only way to close the crash reporter window is killing the process in task manager. Windows 7 64-bit, 32-bit MPC-HC/madVR, GTX 970. I can give more details if there isn't a known crash that behaves in this way. I haven't experimented with settings lately to find if there's a particular cause because I've assumed the crash would go away after the next update, but many updates later I'm starting to wonder if it isn't a known issue.


I've had a similar problem with MPCHC hanging on every exit but the crash reporter window doesn't come up.

I fixed it by cleaning out all codecs and reinstalling, upon which time I switched to the x64 version of MPCHC.

Unfortunately I had to redo all the settings but there was no way around it.

YGPMOLE
7th October 2015, 01:30
This is probably a GPU driver issue, maybe in combination with D3D9. You could try if D3D11 improves the situation. Or try enabling the madVR display mode switcher and entering those refresh rates you want madVR to use. Then madVR will try its best to force Direct3D to use the correct refresh rates.

The D3D11, the madvr display mode switcher and the MPC-HC fullscreen changer (and the various combination between them) didn't fix the problem. Now I'm trying a clean install after a format and I'll let you know.

The new built fixed the subtitle positioning: thanks for your continuous and generous work!!!

Weirdo
7th October 2015, 12:35
Hope you can find the time to add support for the MP4 rotation flag. :)

lanzorg
7th October 2015, 22:05
Yes you can. Here (https://github.com/sebdelsol/pyPlayer/blob/master/miniplayer.py)is a movie player written in Python that uses madVR's COM interfaces.

There's a catch though. You won't be able to access a madVR object that has been created in another process, directly controlling madVR in MPC-HC from an external Python script for instance.
I've tried... to no avail, and ended up writing a whole player :)
I guess it might be possible with some weird dll injection.

Oh that's awesome but a little bit complicated for what I want to do.
Could you share python code sample for enabling smooth motion?
That would help me a lot.

JarrettH
7th October 2015, 22:14
Hi madshi or anyone, I have a video without black bars where the movie resolution is 960x720 and the target rectangle is 1280x720 (viewing in window)

In a window, it shows chroma > super-xbr and luma > jinc...does this mean the video is already being upscaled? I don't understand why it doesn't just show a 960x720 window.

In full screen it shows chroma > super-xbr, image x > super-xbr and image y > super-xbr

madvr 0.88.21

nevcairiel
7th October 2015, 22:17
Hey madshi or anyone, I have a video without black bars where the movie resolution is 960x720 and the target rectangle is 1280x720 (viewing in window)

In a window, it shows chroma > super-xbr (normal) and luma > jinc...does this mean the video is already being upscaled? I don't understand why it doesn't just show a 960x720 window

Sounds like it needs aspect ratio correction to 16:9 (ie. 960x720 -> 1280x720), which uses scaling, of course.

YGPMOLE
8th October 2015, 01:47
Now I'm trying a clean install after a format and I'll let you know.

The switching issue is gone!!! After a clean installation of Windows 10, madVR it's rock solid again even in Fullscreen Exclusive Mode.

So, I can suggest to people that comes from others O.S. (like me from Seven) to format and reinstall, because many issues seems to be related to the upgrade procedure.

Thanks again and sorry for submitting a non-related issue.

sebdelsol
8th October 2015, 09:04
Oh that's awesome but a little bit complicated for what I want to do.
Could you share python code sample for enabling smooth motion?
That would help me a lot.

As far as I know, you can only access a madVR object that you've created in your process.
So you can't enable smooth motion without having the whole filterGraph (=player) running in your own program, hence the complicated part.
Maybe there's a way to do it from an external process, we should ask madshi about that :)

EDIT: You might use madVR's keyboard shortcuts instead of trying to access madVR COM interface.
Your script would send keystrokes to the madVR window to toggle smooth motion for instance.
I don't have any code sample for that though :( but I guess it's simple enough.

EDIT2 : Here (http://pastebin.com/m20Gaz5v) is a quick and dirty Python script to toggle madVR debug OSD (ctrl+J) - you could use any other shorcut.
You'll need to find your player window's handle first, which is quite easy.

EDIT3 : Oh there's another solution: You could use the SetSettings command of the madVR netProtocol.
I've never tried that, but it should work too. See net-protocol.txt in your madVR folder.

lanzorg
8th October 2015, 09:28
As far as I know, you can only access a madVR object that you've created in your process.
So you can't enable smooth motion without having the whole filterGraph (=player) running in your own program, hence the complicated part.
Maybe there's a way to do it from an external process, we should ask madshi about that :)

EDIT: You might use madVR's keyboard shortcuts instead of trying to access madVR COM interface.
Your script would send keystrokes to the madVR window to toggle smooth motion for instance.
I don't have any code sample for that though :( but I guess it's simple enough.

OK, I have done what I wanted using settings.bin backup files to make "presets" and UIAutomation to configure display options.

Thanks for the explications, I was completely wrong.

chros
8th October 2015, 12:19
OK, I have done what I wanted using settings.bin backup files to make "presets" and UIAutomation to configure display options.

Thanks for the explications, I was completely wrong.
This is my solution which relies on keyboard shortcuts and MPC-HC : http://forum.doom9.org/showthread.php?p=1735591#post1735591
(You can trigger smoothmotion via keyboard shortcut.)

nijiko
8th October 2015, 13:06
89.6 sometimes makes snapping image failed as the attached image.
MsgBox means "GetDIB failed" in English.

Patrik G
8th October 2015, 17:58
Question:
Does all these picture enhancements like chroma upscaling/error diffusion/image doubling raise the transfer rate through the HDMI cables?
is more data sent with this on compared to a regular blu ray player that doesnt have these features ?

huhn
8th October 2015, 18:11
there is no general answer to this.

it depends alot on settings.

Pc can output 8-12 bit RGB/YCbCr and a bd player too. if a bd player doesn't upscale it self than madVR with upscaling is kind of sending more data.

edit: the things you listed aren't really picture enchantment they are necessary steps that needs to be done at some point if scaling is needed.

Patrik G
8th October 2015, 18:27
there is no general answer to this.
it depends alot on settings.


i also run a 3D LUT file with madvr
dont know it that also pushes up the transfer rate?

why i asked was mainly because i could see an improvement when switching from a cheap noname HDMI cable to a 3m Supra cable to my PC.
the improvement was higher sharpness mostly visible around peoples edges.
the added sharpness was also there in motion.
movies with a alot of grain before look more clean now with less or no grain.

if i go from the above the cheaper hdmi cable was not able to transfer all of the data to the reciever.
if it would i shouldnt see any improvement right.

i also read that the Pioneer BDP LX58 blu ray player that i owned before was "pushing" the limits of what hdmi is capable off.
dont know what they mean by that.
if its transferspeeds or data sent that is maxed out.
that blu ray player also has some upscaling features on but its not close to the performance you get from madvr.

Asmodian
8th October 2015, 19:02
i also run a 3D LUT file with madvr
dont know it that also pushes up the transfer rate?

Only higher resolution, higher bit-depth, or higher frame rate increase the bandwidth required (assuming using the same color space). Nothing else changes the bandwidth. No setting in madVR will increase the bandwidth required over HDMI.

10-bit output would but the bit-depth actually sent to the TV is set in the GPU's drivers, not madVR.

Oh, madVR's display mode changer could change the bandwidth required, of course.

why i asked was mainly because i could see an improvement when switching from a cheap noname HDMI cable to a 3m Supra cable to my PC.
the improvement was higher sharpness mostly visible around peoples edges.
the added sharpness was also there in motion.
movies with a alot of grain before look more clean now with less or no grain.

if i go from the above the cheaper hdmi cable was not able to transfer all of the data to the reciever.
if it would i shouldnt see any improvement right.

i also read that the Pioneer BDP LX58 blu ray player that i owned before was "pushing" the limits of what hdmi is capable off.
dont know what they mean by that.
if its transferspeeds or data sent that is maxed out.
that blu ray player also has some upscaling features on but its not close to the performance you get from madvr.

I am sorry but I believe the better HDMI cable was a placebo effect. HDMI is digital and the image will be horribly corrupted or simply blank if any information is lost during the transfer.

It is possible to use a different color space with sub-sampled chroma (YCbCr 4:2:2 or YCbCr 4:2:0) which is lower bandwidth and lower quality but it will not automatically switch to this mode due to the cable's quality.

I am not sure what people were talking about with "pushing the limits of what HDMI is capable of", probably trying to sell a gold plated HDMI cable.

Patrik G
8th October 2015, 19:16
I am not sure what people were talking about with "pushing the limits of what HDMI is capable of", probably trying to sell a gold plated HDMI cable.

ok thanks for the info
just as i thought but im no expert here.

it was the LX-58 blu ray player that was "pushing" the limits of hdmi.
and i asume they was speaking of the picture enhancements/scaling from the blu ray player.
but its probably marketing hype.

lets see if i can catch the sharpness improvements on the camera with the different cables.
if not there then its the famous placebo effect.

XMonarchY
8th October 2015, 20:28
Only higher resolution, higher bit-depth, or higher frame rate increase the bandwidth required (assuming using the same color space). Nothing else changes the bandwidth. No setting in madVR will increase the bandwidth required over HDMI.

10-bit output would but the bit-depth actually sent to the TV is set in the GPU's drivers, not madVR.

Oh, madVR's display mode changer could change the bandwidth required, of course.



I am sorry but I believe the better HDMI cable was a placebo effect. HDMI is digital and the image will be horribly corrupted or simply blank if any information is lost during the transfer.

It is possible to use a different color space with sub-sampled chroma (YCbCr 4:2:2 or YCbCr 4:2:0) which is lower bandwidth and lower quality but it will not automatically switch to this mode due to the cable's quality.

I am not sure what people were talking about with "pushing the limits of what HDMI is capable of", probably trying to sell a gold plated HDMI cable.


I had to purchase a High-Speed HDMI cable to be able to use 12bit NVidia CP setting @ 60Hz on my HDMI 1.3 Samsung HDTV. With regular HDMI cable, I could use 12bit NVidia CP setting @ only 23Hz. If I tried to use 12bit setting @ 60Hz with regular HDMI cable, I would get weird artifacts all over the screen.

But I guess you are right because 12bit NVidia CP setting is not a part of madVR settings. I was just thinking if madVR is set to 10bit while a display with 12bit setting capability in NVidia CP is set to 8bit, then wouldn't madVR sort of semi-force that display to use its 12bit setting?

I had a game that required me to use High-Speed HDMI cable AND required me to set NVidia CP color depth to 12bit OR ELSE there would be many weird artifacts, the same ones I was getting when I tried to play my videos @ 12bit NVidia CP color depth and 60Hz refresh rate. I tested several regular HDMI cables to rule out cables as the cause of the issue and each time these artifacts persisted. Aside from that, my PC video and game visuals worked perfectly. The game only showed such artifacts in FullScreen (just like madVR required FSE mode to use 10bit+), but Borderless Window mode worked fine. Then, I learned about High-Speed HDMI cables and bought one. It fixed EVERYTHING - no more artifacts @ 12bit NVidia CP color depth setting @ 60Hz in neither games nor videos!

My point is that an application's request for 10/12bit color depth in Full-Screen mode @ 60hz DOES require higher HDMI bandwidth.

jhughy2010
8th October 2015, 23:05
I recently tried to play a 2160p home video file for the first time and madVR reported that the rendering time was over 30ms on average. I am using an HD4600 iGPU and am wondering what might be some optimal settings in madVR to lower the rendering time.

Asmodian
8th October 2015, 23:38
I was just thinking if madVR is set to 10bit while a display with 12bit setting capability in NVidia CP is set to 8bit, then wouldn't madVR sort of semi-force that display to use its 12bit setting?

No, in that case the GPU driver dithers (or rounds!) down to 8-bit. madVR cannot force an output bit depth.

My point is that an application's request for 10/12bit color depth in Full-Screen mode @ 60hz DOES require higher HDMI bandwidth.

Yes, as I said: resolution, bit-depth, and frame rate all influence the bandwidth required. You do need an HDMI cable that can handle the signal sent from the GPU to the TV. No setting in madVR will affect these (besides the resolution and refresh rate changer).

However, as you have noticed, the result when using a cable that cannot handle the bandwidth is horrible artifacts, flickering, or even no image. It never results in slightly softer edges around people; that type of signal degradation is only a concern with analogue transmission. ;)

edit:
In a digital format, if electrical noise causes a pixel to change color, it will change color by a small amount with the same probability as a large amount. (11001000,00000000,01100101) to (11001100,00000000,01100101) or (11001000,10000000,01100101), the second is a very different color but both are a single bit flip from a 0 to a 1.

Magik Mark
9th October 2015, 02:53
FYI, New Nvidia driver v358.50 Supports OpenGL 2015 ARB extensions and OpenGL ES 3.2

Does it have any significance to madvr?

huhn
9th October 2015, 07:33
madVR doesn't use OpenGL

bouwew
9th October 2015, 12:39
I found a small issue with MadVR 0.89.6, using MPC HC as a player. It's also present in 0.89.5.
After a video is started, running FSE, I right click to change some settings in Madvr, LAV, etc. When I exit after the changes made, the screen returns to FSE and the playback is stuttery and the audio is a little out-of-sync. This effect can be "removed" by switching away and back to full screen.
Anyone else experience this?

Windows 10 x64, AMD 15.9.1, running latest MPC-HC & LAV filters nightly.

galneon
9th October 2015, 15:30
I found a small issue with MadVR 0.89.6, using MPC HC as a player. It's also present in 0.89.5.
After a video is started, running FSE, I right click to change some settings in Madvr, LAV, etc. When I exit after the changes made, the screen returns to FSE and the playback is stuttery and the audio is a little out-of-sync. This effect can be "removed" by switching away and back to full screen.
Anyone else experience this?

Windows 10 x64, AMD 15.9.1, running latest MPC-HC & LAV filters nightly.

I've gotten similar stuttering for several versions now when switching from windowed to FSE (settings menus not required). It doesn't always happen. The quickest solution for me is simply right-clicking and then closing the context menu. The context menu switches you to windowed full screen and when it switches back to FSE a few seconds later the problem is remedied every time. If I double-click two or four times, I'm back in FSE with stuttering.

I've had a similar problem with MPCHC hanging on every exit but the crash reporter window doesn't come up.

I fixed it by cleaning out all codecs and reinstalling, upon which time I switched to the x64 version of MPCHC.

Unfortunately I had to redo all the settings but there was no way around it.

I think I've waited long enough to make the 64-bit transition myself now that all my favorite filters are available for 64-bit MPC-HC. Thanks, I think that will probably take care of it.

edigee
9th October 2015, 16:04
Acc. to reports on other forums the latest NVIDIA driver(358.50) fixed Nnedi3 issue in W10.
Also it finally fixes custom resolutions .

aufkrawall
9th October 2015, 16:12
Acc. to reports on other forums the latest NVIDIA driver(358.50) fixed Nnedi3 issue in W10.

This was fixed my madshi by using another interop extension, the old one is still missing.

madshi
9th October 2015, 17:41
Were you expecting an answer? I see you haven't added it for the last three versions, is it difficult? Personally runtimeInMinutes is fine, I can't answer the your first point.
Yes, I was waiting for a "yes, that would work for me" or something. I'll put "runtimeInMinutes" on my to do list. Can't give you an ETA, though.

Still no fix for stutters after pause & resume?
I've already replied to your previous report about that, but you didn't follow up on my reply.

There's power state issue by using madVR, when I switched the image doubler from NNEDI3 64 neurons to super-xbr, there's a lot of dropped frames, and the present queue cannot be filled.

Using less gpu-intensive algorithms can decrease the speed of the fan, and hence the noise. How would I do to let the GPU chose the power-state correctly?
madVR currently does not control the GPU power state at all. It's the duty of the GPU driver to not clock down if that would cause issues. Seems your GPU driver doesn't do that correctly. That's not madVR's fault.

hi guys. i am using madvr version 0.88.16.
i am having a problem with a single avi file.
i use my display mode swith like this:
1080p60, 1080p59, 1080p50, 1080p30, 1080p29, 1080p25, 1080p24, 1080p23
my avi file is at 29,970fps but when i go fullscreen at madvr it changes the screen refresh rate to 24p, so the video is unwatchable.
when i delete all the lines and leave only 1080p29 it go to correct screen refresh rate. but if i add 1080p29, 1080p23, it prefer 1080p23.
anyone know how to solve this?
What does the debug OSD (Ctrl+J) say about the movie xxx fps? The full text line, please.

Subtitles glitch out now. When a file is first launched and full-screen'd, subs don't render until you right click the video frame or do something else to kick it out of full screen exclusive. From that point on they render fine.

Problem is fixed upon reverting to 0.89.5

Edit: This is on xySubfilter/LAVsplitter/MPCHC btw. Running in D3D11 render path, using FSE, with 64 bit build.
Confirmed. Will try to fix this for the next build.

I have a little request regarding toggle debanding keyboard shortcut behaviour. Let me explain a bit first. I usually use either a high debanding or no debanding during several files in a series. If I'd switch through GUI, it's all plain and simple - the radiobutton is always at "high" position and I can just toggle only the checkbox. Obviously I want to speed up things by using keyboard shortcuts, but the different story begins here. For example, I start from debanding at "high" but off and want to turn it on. So I press Ctlr-Alt-Shift-A twice (OSD shows off->high) and then hit F2 to save. Everything goes as expected. Afterwards, I want to switch it back off and repeat the same sequence, OSD showing high->off. But now it turns out that not only the checkbox was toggled - the radiobutton was also set to "low" value, so next time I'd need to press Ctlr-Alt-Shift-A four times, going all the way through off->low->medium->high. I humbly ask you to change this behaviour so that the radiobutton won't get reset from its initial value if the final result of keypresses is "off" at the moment of releasing all keys in the shortcut combination. It's not that I'm too bothered with two extra keypresses - I just want to get used to the same keypress sequence for toggling debanding on and off and pay no attention to its initial state or OSD.
Ok, I'll see what I can do, but it might take some time...

Does anyone know how to use madvr developers interface with python or powershell?
Is IMadVRSettings available as COM object?
As far as I know, you can only access a madVR object that you've created in your process.
So you can't enable smooth motion without having the whole filterGraph (=player) running in your own program, hence the complicated part.
Maybe there's a way to do it from an external process, we should ask madshi about that :)

EDIT3 : Oh there's another solution: You could use the SetSettings command of the madVR netProtocol.
I've never tried that, but it should work too. See net-protocol.txt in your madVR folder.
madHcCtrl.exe (which is the exe responsible for drawing the madVR tray icon, showing the madVR settings editor etc) does all this by using madHcNet32.dll and mvrSettings32.dll. I've not made the interfaces for those dlls available yet because I didn't think they would be useful. But I suppose it wouldn't harm making them available. It would allow you to remotely access settings, without having to reimplement the whole network protocol yourself again.

The above applies if you want to actually affect an already running instance of a media player / madVR. If you just want to change the settings on harddisk, and if you don't care if already running madVR instances are updated, then things are much easier: Just instantiate a madVR instance yourself and use the interfaces in "mvrInterfaces.h" to modify the settings.

But in the meantime during I was thinking about the idea madshi came across with these nice settings with the black borders...
So the second solution would be more of a software based instead of the hardware based photodiode.
But that would require to gain the necessary information out of madvr. That would mean something like target rectangle out of an API. I can do a little bit of programming in C# (not very advanced, but I can do stuff like GUIs, automats,...) so no problem to implement the controlling of my masking setup eg by RS232 to get the information out of the PC. But I donīt know if A) I can get the necessary information out of madvr and B) if yes how.
If this is too complicated I would try the version with the photodiodes. The software based solution seems more reliable to me, so I would prefer this one ;)
I think the software solution should be much more reliable. I've added the "command line to execute" feature to profiles for the exact reason that people might want to automate anamorphic lenses or screen masking or lens memories or stuff. So the plan was that every time a profile is switched, madVR calls some command line, maybe passing some parameters. However, I'm not sure if that's what you need? It would allow you to e.g. switch between CinemaScope and 1.85:1 movies. But maybe you want a "perfect" solution which tells you exactly (with 1 pixel precision) where the black bars are? That's somewhat more complicated because currently I've no feature in madVR that would transport that kind of information to you. Shouldn't be hard to add, but the big question is how to do it in a useful and intuitive way, so that other users could reuse the same feature...

Has anyone else experienced an MPC-HC crash on every exit for the last several minor versions of madVR? Only way to close the crash reporter window is killing the process in task manager. Windows 7 64-bit, 32-bit MPC-HC/madVR, GTX 970. I can give more details if there isn't a known crash that behaves in this way. I haven't experimented with settings lately to find if there's a particular cause because I've assumed the crash would go away after the next update, but many updates later I'm starting to wonder if it isn't a known issue.
No such problems here. Do you get any kind of crash information at all? If it's MPC-HC that crashes then there's probably not much I can do to help and you might have to talk to the MPC-HC devs. Might still be my fault, but without a proper crash report, *and* without being able to reproduce it at the same time, I simply cannot do anything.

How should we tune "Zoom control" options to follow rule "If Zoom do not lose a single pixel of video only black bars"?
That's madVR's default behaviour, if you activate "automatically detect hard coded black bars" (without any sub options) and set your media player to "touch window from inside".

It seems madVR is causing MPC-hc to crash if NVidia 3D vision is enabled when going into fullscreen? If I set MPC-HC to use EVR then it does not crash. Is there any way I can make a meaning full log for you to track this one given madvr does not seem to crash?
I don't think it's likely to be my fault. I don't even know if NVidia 3D vision is enabled or not. If the crash is in MPC-HC then you could talk to the MPC-HC devs. Maybe they can provide some more information about where the crash occurs and why.

Hope you can find the time to add support for the MP4 rotation flag. :)
Is it a flag in the container or in the video bitstream? If it's in the container then madVR has no access to that at all.

89.6 sometimes makes snapping image failed as the attached image.
MsgBox means "GetDIB failed" in English.
Can you try to find out how "sometimes" is defined exactly? Is it randomly, sometimes works, sometimes not, with the same video file and settings? Or does it depends on the settings and the video file etc?

I recently tried to play a 2160p home video file for the first time and madVR reported that the rendering time was over 30ms on average. I am using an HD4600 iGPU and am wondering what might be some optimal settings in madVR to lower the rendering time.
30ms is ok if the video file is 24fps. If you want faster rendering speeds, probably the settings to look at are "chroma upscaling" and "image downscaling".

I found a small issue with MadVR 0.89.6, using MPC HC as a player. It's also present in 0.89.5.
After a video is started, running FSE, I right click to change some settings in Madvr, LAV, etc. When I exit after the changes made, the screen returns to FSE and the playback is stuttery and the audio is a little out-of-sync. This effect can be "removed" by switching away and back to full screen.
Anyone else experience this?
I've gotten similar stuttering for several versions now when switching from windowed to FSE (settings menus not required). It doesn't always happen. The quickest solution for me is simply right-clicking and then closing the context menu. The context menu switches you to windowed full screen and when it switches back to FSE a few seconds later the problem is remedied every time. If I double-click two or four times, I'm back in FSE with stuttering.
Don't have that problem here. You can try capturing it in a debug log. If you have that stuttering situation, let it run for 20 seconds with stuttering, then immediately close the media player. Don't switch back to windowed mode or try to fix the stuttering. Just let it stutter for 20 seconds, then close the media player as quickly with as little user intervention as possible. Probably Alt+F4 should do the trick.

har3inger
9th October 2015, 19:04
There's power state issue by using madVR, when I switched the image doubler from NNEDI3 64 neurons to super-xbr, there's a lot of dropped frames, and the present queue cannot be filled.

Using less gpu-intensive algorithms can decrease the speed of the fan, and hence the noise. How would I do to let the GPU chose the power-state correctly?

Setting application-specific power settings has to be done for the player that madvr is being used inside. For example, if you use MPCHC, you have to force your GPU to treat mpchc.exe in such and such a way. In some ATI drivers (and possibly some nVidia ones), this exe is locked to power saving. You may need to rename the executable to something else (like mpchcFIX.exe) to get power settings to work. Beyond that, the specifics of how to do that will depend on your unique setup.

aufkrawall
9th October 2015, 19:54
Situation now is that interop issue with AMD is gone with the new extension used for NNEDI3, but the computing itself is still slower with drivers after 13.12?

QBhd
10th October 2015, 08:31
Situation now is that interop issue with AMD is gone with the new extension used for NNEDI3, but the computing itself is still slower with drivers after 13.12?

Yes, 13.12 is still far and away the fastest drivers for madVR. But as a guy who does overkill, I switched to the latest drivers and still was able to boost a few settings.

QB

nijiko
10th October 2015, 10:51
Can you try to find out how "sometimes" is defined exactly? Is it randomly, sometimes works, sometimes not, with the same video file and settings? Or does it depends on the settings and the video file etc?

Randomly.
I also don't know when it will happen.
40%.
With everyone video files.

I think it is maybe failed with videocard memory, because I set madVR to use DXVA.
And this happens on WinXP with DXVA1.

bouwew
10th October 2015, 11:12
Don't have that problem here. You can try capturing it in a debug log. If you have that stuttering situation, let it run for 20 seconds with stuttering, then immediately close the media player. Don't switch back to windowed mode or try to fix the stuttering. Just let it stutter for 20 seconds, then close the media player as quickly with as little user intervention as possible. Probably Alt+F4 should do the trick.

Debug log here: http://hugefiles.net/3a885fpkawyt

leeperry
10th October 2015, 13:18
I switched to the latest drivers and still was able to boost a few settings.
As compared to? Of course latest mVR builds come with faster NNEDI3 to boot, even with AMD IIRC.

Situation now is that interop issue with AMD is gone with the new extension used for NNEDI3, but the computing itself is still slower with drivers after 13.12?
But no option to output 10bit with 13.12 AFAIK, you can apparently run a reghack to disable 8bit dithering but latest revs do come with an official option to output >8bit AFAIK.

That's also why I'm not too worried about 10bit with mVR coz 13.12 work like a charm for me and PQ is stellar in 8bit@ED2. OCD can find its limits if you decide so ><

madshi can you share your future plans for madVR?
Moar better PQ, no less.

Extremely impressed by the PQ of DVD's going through sxbr25 + chroma & luma SR, who knew you could squeeze out so many details out of SD huh.

I've had a good look at what SR does to 24p motion blur and on scenes with wind going through tree leaves it basically ensures that all frames get equally sharp, so there is no blurry interframes anymore and you do get 24 sharp frames for a change.....surely it kinda kills the "dreamy" feeling you're supposed to get from vanilla 24p and it does look more artificial but it's by very far the best alternative I've seen between 60p interpolation and raw 24p, not going back to stutterland TYVM :)

We used to enjoy some slight LSF on HCFR ages ago due to this very same effect on motion blur but it looked too unsharpish to be useful to anything and Avisynth in ffdshow is all just a big lossy 8bit pipeline.

Of course for native 1080p footage I gotta zoom one notch in order to have SR kicking in, hopefully madshi will implement SuperSampling someday.

I really find sxbr a nice in-between J3AR & NNEDI3, being a sharper version of the former and a less artificial/digital looking alternative to the latter.

Of course soon or later madshi will come up with another groundbreaking new feature that will render it all obsolete, the same way J3AR & then NNEDI3 used to be on the very top of my list not so long ago ^^

amggotleir
10th October 2015, 14:02
allright guys, looks like there has been some big updates, can some1 tell me the latest settings for the best possible image quality?

aufkrawall
10th October 2015, 14:27
Yes, 13.12 is still far and away the fastest drivers for madVR. But as a guy who does overkill, I switched to the latest drivers and still was able to boost a few settings.

Oops, I confused interop and copyback.
I mean, now there definitely is no more copyback with AMD?

AngelGraves13
10th October 2015, 23:25
allright guys, looks like there has been some big updates, can some1 tell me the latest settings for the best possible image quality?

Jinc for Chroma and Image Upscaling with AR enabled for both.
Downscaling is anyone's guess... I just look at the chart on the right and try to get zero ringing and very little aliasing. Spline has a bit of ringing, so I use Lanczoz.

Super-XBR is also nice for Chroma, but tends to be too sharp sometimes so you'll have to play with the sharpness. 50 seems ok though, but not any better than Jinc.

aufkrawall
10th October 2015, 23:52
Jinc for Chroma and Image Upscaling with AR enabled.

AR should also be enabled for chroma with jinc.
I stumbled over some nasty news animation with red arrows and you can clearly see every upscaling algorithm fail which is not utterly soft or NNEDI3.
But Jinc AR looks good in many situations and doesn't eat up too much performance.


Downscaling is anyone's guess... I just look at the chart on the right and try to get zero ringing and very little aliasing. Spline has a bit of ringing, so I use Lanczoz.

Catmull-Rom AR is often preferred for downscaling, as it's neither overly sharp nor soft.
It's currently not clear if linear light should be used or not. There are examples where it introduces aliasing.
I personally don't use it, as I rather like the result slightly darker instead of brighter, if I have to choose between both.

Asmodian
11th October 2015, 00:32
It's currently not clear if linear light should be used or not. There are examples where it introduces aliasing.
I personally don't use it, as I rather like the result slightly darker instead of brighter, if I have to choose between both.

When downscaling content from its native resolution I always use linear light because small spots of light (stars) fade or disappear without it.

However, when downscaling previously up-sampled material there are never spots of light small enough to be eliminated by downscaling in gamma light.

AngelGraves13
11th October 2015, 00:41
AR should also be enabled for chroma with jinc.
I stumbled over some nasty news animation with red arrows and you can clearly see every upscaling algorithm fail which is not utterly soft or NNEDI3.
But Jinc AR looks good in many situations and doesn't eat up too much performance.


Catmull-Rom AR is often preferred for downscaling, as it's neither overly sharp nor soft.
It's currently not clear if linear light should be used or not. There are examples where it introduces aliasing.
I personally don't use it, as I rather like the result slightly darker instead of brighter, if I have to choose between both.

I use AR for both chroma and upscaling. Should probably word it better.

Catmull-Rom has too much aliasing if I look at the chart in madVR, but it's really hard to notice a difference between any of them. You'll be upscaling more likely than downscaling.

huhn
11th October 2015, 01:32
use your eyes not the chart!

FIX94
11th October 2015, 01:55
I personally use Jinc AR for both chroma and image upscaling, it just gets the job done right, for downscaling I use Spline36 AR cause no matter what people have against Spline it sure does a good job at downscaling and even acceptable upscaling to my eyes :P

ikarad
11th October 2015, 08:43
I use AR for both chroma and upscaling. Should probably word it better.

Catmull-Rom has too much aliasing if I look at the chart in madVR, but it's really hard to notice a difference between any of them. You'll be upscaling more likely than downscaling.

Where is the chart?

Asmodian
11th October 2015, 10:09
Where is the chart?

The "image upscaling" and "image downscaling" pages in the "scaling algorithms" section of madVR's settings.

Magik Mark
11th October 2015, 13:43
Madshi,

Is there a way for madvr to take advantage of SLI? I'm planning to install one and hope would help in SVP + madvr using the most advance upscaling algorithm offered

aufkrawall
11th October 2015, 14:12
We had this a few times:
No, this is not possible nor planned.

madshi
11th October 2015, 14:37
Randomly.
I also don't know when it will happen.
40%.
With everyone video files.
In that case I'm not sure where it comes from. Is this a new problem? Or was it always this way?

Debug log here: http://hugefiles.net/3a885fpkawyt
Thanks, will have a look at it later.

I mean, now there definitely is no more copyback with AMD?
Hard to say, haven't intensively tested it. But so far several users which had severe performance problems with AMD (probably due to copyback) have reported much better performance with the new madVR builds. However, some users also don't noticed any performance gain. So it's hard to give a definite answer. My current impression is that there's probably no copyback, anymore. But this doesn't give a general performance boost, it just removes a bottleneck *some* users had problems with.

Is there a way for madvr to take advantage of SLI? I'm planning to install one and hope would help in SVP + madvr using the most advance upscaling algorithm offered
madVR itself cannot use SLI. *However*, I think SVP lets you choose which GPU to use for its motion estimation. So with an SLI system you might be able to move the SVP workload onto the 2nd GPU while using the main GPU for madVR. I haven't tested this, though, so I can't say if it works and whether you get a real performance benefit this way or not.

madshi
11th October 2015, 14:41
madVR v0.89.7 released

http://madshi.net/madVR.zip

* added support for new XySubFilter build -> full control over positioning
* added IMadVRInfo::GetRect("seekbarRect")
* fixed: XySubFilter subtitles sometimes only showed up after resizing video
* fixed: #318: debanding sometimes caused black screen
* fixed: #344: NNEDI3 doubling + smooth motion sometimes caused black screen
Originally I was planning to work on SuperRes and other stuff. But instead I've decided to concentrate on XySubFilter this weekend. I've hacked a minor addition into XySubFilter, to give madVR full control over where subtitles are drawn. Which means that with the new madVR build, in combination with the new XySubFilter build, subtitles are now moved into the black bars or into the active video area, depending on the situation.

The latest XySubFilter build is now available in the first post of the official XySubFilter thread:

http://forum.doom9.org/showthread.php?t=168282