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

Motenai Yoda
15th October 2012, 20:47
Does this also happen with the latest madVR v0.84.3 build? Are you using the MPC-HC refresh rate switcher? Try using the madVR built in display mode switcher instead.

ok
without MPC-HC internal switcher no switch.
with only MPC-HC internal switcher seems work.
with MPC-HC internal switcher and madVR doesn't work.

if i leave empty the modes textbox, work (with MPC-HC switcher)
with even 1024x768p60 (default for my screen) blank screen.

I've tryed even older build of madVR and MPC-HC.

my specs are w7 64bit, i7 920, hd4650, catalyst 12.6

madshi
15th October 2012, 21:55
ok
without MPC-HC internal switcher no switch.
with only MPC-HC internal switcher seems work.
with MPC-HC internal switcher and madVR doesn't work.

if i leave empty the modes textbox, work (with MPC-HC switcher)
with even 1024x768p60 (default for my screen) blank screen.

I've tryed even older build of madVR and MPC-HC.

my specs are w7 64bit, i7 920, hd4650, catalyst 12.6
Maybe there's a misunderstanding. You should not use 2 different display mode switchers at the same time! That won't work. In the worst case MPC-HC will switch to mode A, madVR's switcher will detect the change and switch to mode B. MPC-HC will switch back to mode A, madVR back to mode B. They might change modes all the time without pause. Please always only use one display mode switcher. Either MPC-HC or madVR, but not both switchers at the same time.

Mathias:
Having double checked, it would appear to me that having a final Gaussian blur step with a radius dependent on the enlargement ratio may be the ticket. Gremlins die before the blur is annoying. Gaussian blur with a reasonably small radius should be cheap (enough).
My guess is that the radius (or, equivalently, sigma) should obey a simple proportionality constant with the enlargement ratio. (Gaussian radius = half of enlargement ratio, I would guess, is about right. This means that the "effective area" over which the blur is noticeable is about the size of an original pixel, or a bit smaller.)
Thank you, that sounds like a good fix. Maybe I'll find a way to avoid the gremlins from appearing in the first place. If not, I'll try your blur idea. :)

6233638
15th October 2012, 22:33
Thanks... :) I'm still waiting for more test pictures from 6233638 and cyberbeing, though. Optimizing the AR algorithm for just one image is easy. Optimizing it to work well for all sorts of difficult situations is the hard thing.What sort of images are you looking for? Film captures?

