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

GCRaistlin
6th October 2013, 14:17
1. [up] Is there a way to force madVR to switch the monitor to 60 Hz when playing a 29.97 fps video? "1280x1024p60" setting doesn't work.
2. Is black screen expected when playing a BluRay (1920x1080i, MPEG-4 AVC, 29.97 fps) through LAV Video with deinterlacing enabled in Video mode (50p/60p)?

Skankee
6th October 2013, 15:37
...(2) images with very heavy blocking

I think this is a sample with a lot of blocking:

http://s14.directupload.net/images/user/131006/3ocxo7er.png


( if 16:9 is more useful:
http://s1.directupload.net/images/user/131006/dirfozb6.png )

huhn
6th October 2013, 16:10
Is that the same image you posted the last time? I don't remember this one. Anyway. I don't see much (if any) banding in the original image? Might be my lacking computer monitor, though.

i just mixed them up this is debanded
http://abload.de/img/eva3s2off3tay8.png
http://abload.de/img/eva3s2lowwxl9j.png
http://abload.de/img/eva3s2high4fa8f.png


and this lost detail or get really dark when deband is enabled

http://abload.de/img/eva3s1off93ado.png
http://abload.de/img/eva3s1lowlxzfy.png
http://abload.de/img/eva3s1highc1z64.png

michkrol
6th October 2013, 16:18
1. [up] Is there a way to force madVR to switch the monitor to 60 Hz when playing a 29.97 fps video? "1280x1024p60" setting doesn't work.
It should be "1024p60" or perhaps "1024p59" to get ~59,93Hz. Anyway you only enter vertical resolution.
2. Is black screen expected when playing a BluRay (1920x1080i, MPEG-4 AVC, 29.97 fps) through LAV Video with deinterlacing enabled in Video mode (50p/60p)?
Are you using LAV's deinterlacing or madVR's? if LAV's, try disabling it
Are you using hardware acceleration? if yes, try disabling it.
Also a screen with OSD (CTRL+J) might help identify the problem.

StephaneM
6th October 2013, 23:43
You'll need to have D3D9 installed and updated to the latest version. IIRC it's not installed by default, at least not with all helper dlls etc.
A quick follow up on this for those who may be concerned in the future.

For shaders to work when using madVR with a C# application (WinForm or WPF) and using a managed interop like Directshow Lib, you'll need to either :

* have DirectX 9c installed
* or have D3DCompiler_43.dll located in the same folder as your executable.

Otherwise you'll receive an E_FAIL error code when applying the shaders through the madVR interface (you'll also receive this error when your shader cannot be compiled).

So for instance on Windows 8, all you need to do is to include D3DCompiler_43.dll for shaders to work (no need to install DirectX runtime)

I'm wondering if this should be specified in the IMadVRExternalPixelShaders / mvrinterfaces.h file as a quick notice to prevent future developers having to lookup for this information.

Regards,
--
Stéphane.

tp4tissue
7th October 2013, 11:21
Question guys... If I am playing a 1080p video at 1080p native res... Is madvr doing anything "more" than other renderers? /excluding smoothmotion, deinterlace

Acetyl
7th October 2013, 12:00
Do you guys happen to have some images/scenes with typical blocking artifacts (I mean those 8x8 MPEG2 blocks)?

If so, I'd appreciate some screenshots. No samples needed for this, screenshots will do fine, but please use PNG and not JPG. Both (1) images with rather light blocking and (2) images with very heavy blocking would be useful. Thanks!

Starting from the heaviest.

http://i3.minus.com/ibwRaQWV9q3dPA.png

http://i3.minus.com/itwirQgJUOJJ9.png

http://i6.minus.com/ibrwJ5znJFerut.png

michkrol
7th October 2013, 12:13
Question guys... If I am playing a 1080p video at 1080p native res... Is madvr doing anything "more" than other renderers? /excluding smoothmotion, deinterlace

Read the first post.

With default settings maVR does things "better": you get higher quality chroma upscaling (necessary for >95% of content), better precision for calculations (higher quality RGB conversion), possibly better VSync, exclusive mode is great in terms of improved usability, those are probably most important for average user (like me).

With a little tweaking: you get the ability to calibrate your display, correct black levels with broken drivers/codecs/old (incompatible) TVs, switch refresh rate to match video, ability to use xySubFilter (higher quality subtitles and better performance, especially in ASS format), ability to set scaling algorithms to your liking (or hardware restrictions), the list goes on and on :cool:

tp4tissue
7th October 2013, 22:33
Read the first post.

With default settings maVR does things "better": you get higher quality chroma upscaling (necessary for >95% of content), better precision for calculations (higher quality RGB conversion), possibly better VSync, exclusive mode is great in terms of improved usability, those are probably most important for average user (like me).

With a little tweaking: you get the ability to calibrate your display, correct black levels with broken drivers/codecs/old (incompatible) TVs, switch refresh rate to match video, ability to use xySubFilter (higher quality subtitles and better performance, especially in ASS format), ability to set scaling algorithms to your liking (or hardware restrictions), the list goes on and on :cool:

Is chroma up-sampled when I'm playing 1080p material to 1080p monitor?

I recall reading some where that chroma is stored in a lower res.. Is that the "upsampling" you're refering to?

I read this a very long time ago..

But I'm building a SINGLE-fan pc for my mother right now, and Just really wondering if a 4770k IGP can cut it for native res. Because I know it doesn't do it @ 2560x1600 on my monitor.

Mom will be using a Large tv panel so it will just run at 1080p, she has old people eyes where she has trouble focusing on things that are close up. hence the large tv.

e-t172
7th October 2013, 22:44
Is chroma up-sampled when I'm playing 1080p material to 1080p monitor?

Yes. Typical video is stored as 4:2:0 where luma is 4X the resolution of chroma. In order to render it you need to upscale chroma to the resolution of luma.

SamKook
8th October 2013, 14:13
tp4tissues: You might want to give AMD a try if you plan to only use the internal graphics. I put a A10-6700 APU in my HTPC and I can use all the madvr settings I want(at least up to Jinc3).
I haven't done that many test on a 1080p TV since I don't own one, but I did enough test to know that I can play 24p fps 480p, 720p and 1080p content with Jinc3 for both chroma and luma with anti-ringing and smooth motion enabled without any dropped frames.
I only tested 2-3 minutes of each, but I was really impressed that it could handle it.

michkrol
8th October 2013, 21:29
I have Core i5-3570K with Intel HD4000 (Ivy Bridge). I watch movies at 1080p, usually DVDs, with SoftCubic chroma and image upscaling without problem. I can even use Jinc3 for image upscaling with 24p content (probably can handle up to 30p), but I just like SoftCubic better for DVDs and other low quality sources.
When it comes to 1080p content at native resolution, my netbook with Celeron 1007U (low voltage Ivy Bridge) with Intel HD (lowest end yesteryear Intel iGPU) can do it without breaking a sweat, as long as I have SmoothMotion disabled, so it shouldn't be a problem. For everything else, if you're willing to sacrifice quality, DXVA2 scaling is lightning-fast with newer Intel iGPUs.

EDIT: The AMD might be a better choice for HTPC, as mentioned by SamKook, but I have no experience with their newer products, hence my post is centered on Intel side.

Asmodian
9th October 2013, 02:53
tp4tissues: You might want to give AMD a try if you plan to only use the internal graphics. I put a A10-6700 APU in my HTPC and I can use all the madvr settings I want(at least up to Jinc3).
I haven't done that many test on a 1080p TV since I don't own one, but I did enough test to know that I can play 24p fps 480p, 720p and 1080p content with Jinc3 for both chroma and luma with anti-ringing and smooth motion enabled without any dropped frames.
I only tested 2-3 minutes of each, but I was really impressed that it could handle it.

If you are watching 720p or 1080p content on a 720p TV you cannot use Jinc3 for scaling the image (only the chroma is scaled up). Jinc3 is not an option for downscaling the image so it would be downscaled using something else as set in your downscaling options. I made this same mistake not long ago but when watching 2160p content on a 1440p screen. Jinc3 requires much more GPU power as source and destination resolutions go up.

Edit: Still it is nice to know the APU is fast enough to do Jinc3 chroma to 1080p and then downscale to 720p.

Sylt
9th October 2013, 07:39
Any news about x64 Support?

truexfan81
9th October 2013, 07:54
Any news about x64 Support?

yes, the answer from madshi is "not anytime soon"

SamKook
9th October 2013, 12:49
If you are watching 720p or 1080p content on a 720p TV you cannot use Jinc3 for scaling the image (only the chroma is scaled up). Jinc3 is not an option for downscaling the image so it would be downscaled using something else as set in your downscaling options. I made this same mistake not long ago but when watching 2160p content on a 1440p screen. Jinc3 requires much more GPU power as source and destination resolutions go up.

Edit: Still it is nice to know the APU is fast enough to do Jinc3 chroma to 1080p and then downscale to 720p.