The problem I have is that it's difficult to find video/film sources that don't already have a ton of ringing already encoded outside of Blu-ray. (which mostly doesn't need upscaling yet)

aufkrawall
15th October 2012, 22:43
I hate making the settings dialog more complicated than necessary. :( I'll think about it.

Thanks. My humble opinion: Checkboxes don't do any harm. :D
Of course I don't know if this is technically a little Sisyphean task-like for you to mess with the GUI, but from a user's viewpoint, a little checkbox, hidden relatively deep in the settings, won't make it more confusing.

Btw: I'd really appreciate if you could comment on this:
http://forum.doom9.org/showpost.php?p=1594957&postcount=14538

Thanks.

NicolasRobidoux
15th October 2012, 23:06
Mathias:
It indeed was an ImageMagick 7 bug. (IM7 is the alpha of the next major, API breaking, release, so I asked for it.)

madshi
16th October 2012, 07:45
What sort of images are you looking for? Film captures?
Well, you reported that the Jinc AR produces more (or uglier) ringing compared to e.g. Lanczos/Spline AR. I need more images which demonstrate that. Basically any images which make Jinc AR stumble somehow. And the more different the test images are the better. Thanks.

from a user's viewpoint, a little checkbox, hidden relatively deep in the settings, won't make it more confusing.
I have a very different opinion on this. A new madVR user will be tempted to look at all the settings and understand them. Adding billions of funny checkboxes which are hard to understand will bury the really important settings in a sea of noise. If I had added every funny option any madVR user ever asked for, the settings dialog would have 2 or 3 times as many options as it has now, many of which nobody would ever use or even understand. Don't get me wrong. I'm not saying that your wish is useless. I said I would think about it. I'm just saying that I generally do have to resist the tendency to overload the madVR settings dialog with funny options.

Btw: I'd really appreciate if you could comment on this:
http://forum.doom9.org/showpost.php?p=1594957&postcount=14538
DVD playback is not officially supported by madVR yet. I can't fix things that I don't support and which require hacking the OS for me to even be able to reproduce the problem.

huhn
16th October 2012, 10:47
i can confirm the dpc problems with my amd 6770 for me they are at 1300 and i didn't notice a problem at all at least nothing i'm aware off.
using a queue like 4/4 solved the "issue" but more interesting is the fact that my hd4000 in the same pc doesn't have any problems with queues like 24/24l the 6770 is still running but all displays are disconnected.
even with 4/4 the error comes back after some time
with evr cp there r no problem at all with dpc spikes.

bug report:

start a video in windows mode for example a 720 on a 1080p screen
press pause then stop and now press control+enter

the video will be at the top left in original size the rest is black
i can't test it in windows 7 overlay mode because my amd card can't handle it
in normal and fse mode it exists
i think someone else reported this before not sure

sry for the terrible English

Blight
16th October 2012, 11:34
madshi:
I addressed the over-complication of the settings dialog (and ZP has a lot of them) in three ways:
1. Split the options into a basic/advanced configuration.
2. Add a centralized documentation, in your case, maybe a wiki would be best.
3. Probably overkill in your situation, but I've also added a search function that scans through the dialogs and highlights the searched item.

I'm not really sure if you have the time for it, but it would simplify some of your interface design decision making.

madshi
16th October 2012, 11:43
bug report:

start a video in windows mode for example a 720 on a 1080p screen
press pause then stop and now press control+enter

the video will be at the top left in original size the rest is black
i can't test it in windows 7 overlay mode because my amd card can't handle it
in normal and fse mode it exists
i think someone else reported this before not sure
Which media player? Which OS? Aero enabled or disabled?

madshi:
I addressed the over-complication of the settings dialog (and ZP has a lot of them) in three ways:
1. Split the options into a basic/advanced configuration.
2. Add a centralized documentation, in your case, maybe a wiki would be best.
3. Probably overkill in your situation, but I've also added a search function that scans through the dialogs and highlights the searched item.

I'm not really sure if you have the time for it, but it would simplify some of your interface design decision making.
Yes, both a basic/advanced switch and a settings documention would be a good thing to have, but both would be a lot of work, and it's not the right time for that now, considering that madVR is still lacking a few key features.

aufkrawall
16th October 2012, 12:07
I have a very different opinion on this. A new madVR user will be tempted to look at all the settings and understand them. Adding billions of funny checkboxes which are hard to understand will bury the really important settings in a sea of noise. If I had added every funny option any madVR user ever asked for, the settings dialog would have 2 or 3 times as many options as it has now, many of which nobody would ever use or even understand. Don't get me wrong. I'm not saying that your wish is useless. I said I would think about it. I'm just saying that I generally do have to resist the tendency to overload the madVR settings dialog with funny options.

I agree that an overload of settings should be avoided, but regarding this issue I think it's different.
What is the filename mode detection for? I'd assume to fix wrong flags? That's a good idea, but imho not if it's the default because flags/file headers should be regarded more important than file names since latter can be messed up too easily.
It's like if an anti-virus would catch malware by file names. :D
It's a good thing though if it's optional.


DVD playback is not officially supported by madVR yet. I can't fix things that I don't support and which require hacking the OS for me to even be able to reproduce the problem.
I totally see your point.

DVDs would profit so much from madVR. :(

NicolasRobidoux
16th October 2012, 12:25
Mathias:
Suggestion:
Because you are effectively dealing with the most offensive common problem with a linear light toolchain, namely dark halos (your'e dealing with the light ones too, of course, but they are not the main issue with linear light resampling that uses negative lobe filters), and you are starting to do rather complicated things in the AR toolchain, including Gaussian blur, I suggest that you try your favorite AR toolchain through linear light (into linear light before the resampling filter, out of linear light after the final Gaussian blur) because this will restore, among other things, light <-> dark symmetry, and in particular would prevent the most annoying artifact of sRGB resampling (besides light halos), which is the "thinning" of light on dark features, which AR, I'm sure, can't do anything about.
I have the foolish hope that this may reduce the size of the worst gremlins, as well. (This being said, I still have not read your overall description of how AR works, so everything is based on "I bet it works more or less like this...")
Also, unless you have "fudge factors" in your AR algorithm, I also suggest that you see if you can see a difference when you use a LUT which has more points than what you use now.
-----
When you have time to waste, I suggest that you try EWA Robidoux. Not perfect. But good-cheap-solid.
P.S. "The Recommendations" are in need of an update. Will take a while. Don't take what's there for my current gospel.

huhn
16th October 2012, 12:31
Which media player? Which OS? Aero enabled or disabled?

os win xp 64 win 7 64 win 8 64
mpc hc atm 6086

aero tested with both on and off
double checked on win 7 64

crotecun
16th October 2012, 12:57
I agree that an overload of settings should be avoided, but regarding this issue I think it's different.
What is the filename mode detection for? I'd assume to fix wrong flags? That's a good idea, but imho not if it's the default because flags/file headers should be regarded more important than file names since latter can be messed up too easily.
It's like if an anti-virus would catch malware by file names. :D
It's a good thing though if it's optional.


From what I've read filename mode detection working that way is not a bug, it's a feature.

If you add such a tag to a file name, madVR thinks that you want to overwrite the frame rate to 60.000Hz. That's not a bug but intended behaviour. Change it to 1080p59 and the problem should go away.

You should tag it with the correct rate or perhaps leave it from the filename altogether to disable the automatic detection.

NicolasRobidoux
16th October 2012, 13:05
Also, unless you have "fudge factors" in your AR algorithm, I also suggest that you see if you can see a difference when you use a LUT which has more points than what you use now.Clarification: Use a larger LUT for the (EWA) filter itself. Or else, build something that takes into account that there is an epsilon error in the computed values fed to AR.
For example, at locations where there is some ambiguity RE: whether to "chop", blend instead.
AR looks overly eager to me. You can leave some halo. The first halo, in particular, can be argued to increase acutance, so it's not all bad.
Sometimes, "better" is better than "perfect".

Pat357
16th October 2012, 14:19
What is the filename mode detection for? I'd assume to fix wrong flags? That's a good idea, but imho not if it's the default because flags/file headers should be regarded more important than file names (
If the flags would have priority, then how would you ever be able to properly playback a file with bad flags ? Not possible !!
With the current system, you add the correct info to the filename and your set : perfect playback !

aufkrawall
16th October 2012, 14:30
If the flags would have priority, then how would you ever be able to properly playback a file with bad flags ?

Well, encoders/muxers usually flag correctly, or not?
In the end, filename detection is a somewhat "hacky" solution, especially if you have no influence on it (hidden magic that has confused you and me).


Not possible !!

With the current system, you add the correct info to the filename and your set : perfect playback !
That's why I like a checkbox.

nevcairiel
16th October 2012, 14:43
In the end, filename detection is a somewhat "hacky" solution, especially if you have no influence on it (hidden magic that has confused you and me).

You have all the influence on it by changing the filename. :)

NicolasRobidoux
16th October 2012, 15:03
To keep noobs out of trouble and the interface clean, have some options only accessible through config files. Emphasis on "only".
Then, your documentation can have a section called "Expert Configuration Options" with a blinking neon sign that says: "You are likely to break things if you mess with this stuff, which caters to the "needs" of the minority that eats bandwidth for breakfast, lunch and dinner on madVR forums. Not to forget the midnight snack."

TheLion
16th October 2012, 15:54
i can confirm the dpc problems with my amd 6770 for me they are at 1300 and i didn't notice a problem at all at least nothing i'm aware off.
using a queue like 4/4 solved the "issue" but more interesting is the fact that my hd4000 in the same pc doesn't have any problems with queues like 24/24l the 6770 is still running but all displays are disconnected.
even with 4/4 the error comes back after some time
with evr cp there r no problem at all with dpc spikes.



Yeah, there definitely seems to be a problem with DPC spikes with the combination of AMD/ATI 5xxx/6xxx series and madVR. After my last post I also ran into these issues again. With 8/4 queue sizes and 8 frames in advance it was quite stable but after playback runs a while these dpc spikes crept in again. This still leads to occasional audio drops (no matter how large I set the ASIO buffer). The only way to avoid this is using EVR - sadly.

aufkrawall
16th October 2012, 16:26
You have all the influence on it by changing the filename. :)
If you know that it works that way, but it's nowhere indicated.

MSL_DK
16th October 2012, 16:29
I am about to calibrate my TV/htpc. I know this is not quite right to do through mpc/madVR but I do not own a blu-ray player... yet.

When I calibrate through mpc/madVR would it be most optimal to choose 'this display is already calibrated' choose BT.709 select pure power curve 2.20 and 'disable GPU gamma ramps'?

I calibrate using X-Rite i1Display Pro, ColorHCFR and AVS HD 709 - Blu-ray & MP4 Calibration

crotecun
16th October 2012, 17:50
If you know that it works that way, but it's nowhere indicated.

That's more like a documentation problem than a configuration problem.

If madVR gets a checkbox to disable the file tokens it would be nigh useless since most users would not know about the filename tokens in the first place and they wouldn't check the option. But if it is checked by default, then madVR would lose a fair bit of functionality since the filename tokens would be disabled.

Basically by the time you know about the option to disable the filename tokens then you would also know that you could have done the same by just renaming the files yourself.

It's better to document this function thoroughly. If it hasn't been done already, perhaps a status in the on screen display whenever madVR follows a filename token to set the frame rate?

6233638
16th October 2012, 18:07
Well, you reported that the Jinc AR produces more (or uglier) ringing compared to e.g. Lanczos/Spline AR. I need more images which demonstrate that. Basically any images which make Jinc AR stumble somehow. And the more different the test images are the better. Thanks.I will try and find some more samples.

As I said, it's difficult outside of artificial tests, or recorded game footage. (most of the game footage I use has gone through an analogue video chain and is quite compressed, so it's not the same as an "artificial" screenshot) Most other content that needs scaled up already has a ton of ringing, and I find scalers like Jinc/Spline far too sharp for it.

I've had a quick look over some "problem discs" and so far it seems that with most real-world DVD content, Jinc is on-par or better than Spline as far as ringing is concerned with the anti-ringing filter enabled, but much better on aliasing. (as expected) I still find it far too sharp for SD content, and tend to go back to SoftCubic 80 though. Separate HD/SD scaling options would be nice, as I quite like Jinc 3 anti-ring for HD, and SoftCubic 80 for SD.
DVD playback is not officially supported by madVR yet. I can't fix things that I don't support and which require hacking the OS for me to even be able to reproduce the problem.The DVD problems don't require OS hacks to show up - as soon as I try to play a DVD in MPC-HC with madVR, I get Macrovision errors, whether it's ffdshow or LAV Filters doing the decoding, and this is with AnyDVD running.

The "OS hacks" are required to try and get DVD playback working in madVR, and now only require changing a registry key to point it to a different DVD Navigator instead of replacing system files.

If you get this package (http://www.filedropper.com/dvdnavigator), and use the executable to point it to the qdvd.dll contained within (Windows XP's DVD Navigator) DVD playback works, but it has a tendency to crash on seeking (video keeps playing, but MPC-HC is unresponsive) and menus don't always work correctly.

There was a brief period where you could get Windows 7's DVD Navigator working with specific builds of LAV Filters, but Nevcariel doesn't know what it was that enabled them to work, and he apparently has the Windows 7 DVD Navigator working correctly on his system in all current builds of LAV Filters. (but I can't see how - I only have madVR and LAV Filters running in my tests on a fresh install of Windows)

nevcairiel
16th October 2012, 18:10
The DVD problems don't require OS hacks to show up - as soon as I try to play a DVD in MPC-HC with madVR, I get Macrovision errors, whether it's ffdshow or LAV Filters doing the decoding, and this is with AnyDVD running.


He wasn't answering about Macrovision errors, but playback errors/player lockups when using the "hack", which someone inquired about.

Pat357
16th October 2012, 18:31
Well, encoders/muxers usually flag correctly, or not? .
No, the muxer/encoder often take whatever the user inputs : bullshit in -> bullshit out.

On playback the demuxers/splitters have (often) no choice then reading the flags from the file ; there is no way for the splitter to know whether these are correct for this file are not.
Some things like FPS can be "measured" for a few frames ; the splitter can use these as an "approximation" for the real FPS, without being sure of it;
This all makes that playback will look very bad : playing to fast/slow, shakey, combing, 3/2 jitter + not smooth, blurry, wrong colors, artifacts from de-interlacing progressive content , ....

iSunrise
16th October 2012, 19:37
The DVD problems don't require OS hacks to show up - as soon as I try to play a DVD in MPC-HC with madVR, I get Macrovision errors, whether it's ffdshow or LAV Filters doing the decoding, and this is with AnyDVD running.

The "OS hacks" are required to try and get DVD playback working in madVR, and now only require changing a registry key to point it to a different DVD Navigator instead of replacing system files.

If you get this package (http://www.filedropper.com/dvdnavigator), and use the executable to point it to the qdvd.dll contained within (Windows XP's DVD Navigator) DVD playback works, but it has a tendency to crash on seeking (video keeps playing, but MPC-HC is unresponsive) and menus don't always work correctly.

There was a brief period where you could get Windows 7's DVD Navigator working with specific builds of LAV Filters, but Nevcariel doesn't know what it was that enabled them to work, and he apparently has the Windows 7 DVD Navigator working correctly on his system in all current builds of LAV Filters. (but I can't see how - I only have madVR and LAV Filters running in my tests on a fresh install of Windows)
Did you already try nevcarielīs latest DVD betas? I also had problems with the standard DVD Navigator filter in Windows 7 with older LAV builds. DVD playback works perfectly fine here now, without having to change anything in the OS itself. Just leave AnyDVD running in the background. LAV even shows DVD menus now, which is awesome.

PS: Iīm on Windows 7 x64 Ultimate. Playback chain is only LAV and madVR (using PotPlayer).

@madshi:
What I would really find useful is to have like 2 different upscaling setups, where either madVR can automatically choose between them (e.x. source: movie resolution) or/and the user can toggle (override) between them if needed. I think you already mentioned something like that in your last posts.

I usually prefer sharp algorithms, however, there is some content out there that just scales very badly to 1080p (or in the future even higher), where you need to think a bit differently. I love your work on Jinc, excited to see where you can take it.

6233638
16th October 2012, 20:17
Did you already try nevcarielīs latest DVD betas? I also had problems with the standard DVD Navigator filter in Windows 7 with older LAV builds. DVD playback works perfectly fine here now, without having to change anything in the OS itself. Just leave AnyDVD running in the background. LAV even shows DVD menus now, which is awesome.I have just tried installing the latest MPC-HC and LAV Filters builds from here (http://xhmikosr.1f0.de/) and it's still not working. (previously, I was using the builds with DVD playback enabled that were posted in the LAV Filters topic)

My filter list with DVDs is: ReClock Audio Renderer (I have tried changing audio renderer, it makes no difference)
madVR
LAV Audio Decoder
LAV Video Decoder
DVD Navigator
I get "Macrovision Fail" any time I try playing a DVD with the Windows 7 DVD Navigator. (Windows 7 Pro x64 SP1)

I just reinstalled Windows 7 a couple of weeks ago, after trying out Windows 8 (too many compatibility issues for me) so it's not like I have anything else installed on my system that should be causing it.

Are you running with an AMD or Nvidia card in your system? That's about the only other thing I can think it could be that is causing this to work fine on some systems, and not at all on others.

strumf666
16th October 2012, 22:38
You told me you were using "1080p23, 1080p24, 1080p50, 1080p60". Which was not true. You are actually using "1080p23, 1080p24, 1080p25, 1080p30, 1080p50, 1080p60". madVR consequently selects 1080p25 for 25Hz content, but unfortunately your GPU reports "bad mode" when trying to switch to 1080p25. You should only enter valid display modes into the madVR display switching field.
Apologies, I use projector and TV for output and I must have forgotten to delete the 25p from projector settings. Regarding the graphics card reporting it as bad, that's probably because my projector doesn't support it or do AMD cards have issues with it?
Thanks for your help :)

dansrfe
17th October 2012, 00:38
I have just tried installing the latest MPC-HC and LAV Filters builds from here (http://xhmikosr.1f0.de/) and it's still not working. (previously, I was using the builds with DVD playback enabled that were posted in the LAV Filters topic)

My filter list with DVDs is: ReClock Audio Renderer (I have tried changing audio renderer, it makes no difference)
madVR
LAV Audio Decoder
LAV Video Decoder
DVD Navigator
I get "Macrovision Fail" any time I try playing a DVD with the Windows 7 DVD Navigator. (Windows 7 Pro x64 SP1)

I just reinstalled Windows 7 a couple of weeks ago, after trying out Windows 8 (too many compatibility issues for me) so it's not like I have anything else installed on my system that should be causing it.

Are you running with an AMD or Nvidia card in your system? That's about the only other thing I can think it could be that is causing this to work fine on some systems, and not at all on others.

I have the DVD navigator working on both of my systems with ATI and nvidia. Did you apply the path hack that is in the dslibdvdnav thread?

6233638
17th October 2012, 02:58
While it's probably not what you were looking for, as it's still relatively artificial, here are a couple of samples that show ringing around the edge of subtitles that the current anti-ringing filter doesn't catch. (Munich (http://www.imdb.com/title/tt0408306/) DVD)

http://www.abload.de/thumb/screenshot179sap.png (http://www.abload.de/img/screenshot179sap.png) http://www.abload.de/thumb/screenshot280s67.png (http://www.abload.de/img/screenshot280s67.png)

I would say that Spline 3 AR exhibits slightly less ringing in these samples compared to Jinc 3 AR.

Mitchell-Netravali AR shows minimal ringing, and SoftCubic 80 shows negligible ringing with these images. Anything else is rings too much for my tastes. (but I'm pushing myself to use Jinc 3 to look for things like this)

Jinc 3 AR and SoftCubic 80 are the only resamplers that show good anti-aliasing properties on the diagonals. (but the source is very aliased)

As with most DVDs though, even if the ringing introduced by Jinc were eliminated, I think it is still too sharp to use due to the amount of ringing already encoded in the source.
I have the DVD navigator working on both of my systems with ATI and nvidia. Did you apply the path hack that is in the dslibdvdnav thread?I have that working fine, but other people here are reporting that the Windows 7 DVD Navigator is now working with the latest versions of LAV Filters and madVR, which I cannot get working at all. ("Macrovision Fail" error)

I can only get the XP DVD Navigator (qdvd.dll set using the tool provided with dslibdvdnav) or dslibdvdnav working with madVR, neither of which are great solutions. The XP DVD Navigator crashes on seeking 90% of the time (video plays, but the player becomes unresponsive) and dslibdvdnav doesn't work with a large number of DVDs that I own.

There was a brief period where an older version of LAV Filters worked with the Windows 7 DVD Navigator, and that played most of the discs I tried without issue, however that has now broken for me in updated versions of LAV Filters. (but there are new features/bugfixes that I need from them)


Apologies, I use projector and TV for output and I must have forgotten to delete the 25p from projector settings. Regarding the graphics card reporting it as bad, that's probably because my projector doesn't support it or do AMD cards have issues with it?
Thanks for your help :)I don't know of any display which accepts a 25Hz (25p) signal. With Nvidia, "25Hz" actually outputs 1080i50 if I remember correctly. (which is then deinterlaced to 1080p25)

Pulstar
17th October 2012, 07:00
Any idea why madVR switches to TV levels output with certain SD/AVC files, regardless of decoder? All monitors in madVR are set to PC levels.

Peekstra
17th October 2012, 08:56
Recently, I noticed some tearing with Madvr in the upper part of the image (mainly during horizontal movements):

http://imageshack.us/a/img443/5791/img20121015224837.th.jpg (http://imageshack.us/photo/my-images/443/img20121015224837.jpg/)

http://imageshack.us/a/img337/315/img20121015224749.th.jpg (http://imageshack.us/photo/my-images/337/img20121015224749.jpg/)

These (sorry) rather unclear photo's show it on my TV. I don't know if it happens with HD / no PAL material as well as I've been mainly watching SD (PAL) content for the last weeks which I don't do very often. As I don't very often watch PAL material its also possible that this problem already was present before the more recent Madvr builds although I'm inclined to think it has started happening with the more recent builds.

It's very difficult to reproduce because it can take hours before it happens. When I restart the player, the problem is gone.

The TV is set to the same refreshrate as the source material by Madvr and has a very low deviation (< 0.001%).

I'm using the latest Nvidia WHQL drivers and it happened with the previous one as well. The GPU is a GTX670 and the player is Zoomplayer 8.16

And I'm also using the HPET settings which were posted earlier in this thread.

Madvr is using all the default options for as far as I can tell.

cyberbeing
17th October 2012, 10:46
Crash with madVR v0.84.3 & MPC-HC ISR r6086
http://www.mediafire.com/?a9698iv9rucvr6r

Doesn't seem easily reproducible, so this could be a MPC-HC ISR bug and not a madVR bug. It crashed when the MPC-HC ISR was trying to display a line right after a chapter point. The line in question specified a missing font, so the MPC-HC ISR probably crashed when attempting to load or render the gdi fallback font.

NicolasRobidoux
17th October 2012, 15:15
While it's probably not what you were looking for, as it's still relatively artificial, here are a couple of samples that show ringing around the edge of subtitles that the current anti-ringing filter doesn't catch.IMHO, this is exactly the kind of image where EWA Quadratic B-spline smoothing shines. It's cheap (radius=1.5), it smooths out ringing, and it's not offensively blurry: http://web.cs.laurentian.ca/nrobidoux/misc/madVR/screenshot179sapEWAQuadratic.png
(http://web.cs.laurentian.ca/nrobidoux/misc/madVR/screenshot179sapEWAQuadratic.png)
On the other hand, I imagine that Mathias has something else to do than add such a "special purpose" filter: Unless the image is pixelated and/or full or ringing/halo almost to the point of being considered "defective", this filter is too soft, at least for luma.

NicolasRobidoux
17th October 2012, 15:41
I actually have programmed a relative of EWA quadratic B-spline smoothing, called VSQBS (Vertex Split with Quadratic B-Spline Smoothing) which is an unbelievably cheap scheme (my guess is would be screamingly fast on a GPU), in a different library than ImageMagick, namely VIPS (Virtual Image Processing System) and its GUI NIP2 (New Image Processor 2). It has slightly better jaggy reduction, at the cost of a touch more blur. http://web.cs.laurentian.ca/nrobidoux/misc/madVR/screenshot179sapVSQBS.png
(http://web.cs.laurentian.ca/nrobidoux/misc/madVR/screenshot179sapVSQBS.png)
VSQBS is not for downsampling. To get a similar scheme for downsampling, you should switch to EWA or tensor quadratic B-spline smoothing.

When enlarging, VSQBS uses the 8 input pixel values closest to the output pixel location to produce its value, and it's really easy to determine these 8.

(Note: Neither with ImageMagick nor VIPS did I do careful import and export of the png. This is why there is a slight difference in colouring in some browsers.)

P.S. Despite the reduced jaggies, I actually like EWA quadratic B-spline smoothing better than VSQBS.

6233638
17th October 2012, 16:34
IMHO, this is exactly the kind of image where EWA Quadratic B-spline smoothing shines. It's cheap (radius=1.5), it smooths out ringing, and it's not offensively blurry: http://web.cs.laurentian.ca/nrobidoux/misc/madVR/screenshot179sapEWAQuadratic.png
(http://web.cs.laurentian.ca/nrobidoux/misc/madVR/screenshot179sapEWAQuadratic.png)
On the other hand, I imagine that Mathias has something else to do than add such a "special purpose" filter: Unless the image is pixelated and/or full or ringing/halo almost to the point of being considered "defective", this filter is too soft, at least for luma.Soft filters are not necessarily bad for Luma. Unlike image processing where you might be upsampling a high quality photograph, the quality of commercially released DVDs is generally terrible. They have had all the high-frequency detail filtered out of them, and sharpened with very basic techniques that introduce a lot of ringing. Older discs also exhibit a lot of "mosquito" noise.

What I like about softer filters, is that they often blur out this offensive ringing/noise (note: I have no problem with film grain) while retaining most of the actual useful picture information.

This is perhaps going too far in the opposite direction, but SoftCubic 80 compared with Jinc 3 anti-ring:
http://www.abload.de/thumb/softcubici8rz3.jpg (http://www.abload.de/img/softcubici8rz3.jpg) http://www.abload.de/thumb/jinc55odk.jpg (http://www.abload.de/img/jinc55odk.jpg)

Source (http://www.abload.de/img/screenshotonpfh.png)

I actually have programmed a relative of EWA quadratic B-spline smoothing, called VSQBS (Vertex Split with Quadratic B-Spline Smoothing) which is an unbelievably cheap scheme (my guess is would be screamingly fast on a GPU), in a different library than ImageMagick, namely VIPS (Virtual Image Processing System) and its GUI NIP2 (New Image Processor 2). It has slightly better jaggy reduction, at the cost of a touch more blur.This looks pretty good. (along with your other example)

Recently, I noticed some tearing with Madvr in the upper part of the image (mainly during horizontal movements)
...

These (sorry) rather unclear photo's show it on my TV. I don't know if it happens with HD / no PAL material as well as I've been mainly watching SD (PAL) content for the last weeks which I don't do very often. As I don't very often watch PAL material its also possible that this problem already was present before the more recent Madvr builds although I'm inclined to think it has started happening with the more recent builds.
Do you have interpolation enabled on your TV? (motion smoothing) A number of displays can introduce their own screen tearing when using it. (I think just about all Sony TVs do with MotionFlow enabled for example) You should be able to take a screenshot that shows tearing, if it is not the display.
You are using an Nvidia graphics card, do you have "Adaptive V-Sync" enabled? This allows the GPU to tear.
You say that you don't often play PAL material, are you outputting it at 50Hz? (Or 24p with ReClock's PAL SpeedDown?)

NicolasRobidoux
17th October 2012, 17:09
On the Danny Glover shot, EWA quadratic B-spline smoothing has nothing over (tensor, I imagine) SoftCubic 80.
(Being sloppy, I can't quite align things using an ImageMagick command, so this is with the not-quite-aligned eyeball metric.)
P.S. I managed to get alignment. They're so close one could almost say they're clones. EWA Quadratic is a minuscule amount sharper and jaggier. I think SoftCubic wins by a whisker.
No "normal viewer" would see the difference, though. Even zooming in with a high quality image viewer (I use NIP2, of course: it's really fast, and I'm a dev).
P.S.2 Scrutinizing some more, SoftCubic 80 wins: less jaggies, without significant additional blur, and with very little additional halo.
P.S.3 But basically, you have to zoom in to break the tie.

Peekstra
17th October 2012, 18:25
You are using an Nvidia graphics card, do you have "Adaptive V-Sync" enabled? This allows the GPU to tear.
You say that you don't often play PAL material, are you outputting it at 50Hz? (Or 24p with ReClock's PAL SpeedDown?)[/list]

The TV is perfectly in sync at 50hz so that's not the problem.

While the TV does some smoothing but I don't think that's the culprit here. But....

It's probably the adaptive vsync option, it's enabled. I'll turn it off during playing a video and try if it happens again.

:thanks:

yok833
17th October 2012, 18:49
I have an random issue with all the version of Madvr... I have an ATI 6850 with a X4 925, 8 GB Ram and W7 64. The problem is after a certain period the screen is divided in 2 with a lot of artifacts.
Do you have an idea of the reason and how to fix??? At the moment the only solution is to reboot the system (close the session is not enough and the image is still splited in 2)

Moony349
17th October 2012, 20:02
My best guess is your video card is overheating.

iSunrise
17th October 2012, 21:45
Are you running with an AMD or Nvidia card in your system? That's about the only other thing I can think it could be that is causing this to work fine on some systems, and not at all on others.
I have a GTX580, currently still running on the 301.40 beta drivers. If itīs not because of the beta drivers, I must say that I am out of ideas, your setup seems to be very close to mine. If itīs not the graphics drivers, could this actually be caused by the soundcardīs drivers? I have a Creative X-Fi Titanium PCIe.

Soft filters are not necessarily bad for Luma. Unlike image processing where you might be upsampling a high quality photograph, the quality of commercially released DVDs is generally terrible. They have had all the high-frequency detail filtered out of them, and sharpened with very basic techniques that introduce a lot of ringing. Older discs also exhibit a lot of "mosquito" noise.

What I like about softer filters, is that they often blur out this offensive ringing/noise (note: I have no problem with film grain) while retaining most of the actual useful picture information.

This is perhaps going too far in the opposite direction, but SoftCubic 80 compared with Jinc 3 anti-ring:
http://www.abload.de/thumb/softcubici8rz3.jpg (http://www.abload.de/img/softcubici8rz3.jpg) http://www.abload.de/thumb/jinc55odk.jpg (http://www.abload.de/img/jinc55odk.jpg)
There are indeed some very bad commercial DVDs out there. Iīm not sure why (compressibility? lack of time? botch job? all of them?), but a lot of NTSC DVDs tend to have a lot of ringing in them. PAL DVDs not so much. I own a big shelf of DVDs that I am going through, because I couldnīt get them to work with madVR until now.

The example you provided indeed looks horrible. What I would find interesting to play around with is some fine-tuning value for the anti-ringing filter, so for such cases where we actually want to remove the ringing some more, we could do that. We would still have the added benefits of the Jinc algorithm and the image (luma) would still be reasonable sharp. If weīre dealing with high quality content, tiny amounts of ringing are not bothering me at all (AR could be turned off altogether). It all also depends on how far someone is sitting away from the screen, because at a distance of 2-3 meters away, itīs extremely hard to impossible to make out ringing at all. In this case I usually prefer a sharper image.

6233638
18th October 2012, 00:23
I have a GTX580, currently still running on the 301.40 beta drivers. If itīs not because of the beta drivers, I must say that I am out of ideas, your setup seems to be very close to mine. If itīs not the graphics drivers, could this actually be caused by the soundcardīs drivers? I have a Creative X-Fi Titanium PCIe. Strange, I just use HDMI out from my GTX 570. You are definitely using the default Windows 7 DVD Navigator?

There are indeed some very bad commercial DVDs out there. Iīm not sure why (compressibility? lack of time? botch job? all of them?), but a lot of NTSC DVDs tend to have a lot of ringing in them. PAL DVDs not so much. I own a big shelf of DVDs that I am going through, because I couldnīt get them to work with madVR until now. Actually, most of the DVDs I watch are PAL, and tend to suffer from a lot of ringing.

The example you provided indeed looks horrible. What I would find interesting to play around with is some fine-tuning value for the anti-ringing filter, so for such cases where we actually want to remove the ringing some more, we could do that. We would still have the added benefits of the Jinc algorithm and the image (luma) would still be reasonable sharp.To clarify, the ringing there is mostly encoded in the source, it is not Jinc at fault. I was just making the case that softer filters tend to be preferable with commercial DVD content. (Jinc seems well-suited to 720p content)

The anti-ringing filter does not remove ringing that is encoded in the source, only ringing that is caused by the scaling algorithm used.

strumf666
18th October 2012, 01:58
I don't know of any display which accepts a 25Hz (25p) signal. With Nvidia, "25Hz" actually outputs 1080i50 if I remember correctly. (which is then deinterlaced to 1080p25)
AMD outputs i50 as well when I select 25Hz refresh in catalyst and while I haven't tested it on current htpc, on my previous (E-350 using EVR) the result was unwatchable. Manually setting refresh to 50Hz did the trick though.
MadVR switches to 50Hz in case of 25p source now that I corrected the configuration so I am quite happy :)

jmone
18th October 2012, 09:48
Wow - been away for a few weeks so have just had a chance to play with the new Jinc / Anti Ring algorithm but it is too much for my 550ti in the desktop with heaps of dropped frames (96%+ GPU usage, spiking temp and fan ramps up on VC-1 1080(i) content) and is way to taxing for the iGPU on the i7-2600K in my HTPC with most material. While it looks great, what HTPC friendly GPU are people using?

nevcairiel
18th October 2012, 10:04
I'm running a 660 GTX now, the ASUS DirectCU II models have some good coolers which are really quiet. I'm a bit surprised that the 550Ti doesn't manage to do it, tbh.

jmone
18th October 2012, 10:13
So was I and it was only VC-1(i) content that caused the low render queue issue on the 550Ti as 264 1080(i) content was in the low 90% GPU level but was stable so it must be right on the max threshold for the 550Ti.

Pat357
18th October 2012, 10:41
Strange, I just use HDMI out from my GTX 570. You are definitely using the default Windows 7 DVD Navigator?
I think he is using PotPlayer and you're using MPC-HC, right ?
Well, I 've just discovered that LAV-video indeed works with MadVR for DVD-playback with *PotPlayer* !
I 've retested again with MPC-HC but no avail : "macrovision" error, even if the DVD has absolutely no copy-protection (made DVD myself).
To make things more complicated : I can watch DVD's using MPC-HC & MadVR if I use this freeware Open-source decoder : GPL MPEG1-2 decoder (http://sourceforge.net/projects/gplmpgdec/). It works perfect with the Win7 DVD navigator.
This makes me think that there must be something in the decoder that makes it work with the 7 DVDnav or not. But What is it ??

PS : can you try the open source GPL MPEG1-2 decoder (http://sourceforge.net/projects/gplmpgdec/) with MPC-HC & MadVR to play a DVD ? I want to be sure it's not a coincidence that it works for me.
If you don't like to run the installer, just open it using 7z or a .MSI unpacker : there is just the .ax and a .txt file IIRC.
Register .ax file : "regsvr32 filename.ax"

Xaurus
18th October 2012, 11:14
I'm running a 660 GTX now, the ASUS DirectCU II models have some good coolers which are really quiet. I'm a bit surprised that the 550Ti doesn't manage to do it, tbh.
That's the same gfx card I am running in my htpc, it's a great card and the Asus coolers are really quiet. I went from a passive gfx solution to that card and to be honest I can't hear any difference.

And it tackles anything you throw at it (madvr jinc etc).

iSunrise
18th October 2012, 12:45
Strange, I just use HDMI out from my GTX 570. You are definitely using the default Windows 7 DVD Navigator?
Yes, I am definately using the default Windows 7 DVD Navigator. Iīm not using MPC-HC though. In PotPlayer under Preferences -> Hardware -> DVD/Blu-ray in the Navigator selection I have selected "Microsoft DVD navigation (recommended)", which is also the default.

Hereīs my filter chain (as configured in PotPlayer):

DVD Navigator
LAV Video Decoder
Madshi Video Renderer
LAV Audio Decoder
DirectSound Audio Renderer

(I also have LAV splitter source configured for MPEG2 PS and MPEG 2 TS.)

I think he is using PotPlayer and you're using MPC-HC, right ?
Well, I 've just discovered that LAV-video indeed works with MadVR for DVD-playback with *PotPlayer* !
I 've retested again with MPC-HC but no avail : "macrovision" error, even if the DVD has absolutely no copy-protection (made DVD myself).
To make things more complicated : I can watch DVD's using MPC-HC & MadVR if I use this freeware Open-source decoder : GPL MPEG1-2 decoder (http://sourceforge.net/projects/gplmpgdec/). It works perfect with the Win7 DVD navigator.
This makes me think that there must be something in the decoder that makes it work with the 7 DVDnav or not. But What is it ??
The strange thing is that I have basically the same filter chain as 6233638. Even the video decoder is the same (LAV). The only things that are different are the audio renderer, the graphics card drivers and the media player.

The anti-ringing filter does not remove ringing that is encoded in the source, only ringing that is caused by the scaling algorithm used.
I know and thatīs also how it should be. What Iīm wondering though (just out of interest) is if it would be possible to use that algorithm in such a way that you could upscale e.x. with Jinc and let the anti-ringing filter remove ringing more aggressively, so that we donīt have to use SoftCubic which basically softens the whole image (if used on luma). Because thatīs one of the reasons why you (or even me in some cases) use SoftCubic in the first place, to hide source artefacts (which alters the image to some extend).

NicolasRobidoux
18th October 2012, 12:55
What you may want to do is use a filter that's strongly smoothing, and post-sharpen.