I know upscaling isn't used much on my own TV(the res is 1360x768 and I mostly watch 720p content so it's still upscaled a bit) which is why I mentioned that I tried it on a 1080p TV(at my parents house, maybe I wasn't clear enough in my previous post) and it was still able to play them without dropped frames.
I just noticed that I didn't have anti-ringing enabled though contrary to what I though, but I'm going back there this weekend and I'll give it another try.

It also handle downscaling with catmull-rom with anti-ringing and linear light enabled for 1080p stuff on my 720p-ish TV if there was any doubt.

THX-UltraII
9th October 2013, 15:47
I have a feeling that this questions comes up from time to time but I would like to know the right 'video chain' to use for my purpose. What I do is play Blu-Ray material with MPC-BE. I use madVR as renderer and LAV video filter. My display device is a Sony VPL-VW1000ES.

So I think there are 3 things I need to config:

1. madVR: 16-235 or 0-255
2. LAV: TV(16-235) or PC(0-255) or Untouched (as input)
3. Projector HDMI range: AUTO or LIMITED or FULL
4. Intel HD graphics output range FULL or LIMITED

Can you guys point me in the right direction?

dansrfe
9th October 2013, 16:57
I have a feeling that this questions comes up from time to time but I would like to know the right 'video chain' to use for my purpose. What I do is play Blu-Ray material with MPC-BE. I use madVR as renderer and LAV video filter. My display device is a Sony VPL-VW1000ES.

So I think there are 3 things I need to config:

1. madVR: 16-235 or 0-255
2. LAV: TV(16-235) or PC(0-255) or Untouched (as input)
3. Projector HDMI range: AUTO or LIMITED or FULL
4. Intel HD graphics output range FULL or LIMITED

Can you guys point me in the right direction?

0-255, Untouched, Full, Full

Asmodian
9th October 2013, 18:15
@SamKook
Ah yes I misunderstood you (your limited testing was on a different screen, of course). It does sound like a great chip for an HTPC. I was just jumping to conclusions assuming what I thought was the same oversight I had recently made. :)

My GTX Titan goes over 90% doing 2160p@60fps to 1440p with Catmul-Rom+AR+LL image, Jinc3+AR chroma, smooth motion off; not using Jinc3+AR for the image. ;)

n3w813
9th October 2013, 18:44
Madshi,
When running a calibration session with ArgyllCMS and MadTPG, I've noticed that lower level patterns and some green patterns show some kind of blocking that actually moves around when displayed. Is this expected behavior?

I can provide camera screenshots if you need them.

Thanks

THX-UltraII
9th October 2013, 19:03
0-255, Untouched, Full, Full
Thanks for your reply. I just heard on the AVS community that the projector I own, the Sony VPL-VW1000ES, has got issues when inputting rgb. Does my software setup (madvr+mpc-be+lav filters+intel hd2000 graphics hdmi out) feeds my projector with rgb or something else?

Asmodian
9th October 2013, 19:07
Madshi,
When running a calibration session with ArgyllCMS and MadTPG, I've noticed that lower level patterns and some green patterns show some kind of blocking that actually moves around when displayed. Is this expected behavior?

I can provide camera screenshots if you need them.

Thanks

Yes, this is expected, I see it too. I understand it is dithering but it does seem rather large for dithering. I wonder what resolution the test image is rendered in?

Gagorian
9th October 2013, 20:50
Yes, this is expected, I see it too. I understand it is dithering but it does seem rather large for dithering. I wonder what resolution the test image is rendered in?

I have also the same thing, I asked madshi about it earlier and he said it's dithering. Seems a bit obvious though, not sure how much it affects the calibration result.

huhn
9th October 2013, 23:24
Thanks for your reply. I just heard on the AVS community that the projector I own, the Sony VPL-VW1000ES, has got issues when inputting rgb. Does my software setup (madvr+mpc-be+lav filters+intel hd2000 graphics hdmi out) feeds my projector with rgb or something else?

on default rgb you can change this in the driver.

madvr outputs rgb and your intel card transforms this to ycbcr with is bad...

if i remenber correct there was a way to output ycbcr with madvr but don't ask me how.

2. LAV: TV(16-235) or PC(0-255) or Untouched (as input)

this option does nothing at least with madvr because this is only used when lav changes the colorspace but madvr excepts nearly all colorspaces if not all

THX-UltraII
10th October 2013, 09:10
on default rgb you can change this in the driver.

madvr outputs rgb and your intel card transforms this to ycbcr with is bad...

if i remenber correct there was a way to output ycbcr with madvr but don't ask me how.



this option does nothing at least with madvr because this is only used when lav changes the colorspace but madvr excepts nearly all colorspaces if not all
Do you recommend to get a dedicated GPU? If so, which brand supports FULL RGB out for sure? NVIDIA or AMD?

drmpeg
10th October 2013, 09:43
Do you guys happen to have some images/scenes with typical blocking artifacts (I mean those 8x8 MPEG2 blocks)?

If so, I'd appreciate some screenshots. No samples needed for this, screenshots will do fine, but please use PNG and not JPG. Both (1) images with rather light blocking and (2) images with very heavy blocking would be useful. Thanks!

Heavy.

http://www.w6rz.net/vma.png

Ron

madshi
10th October 2013, 10:37
I have a DVD that has some menus that madVR does not work correctly with (it doesn't correctly highlight the menu options when you mouse over them - EVR works fine). I'm happy to log it into the tracker, but how would I get you a sample of the menus for you to check with?
Are we talking about LAV Video Decoder? If so, I think it's probably nevcairiel's job to fix this. At least I'd ask him first. If he says it's my problem, then I'll look into it.

1. [up] Is there a way to force madVR to switch the monitor to 60 Hz when playing a 29.97 fps video? "1280x1024p60" setting doesn't work.
You've already asked twice, I've already replied twice. If you ignore my replies, then I'll ignore your further questions.

Starting from the heaviest.

http://i3.minus.com/ibwRaQWV9q3dPA.png

http://i3.minus.com/itwirQgJUOJJ9.png

http://i6.minus.com/ibrwJ5znJFerut.png
I think this is a sample with a lot of blocking:

http://s14.directupload.net/images/user/131006/3ocxo7er.png
This looks more like mosquito noise, although in one of the images it does have the form of blocks. The blocks I'm looking for should have clear edges in 8x8 size.

My GTX Titan goes over 90% doing 2160p@60fps to 1440p with Catmul-Rom+AR+LL image, Jinc3+AR chroma, smooth motion off; not using Jinc3+AR for the image. ;)
Ouch. I suppose Jinc3AR doesn't work for image upscaling? (Something cheap for chroma.)

When running a calibration session with ArgyllCMS and MadTPG, I've noticed that lower level patterns and some green patterns show some kind of blocking that actually moves around when displayed. Is this expected behavior?

I can provide camera screenshots if you need them.
Dithering should be there, but it should not be visible as "blocking". A screenshot might help clear this up. You don't need to use a digicam for that, a simple PC screenshot should do the trick.

i just mixed them up this is debanded
http://abload.de/img/eva3s2off3tay8.png
http://abload.de/img/eva3s2lowwxl9j.png
http://abload.de/img/eva3s2high4fa8f.png

and this lost detail or get really dark when deband is enabled

http://abload.de/img/eva3s1off93ado.png
http://abload.de/img/eva3s1lowlxzfy.png
http://abload.de/img/eva3s1highc1z64.png
I see. Yes, "high" does lose detail in certain situations. But it also smooths out heavily banded gradiants very nicely. I guess I wouldn't recommend to enable "high" by default for all content. I do aim to have "low" work as a default option, without eating away any detail worth mentioning. Might need some tweaking...

It should be "1024p60" or perhaps "1024p59" to get ~59,93Hz. Anyway you only enter vertical resolution.
You can enter horizontal resolution as well, if you like, if there are different horizontal resolutions available for the same vertical resolution.

For shaders to work when using madVR with a C# application (WinForm or WPF) and using a managed interop like Directshow Lib, you'll need to either :

* have DirectX 9c installed
* or have D3DCompiler_43.dll located in the same folder as your executable.
See? I told you... :p

Question guys... If I am playing a 1080p video at 1080p native res... Is madvr doing anything "more" than other renderers? /excluding smoothmotion, deinterlace
As was already mentioned, chroma is upscaled in any case. However, the quality gain can vary between invisible to noticeable, depending on the content, and what your display is doing internally (e.g. does it maintain the full resolution of 4:4:4 input or not).

There are other benefits to madVR you can get with 1080p video at 1080p native res. You already mentioned smoothmotion and deinterlacing. There is also: Full control over decoding matrix and primaries, calibration, high bitdepth processing with dithering as the last step, and fullscreen exclusive mode with multiple pre-rendered frames (which improves playback reliability). More features to come soon, like debanding, for which is a test version already is available.

Is that what you want? The last one is the picture I use to test deblock filters because when this kind of filter is too high, it blurs the details on the ground.
Thanks, some of these should be helpful.

Heavy.
Heavy indeed. Thanks, Ron.

-------

Could use some more samples with light blocking. There are 2 different cases of light blocking:

(1) Only a few artefact blocks spread over the frame, but with hard edges.
(2) Big parts of the image covered in blocks, but the block edges are only barely visible.

Could use samples for both. Thanks!

THX-UltraII
10th October 2013, 10:53
Morguh Madshi,

I m thinking about getting the AMD 7950. Will this card give me perfect playback with madVR?

If so, am I right that I need to do:

1. set madVR to 0-255
2. set LAV filters to output 'same as input'
3. set nvidia output range to full range (does this need a registry fix or something or will it work with the most recent drivers 'out-of-the-box'?)
4. set nvidia input to 0-255
5. set my display to FULL RANGE

Any other things I need to config like settings in the nvidia control panel? Also, the LAV video filter has got a lot of boxes you can check with the input formats. Which do I select there? Only RGB32 and RGB24 and leave the rest unchecked?

Zachs
10th October 2013, 11:17
@madshi

using 86.11 i'm getting green colourspace(?) being shifted by about 32 pixels vertically. Switching back to EVR the video renders correctly.

Example here (I found it via google - no idea what the source is or whether it is a legal file):
http://www56.zippyshare.com/v/68759153/file.html

The same also happens with some of my HDTV records (one particular channel).

StephaneM
10th October 2013, 12:27
See? I told you... :pAnd I was listening :D

Though, I'll restate that it would have been nice to know that this dependency existed :sly:

There are other benefits to madVR you can get with 1080p video at 1080p native res. You already mentioned smoothmotion and deinterlacing.
Speaking of deinterlacing, I have not extensively tested everything but how is done this deinterlacing? From what I can read here madVR forward the request to deinterlace to the GPU (so DXVA deinterlacing)?

I'm wondering because I still find (for my personal HTPC use) that using a Cyberlink codec + EVR + DXVA2 with DXVA deinterlacing set to auto is what gives the best result : that is you will never ever see a comb effect (Note : this is on AMD GPU for DVB Broadcasted content)

With madVR sometimes I can clearly see comb effect (mainly on things that doesn't move as sharp objects like static text on commercials). Though it is vastly superior as not having madVR handling deinterlacing and leaving it to LAV filters (for instance, I don't see major issues with tickers : they look sharp and not blurry as hell like with some other deinterlacing techniques)

So I'm wondering if it's my fault : I'm the source filter, so I'm the first filter in the graph that is giving a media type, though I do not update this media type while the graph is flowing (I always thought that the video decoder should take this responsibility)

ryrynz
10th October 2013, 12:30
drmpeg, did I really need to see that? Just a link to the file or heaven forbid a thumbnail.. My eyes..

drmpeg
10th October 2013, 12:49
drmpeg, did I really need to see that? Just a link to the file or heaven forbid a thumbnail.. My eyes..
The blocks or Miley?:)

Ron

huhn
10th October 2013, 13:00
Morguh Madshi,

I m thinking about getting the AMD 7950. Will this card give me perfect playback with madVR?

If so, am I right that I need to do:

1. set madVR to 0-255
2. set LAV filters to output 'same as input'
3. set nvidia output range to full range (does this need a registry fix or something or will it work with the most recent drivers 'out-of-the-box'?)
4. set nvidia input to 0-255
5. set my display to FULL RANGE

Any other things I need to config like settings in the nvidia control panel? Also, the LAV video filter has got a lot of boxes you can check with the input formats. Which do I select there? Only RGB32 and RGB24 and leave the rest unchecked?
leave everything as it is. the worst you can do is to force rgb output in lav.

3. set nvidia output range to full range (does this need a registry fix or something or will it work with the most recent drivers 'out-of-the-box'?)


with nvidia you mostlikly need a tweak. very easy tweak.

4. set nvidia input to 0-255

just leave everything to "with the video player settings"

Do you recommend to get a dedicated GPU? If so, which brand supports FULL RGB out for sure? NVIDIA or AMD?
you got a hd 2000 and it work right ?

a 7950 is a total over kill but do as you please.

THX-UltraII
10th October 2013, 13:12
Thanks for your reply huhn.

Ok. So no need in lav to specifically DISable any of the checkboxes?

Can you point me in the right direction for the nvidia tweak?

You told me my Intel card transforms to ycbcr which is bad. So i just picked up a amd for this reason. Also, there has been too many reports about problems with the FULL/LIMITED output of Intel and I just want to be sure all works fine.

romulous
10th October 2013, 13:12
Are we talking about LAV Video Decoder? If so, I think it's probably nevcairiel's job to fix this. At least I'd ask him first. If he says it's my problem, then I'll look into it.

I was using LAV Video, yes. But LAV+EVR works fine, it is only the combination of LAV+madVR that does not work correctly. That to me says it's a madVR problem, especially as you have had to fix menu issues with madVR in the past. I know people have provided DVD menu samples here on Doom9 in the past, I just don't know how they do it.

Werewolfy
10th October 2013, 13:32
Could use some more samples with light blocking. There are 2 different cases of light blocking:

(1) Only a few artefact blocks spread over the frame, but with hard edges.
(2) Big parts of the image covered in blocks, but the block edges are only barely visible.

Could use samples for both. Thanks!

I tried to capture some scenes with lighter blocking, I hope that's what you're looking for. They're generally on the roof, the walls, the hairs or dark areas. I don't know why but the ratio on screenshots from DVD is not respected but I think it doesn't change anything for you.

http://imageshack.us/a/img4/5966/qhjt.th.png (http://imageshack.us/photo/my-images/4/qhjt.png/)

http://imageshack.us/a/img706/6029/cfdv.th.png (http://imageshack.us/photo/my-images/706/cfdv.png/)

http://imageshack.us/a/img59/9905/z1qs.th.png (http://imageshack.us/photo/my-images/59/z1qs.png/)

http://imageshack.us/a/img594/5466/k6ks.th.png (http://imageshack.us/photo/my-images/594/k6ks.png/)

http://imageshack.us/a/img801/9716/bp2m.th.png (http://imageshack.us/photo/my-images/801/bp2m.png/)

http://imageshack.us/a/img844/7215/oxip.th.png (http://imageshack.us/photo/my-images/844/oxip.png/)

http://imageshack.us/a/img34/3919/rij0.th.png (http://imageshack.us/photo/my-images/34/rij0.png/)

http://imageshack.us/a/img837/7488/uqtq.th.png (http://imageshack.us/photo/my-images/837/uqtq.png/)

http://imageshack.us/a/img833/47/sn61.th.png (http://imageshack.us/photo/my-images/833/sn61.png/)

http://imageshack.us/a/img585/3230/1s2z.th.png (http://imageshack.us/photo/my-images/585/1s2z.png/)

madshi
10th October 2013, 14:04
I m thinking about getting the AMD 7950. Will this card give me perfect playback with madVR?
Generally, the 7950 sounds powerful enough to do almost anything madVR currently does, as long as your output solution is limited to 1080p. If you need 4K output, that changes a lot of things, but it also depends on the framerate. But then there are also new algorithms coming to madVR in the near and far future, so what is fast enough today might not be fast enough in the future, if you want to make use of all new algorithms. But I don't know myself.

Speaking of deinterlacing, I have not extensively tested everything but how is done this deinterlacing? From what I can read here madVR forward the request to deinterlace to the GPU (so DXVA deinterlacing)?

I'm wondering because I still find (for my personal HTPC use) that using a Cyberlink codec + EVR + DXVA2 with DXVA deinterlacing set to auto is what gives the best result : that is you will never ever see a comb effect (Note : this is on AMD GPU for DVB Broadcasted content)

With madVR sometimes I can clearly see comb effect (mainly on things that doesn't move as sharp objects like static text on commercials).
In theory madVR should produce the same output as EVR, as long as you use the default settings. If you force madVR into film mode, everything changes, though, in that case you'll get IVTC. Which should work very nicely for all film based sources, but you will get really bad results for native video content.

With DVB content and madVR default settings, are those combing artifacts perfectly reproducable? Do they happen the same way at the same frame, every time you try? Or do they change? If you can perfectly reproduce such problems, it would be helpful to get a sample, so that I can look into it.

I'm not sure if the source filter can have an effect on deinterlacing. Normally I would expect the video decoder to decide, in combination with the video renderer. But I only see this from the view point of the video renderer, so I don't know for sure whether the video decoder might behave differently, depending on what the source filter might do. It might make sense to double check this with a different source filter. Or to make it easier, with MPC-HC, just to double check whether it's a problem with madVR or something else...

I was using LAV Video, yes. But LAV+EVR works fine, it is only the combination of LAV+madVR that does not work correctly. That to me says it's a madVR problem, especially as you have had to fix menu issues with madVR in the past. I know people have provided DVD menu samples here on Doom9 in the past, I just don't know how they do it.
It's been quite a while that I looked into anything like this. But from what I remember, LAV does most of the work and madVR only very little. Whether it works with EVR or not has nothing to say. I still think it's more likely that this needs to be fixed in LAV. I might be wrong, but I think nevcairiel has more experience with DVD menu problems, so it would be better to let him look into it first.

using 86.11 i'm getting green colourspace(?) being shifted by about 32 pixels vertically. Switching back to EVR the video renders correctly.

Example here (I found it via google - no idea what the source is or whether it is a legal file):
http://www56.zippyshare.com/v/68759153/file.html

The same also happens with some of my HDTV records (one particular channel).
Works fine here with both LAV Video Decoder and the internal madVR video decoder. Which decoder are you testing with? Probably a bug with that decoder.

I tried to capture some scenes with lighter blocking, I hope that's what you're looking for. They're generally on the roof, the walls, the hairs or dark areas. I don't know why but the ratio on screenshots from DVD is not respected but I think it doesn't change anything for you.
This is *extremely* light blocking. These might still be useful, to check that nothing goes too much wrong. But in many of those images I have a hard time finding the blocking even when zooming in. Do you maybe have something a bit stronger? So that you can see the blocks without zooming in, but only just?

Thanks!

P.S: The Aspect ratio is good that way, if you would correct it, the blocks wouldn't be 8x8, anymore.

Werewolfy
10th October 2013, 14:24
This is *extremely* light blocking. These might still be useful, to check that nothing goes too much wrong. But in many of those images I have a hard time finding the blocking even when zooming in. Do you maybe have something a bit stronger? So that you can see the blocks without zooming in, but only just?

Thanks!

P.S: The Aspect ratio is good that way, if you would correct it, the blocks wouldn't be 8x8, anymore.

Ok here it's a little easier to spot.

http://imageshack.us/a/img34/2682/qmn.png

http://imageshack.us/a/img443/1843/981a.th.png (http://imageshack.us/photo/my-images/443/981a.png/)

http://imageshack.us/a/img268/5052/k8sk.png

http://imageshack.us/a/img9/7848/hnui.th.png (http://imageshack.us/photo/my-images/9/hnui.png/)

http://imageshack.us/a/img209/4141/6ggz.th.png (http://imageshack.us/photo/my-images/209/6ggz.png/)

http://imageshack.us/a/img543/1365/sjdn.th.png (http://imageshack.us/photo/my-images/543/sjdn.png/)

huhn
10th October 2013, 14:36
Thanks for your reply huhn.

Ok. So no need in lav to specifically DISable any of the checkboxes?

no

Can you point me in the right direction for the nvidia tweak?

You told me my Intel card transforms to ycbcr which is bad. So i just picked up a amd for this reason. Also, there has been too many reports about problems with the FULL/LIMITED output of Intel and I just want to be sure all works fine.
yeah intel is a big truble maker i get limited rgb with my pc monitor...

there is a file called madNvLevelsTweaker.exe in the madvr folder just use that.

THX-UltraII
10th October 2013, 14:48
I thought that that tool is only for nvidia.

What is THE best PQ algorithm to use for 1080p when sending out 1080p to my projector? (I ll stay with 1080p outputting for now and let my vw1000 do the 4k upscaling)

StephaneM
10th October 2013, 15:29
In theory madVR should produce the same output as EVR, as long as you use the default settings.Well in this case I'm having an issue, but I'm not sure whose fault it is.

Here are my observations:

I use MPC-HC (to rule out issues with my own software), on an AMD graphic cards (fairly old on my dev machine a HD 4600) on Windows 8.


DVB MPEG2 SD Interlaced content with LAV Auto for deinterlacing and set to DXVA2 (native) on EVR : Deinterlacing is Ok (though LAV reports avcodec as the decoder used)

DVB H264 HD Interlaced content with LAV Auto for deinterlacing and set to DXVA2 (native) on EVR : Deinterlacing is Ok (LAV reporte dxva2n as the decoder used)

DVB MPEG2 SD Interlaced now with madVR (automatic deinterlacing selected): Deinterlacing is Ok

DVB H264 HD Interlaced now with madVR (automatic deinterlacing selected): Deinterlacing is not Ok (i would say it's done twice : resulting in heavy stuttering)


So there is a little issue here with deinterlacing when using madVR because I cannot choose a settings in madVR or LAV that will work for everything and use DXVA interlacing.

The same thing happens when I use my own software (which doesn't set any interlaced information on the media type, as I don't use a VIDEOINFOHEADER2 at all, I only set the avg frame rate)

With DVB content and madVR default settings, are those combing artifacts perfectly reproducable? Do they happen the same way at the same frame, every time you try? Or do they change? If you can perfectly reproduce such problems, it would be helpful to get a sample, so that I can look into it.Yes it is perfectly reproducable. Though I'm not always sure that DXVA deinterlacing is used. I'll send you a screenshot of the issue I'm seeing if I can verify that this is happening while madVR is using DXVA deinterlacing.

I'm not sure if the source filter can have an effect on deinterlacing. Normally I would expect the video decoder to decide, in combination with the video renderer. But I only see this from the view point of the video renderer, so I don't know for sure whether the video decoder might behave differently, depending on what the source filter might do. It might make sense to double check this with a different source filter. Or to make it easier, with MPC-HC, just to double check whether it's a problem with madVR or something else...It may have an effect because the source filter have to expose the media type for the video decoder. This is somehow difficult for me to provide this information as I'm using the DVB tables to identify the content of the streams and it seems that the interlacing nature of the video is not one of the thing I can found in a video stream descriptor.

huhn
10th October 2013, 15:37
I thought that that tool is only for nvidia.

What is THE best PQ algorithm to use for 1080p when sending out 1080p to my projector? (I ll stay with 1080p outputting for now and let my vw1000 do the 4k upscaling)
rules: Do not ask "what's best" because this question cannot be answered objectively.
Can you point me in the right direction for the nvidia tweak?

yeah ...

THX-UltraII
10th October 2013, 15:47
My bad: i bought a AMD (7950) and not a NVIDIA card.

Ok, so what you recommend for algo for 1080p content?

madshi
10th October 2013, 15:58
Ok here it's a little easier to spot.
Thanks, these should help.

I use MPC-HC (to rule out issues with my own software), on an AMD graphic cards (fairly old on my dev machine a HD 4600) on Windows 8.


DVB MPEG2 SD Interlaced content with LAV Auto for deinterlacing and set to DXVA2 (native) on EVR : Deinterlacing is Ok (though LAV reports avcodec as the decoder used)

DVB H264 HD Interlaced content with LAV Auto for deinterlacing and set to DXVA2 (native) on EVR : Deinterlacing is Ok (LAV reporte dxva2n as the decoder used)

DVB MPEG2 SD Interlaced now with madVR (automatic deinterlacing selected): Deinterlacing is Ok

DVB H264 HD Interlaced now with madVR (automatic deinterlacing selected): Deinterlacing is not Ok (i would say it's done twice : resulting in heavy stuttering)

There are 3 possible causes that are coming to my mind right now:

(1) Maybe deinterlacing is not activated, for some reason? Please activate the madVR debug OSD (Ctrl+J). It should tell you whether deinterlacing is active or not. If it's not active, you can force it active by pressing Ctrl+Alt+Shift+D multiple times.

(2) Maybe the field order is detected incorrectly? You can change it by pressing Ctrl+Alt+Shift+F.

(3) Maybe your GPU is too slow for the settings you've chosen? In the madVR debug OSD look at the number of dropped frames. Does it increase all the time? If so, try using "Bilinear" for chroma and image scaling as a quick test.

If the problem is not any of these things, maybe you can upload a sample for me to look at.

My bad: i bought a AMD (7950) and not a NVIDIA card.
Actually, unlike Intel and NVidia, AMD usually offers a limited/full switch in the GPU driver control panel. So AMD does this better than NVidia and Intel, and that's why the madNvLevelsTweaker tool isn't even needed for AMD users. I think the switch is called "pixel format" or something like that. Set it to full range (0-255) or whatever it is called.

StephaneM
10th October 2013, 16:42
(1) Maybe deinterlacing is not activated, for some reason? Please activate the madVR debug OSD (Ctrl+J).It is active. If I deactivated in madVR video is Ok (it is deinterlaced and playing smoothly)

(2) Maybe the field order is detected incorrectly? You can change it by pressing Ctrl+Alt+Shift+F.No doesn't change anything

(3) Maybe your GPU is too slow for the settings you've chosen? In the madVR debug OSD look at the number of dropped frames. Does it increase all the time? If so, try using "Bilinear" for chroma and image scaling as a quick test.There is indeed an impact when changing the downscaling (when I do tests, it's always windowed and so HD video is downscaled).

When I use Nearest Neightbor / Bilinear nothing changes : video stutter badly and madVR reports dropped frames (GPU load 70%), but it doesn't feels like dropped frames.

When I use DXVA2 : video is fine (GPU load 40%)

When I use anything from Mitchell-Netravali to SoftCubic : video is fine (GPU load from 50% to 90%)

When I use anything from Lanczos to Spline : video is not fine (GPU load 90%++), though I think it's because the GPU is clearly overloaded (it looks like normal dropped frames)

Changing chroma upscaling does nothing.

Note : Deinterlacing add approx. 40% of GPU load.

So GPU load explains some of it. Though I do not understand why the video IS deinterlaced even if I turn off deinterlacing in madVR (I can confirm that the video is interlaced)... It's confusing to say the least...

madshi
10th October 2013, 17:22
How did you confirm that the video is interlaced? And did you disable deinterlacing in LAV Video Decoder, too?

StephaneM
10th October 2013, 17:32
How did you confirm that the video is interlaced?
I load the video into VLC and disable any deinterlacing in VLC and I see comb effect.
And did you disable deinterlacing in LAV Video Decoder, too?
Yes in LAV for AMD there is no options to turn on / off hardware interlacing (And of course I do not turn on YADIF software interlacing). Field order is set to Auto / deinterlacing mode is set to Auto

Note : if I set deinterlacing mode to Disabled (progressive) in LAV it doesn't change anything for H264 HD (they seems deinterlaced), while for MPEG2 SD video are not deinterlaced when played back

Oh and I can also confirm that there is no other filters in the graph that would deinterlace without notice (graph = source / splitter / video decoder / renderer)

madshi
10th October 2013, 17:51
Probably VLC is doing something weird/wrong then? I don't know. Normally if a clip looks clean with deinterlacing turned off, that means that it's a soft-telecined movie file. I can look at this, if you want. If so, just upload a small sample with which I can reproduce the combing with VLC. Then I can tell you what's going on with that file.

StephaneM
10th October 2013, 18:28
Probably VLC is doing something weird/wrong then? I don't know. Normally if a clip looks clean with deinterlacing turned off, that means that it's a soft-telecined movie file.It's not movie content, it's regular broadcast content (when I do the same thing in VLC with broadcasted movie, yes there is no comb effect so that's ok)

I can look at this, if you want. If so, just upload a small sample with which I can reproduce the combing with VLC. Then I can tell you what's going on with that fileNo it's fine the problem was me :D the content is not always interlaced, so I was fooled by looking at the wrong spots in the stream, and the info reported by madVR OSD...

So the only confusing thing really is a combination of factors : LAV settings that makes you think hardware deinterlacing is not possible with AMD GPU, and the fact that even with bilinear the problem seems to be with the deinterlacing (wether the content is really interlaced or not).

What difference there is between bilinear and softcubic ? Are they applied at a different time in the rendering pipeline, that may explain what I'm seeing.

madshi
10th October 2013, 19:12
I'm not sure why you would have problems with bilinear but not with SoftCubic. Usually it's the other way round. Bilinear is ultra-cheap, SoftCubic consumes quite a bit more resources. So something is weird here. Have you been testing in windowed mode or in fullscreen exclusive mode? The latter is usually more reliable...

Could it be possible that you changed the scaling settings to bilinear in the wrong section? E.g. you changed it for upscaling instead of downscaling or something like that? A stupid question, I know, but I don't remember any other user having reported anything like this in the last couple of months. Usually bilinear (or nearest neighbor) has always worked better on slow GPUs than anything else, according to anything users have reported so far.