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

huhn
17th January 2014, 23:51
Stereodude: How do you plan on using nvidia's ivtc? Program, renderer, decoder, etc.

when you run madvr in video mode the deinterlacer from the gpu is used and there is an option for "use inverse telecine" the nvidia type does an good work with "field matching" but no frames are dropped/decimated and it's 2:3 (output is 60 fps) not 1:1 so it judder a lot and the picture quality is lower with nvidia compared to madvr ivtc maybe nvidia uses very good bob? i have not tested 30 fps deinterlacing from cuda maybe that has the same quality as madvr ivtc but with a repeated frame.

this deinterlacer should be the same deinterlacing as in CUDA.

DragonQ
18th January 2014, 00:27
i have not tested 30 fps deinterlacing from cuda maybe that has the same quality as madvr ivtc but with a repeated frame.
Yes, it's just weave with each frame repeated.

turbojet
18th January 2014, 00:59
Doing what huhn mentioned is not a good result with nvidia, combing artifacts quite often and like dragonq mentioned every frame is repeated which at times looks like a bunch of blended frames at 60fps. The only thing enabling nvidia ivtc does it looks like is reduce the combing artifacts a bit but still unwatchable imo.

huhn
18th January 2014, 01:11
Doing what huhn mentioned is not a good result with nvidia, combing artifacts quite often and like dragonq mentioned every frame is repeated which at times looks like a bunch of blended frames at 60fps. The only thing enabling nvidia ivtc does it looks like is reduce the combing artifacts a bit but still unwatchable imo.

are judging this with your 250 gts? if yes new cards like the 760 gtx does an very good job on the samples you posted above. only the judder is very annoying but there are no miss matched or at least i didn't see them at all. it's not like nvidia hasn't changed the past years.

DragonQ
18th January 2014, 01:54
Doing what huhn mentioned is not a good result with nvidia, combing artifacts quite often and like dragonq mentioned every frame is repeated which at times looks like a bunch of blended frames at 60fps. The only thing enabling nvidia ivtc does it looks like is reduce the combing artifacts a bit but still unwatchable imo.
25 fps doubled to 50 fps looks the same as 50 fps to me. Maybe because plasma already sub-samples loads anyway. That's with a GT 430, but I also don't notice a difference using my GTS 250 on a PC monitor (60 Hz with Smooth Motion).

This has nothing to do with the IVTC setting though; like you say, enabling it doesn't prevent 25/30p being presented as 50/60p if the stream is marked as interlaced.

00pontiac
18th January 2014, 06:15
(snip)
all my bluray rips are from my own real blurays and all ripped with my one default dvdfab profile, that is to say they're all pretty much identical. some videos are starting paused and some don't. it's always the same videos that start paused and the same ones that don't. as an example Game of Thrones season 2 episode 1 starts normally but season 2 episode 9 starts paused. other shows and movies do this too but what they are is probly insignificant.
(snip)


The bug tracker is for issues which are likely to be bugs in madVR, and which occur for more than just one user. If you're not sure, it makes sense to ask here first. In your specific case we should first check a few things, because I don't remember anyone else reporting your issue recently. So it could be a misconfiguration or some other filter making problems.

Could the problem have to do with the subtitles somehow? E.g. playback starting if there are no subtitles and not starting when there are some?

This problem is probably related to the "delay playback start until queues are full" option in the madVR settings.


hey! that's it! except the other way around. the videos that are pausing at startup are the videos without any subtitles. I'm using DirectVobSub as my Subtitle Renderer, I've tried with FFDShow too but no difference. I've tried disabling FFDShow subtitle rendering in Zoomplayer for both when VobSub is preferred and when no subtitle files/streams are found. not sure where to go from here....

I have an ongoing post at the zoomplayer forums with Ehat on this and another problem too, and I just posted there with this info, maybe he will come up with something. I'm a bit at a loss.

Thanks!

huhn
18th January 2014, 06:36
try a faster subtitle renderer like xy vobsub. the normal direct vob sub is very slow is bad for quality because is renders in rgb.
is there no build in overlay subtitle renderer in zoomplayer like in mpc hc?

turbojet
18th January 2014, 07:43
That was on a gtx 250 on a 650 the combing is removed but during playback it still looks like blended frames, maybe 7xx series is better? In both of my cases evr cp's deinterlacing was much more pleasing but not nearly as much as madvr's ivtc >95% of the time. A few tweaks by madshi could make madvr's ivtc the obvious choice for everything.

EDIT: MadVR see's 2:2 cadence on the whole episode this clip (http://www.mediafire.com/download/5l6llo814918rff/wrong_cadence_banding.mpg) is from, it should be 3:2. There's also a lot of banding in the last scene that might be helpful.

DragonQ
18th January 2014, 13:14
That was on a gtx 250 on a 650 the combing is removed but during playback it still looks like blended frames, maybe 7xx series is better? In both of my cases evr cp's deinterlacing was much more pleasing but not nearly as much as madvr's ivtc >95% of the time. A few tweaks by madshi could make madvr's ivtc the obvious choice for everything.
I'm confused. "EVR's deinterlacing" is the GPU's deinterlacing. That's what we're talking about, isn't it? If deinterlacing is enabled in MadVR it'll also use the GPU's algorithm(s), unless you force film mode, in which case MadVR will try to work out the cadence and recover the frames appropriately.

The nVidia cards you mention can do 25i/30i to 50p/60p perfectly well and will detect 2:2 cadence correctly too (but still output at 50p/60p). I have no idea whether they can do 3:2 pulldown well though; I'm sure MadVR is better at that.

EDIT: MadVR see's 2:2 cadence on the whole episode this clip (http://www.mediafire.com/download/5l6llo814918rff/wrong_cadence_banding.mpg) is from, it should be 3:2. There's also a lot of banding in the last scene that might be helpful.
Looks like 2:2 cadence to me (30p). Disabling deinterlacing completely results in 29.97 fps (according to MadVR) and stepping through each frame shows they are complete with no combing or repeating. Why do you think it should be 3:2 cadence (24p)?

PetitDragon
18th January 2014, 14:03
EDIT: MadVR see's 2:2 cadence on the whole episode this clip (http://www.mediafire.com/download/5l6llo814918rff/wrong_cadence_banding.mpg) is from, it should be 3:2. There's also a lot of banding in the last scene that might be helpful.

Yep, this clip should be 3:2 for sure.;)

Mirage!
18th January 2014, 14:04
I found a small bug in the latest test madVR (possibly even in the one on the first page). The checkbox "enable smooth motion frame rate conversion" is cleared every time I restart the media player. I use Windows 8.1, and it could be caused by the file system protection in Program Files (it can't be turned off easily in Win8). I don't quite understand how the settings are saved. There are duplicate settings in settings.bin, and in the registry.

DarkSpace
18th January 2014, 14:15
EDIT: MadVR see's 2:2 cadence on the whole episode this clip (http://www.mediafire.com/download/5l6llo814918rff/wrong_cadence_banding.mpg) is from, it should be 3:2. There's also a lot of banding in the last scene that might be helpful.
Perhaps the whole episode is different, but this clip detects as 3:2 throughout the whole video on the latest debanding test build.

AlexCeed
18th January 2014, 14:38
OIn that case it could be madVR's fault, or it could be the media player's fault. Which media player are you using? And does the problem also occur if you e.g. use EVR in fullscreen exclusive mode?

I'm using MPC-HC nightly build and this problem occurs only in madVR. EVR works OK.

Stereodude
18th January 2014, 15:03
when you run madvr in video mode the deinterlacer from the gpu is used and there is an option for "use inverse telecine" the nvidia type does an good work with "field matching" but no frames are dropped/decimated and it's 2:3 (output is 60 fps) not 1:1 so it judder a lot and the picture quality is lower with nvidia compared to madvr ivtc maybe nvidia uses very good bob? i have not tested 30 fps deinterlacing from cuda maybe that has the same quality as madvr ivtc but with a repeated frame.

this deinterlacer should be the same deinterlacing as in CUDA.I'm not sure what you're talking about. Nvidia had pretty much nailed deinterlacing and IVTC handling going back to the GT 8600 or earlier through subsequent driver revisions. Didn't you ever see the testing over the years with the Silicon Optix HQV Benchmark DVD? link (http://hothardware.com/Reviews/NVIDIA-GeForce-8800-GT--G92-Takes-Flight/?page=11)

You're telling me in the past 5 years they've totally screwed it all up and can't do it right anymore? This seems to say otherwise (http://www.anandtech.com/show/3973/nvidias-geforce-gt-430/4).

mindbomb
18th January 2014, 19:02
amd has recently announced their version of smooth motion called fluid motion. I think this opens up the possibility for hardware ivtc to not have judder. But yea, up until now, judder was still a problem.
http://images.anandtech.com/doci/7677/36%20-%20Fluid%20Motion%20Video.jpg

Stereodude
18th January 2014, 19:36
Judder is an artifact of the frame rate differences. There's no way to get rid of it on film based material unless the display supports frame rates that are a multiple of 24 or you interpolate new frames. The presence of judder hardly indicates that the hardware processing is low quality. In various testing in the past I recall both AMD and Nvidia cards changing the frame rate passed to the EVR to a multiple of 24 (23.976) on what started as i60 content in a file.

e-t172
18th January 2014, 19:45
amd has recently announced their version of smooth motion called fluid motion. I think this opens up the possibility for hardware ivtc to not have judder. But yea, up until now, judder was still a problem.
http://images.anandtech.com/doci/7677/36%20-%20Fluid%20Motion%20Video.jpg

What's in this slide is frame interpolation, not frame blending. It is not comparable to madVR SmoothMotion.

turbojet
18th January 2014, 23:25
DragonQ: I was testing EVR in MPC-BE vs. madvr in Potplayer. Potplayer has it's own deinterlace settings and when set to disabled it disables the gpu deinterlacing in evr/madvr. In order for madvr ivtc to work correctly it needs to be disabled. Comparing both renderers in mpc-be with a hard telecined film source, they both deinterlace but madvr leaves a lot of judder, unwatchable imo, while evr is smooth, display is at 60hz tested on nvidia 250 and 650, nvidia ivtc didn't seem to have any effect. With a 30 fps video source they both play fine like you mentioned.

The wrong_cadence file is filmed and while it appears to have no dupe frames when frame stepping. There are 2 of 5 nearly identical frames before deinterlacing and it ivtc's well, http://www.mediafire.com/download/tyqsulciimyviq5/wrong_cadence_banding_ivtcd.mkv

Darkspace: both clip and episode show 2:2 here with mpc-be and potplayer, what player are you using and what madvr deinterlace settings?

Stereodude: Nvidia ivtc may work very well with evr but not with madvr on a 250 and 650 ime.

The cadence_extreme file from earlier got flagged by mediafire for copyright and was blocked. I shortened it up and it along with the other madvr ivtc problem files can be found at https://www.mediafire.com/folder/3sjqpvk25lzq6/madvr%20ivtc

Asmodian
19th January 2014, 00:58
I found a small bug in the latest test madVR (possibly even in the one on the first page). The checkbox "enable smooth motion frame rate conversion" is cleared every time I restart the media player. I use Windows 8.1, and it could be caused by the file system protection in Program Files (it can't be turned off easily in Win8). I don't quite understand how the settings are saved. There are duplicate settings in settings.bin, and in the registry.

Are you using Zoom Player?
If so it actually has its own setting for smooth motion that overwrites madVR's.
Options->Playback->Video->Enable MadVR's smooth motion

DarkSpace
19th January 2014, 02:07
Darkspace: both clip and episode show 2:2 here with mpc-be and potplayer, what player are you using and what madvr deinterlace settings?
My player is the latest stable MPC-HC, my madVR deinterlacing settings are:
automatically activate deinterlacing when needed (if in doubt, deactivate)
disable automatic source type detection (force film mode)
not only look at pixels in the frame center

dansrfe
19th January 2014, 06:16
I'm not sure if this is relevant but why is D3D11 not used? Does it not offer any performance improvements over D3D9 for what madVR uses?

turbojet
19th January 2014, 08:47
DarkSpace: I can duplicate your results. If lav video decoder is used to decode the correct cadence 3:2 is detected, if ffdshow, internal mpc-be or potplayer decoders are used it detects 2:2. Potplayer also must have filter control>condition disabled, even if no processing is enabled, to work correctly with this and the evr/madvr deinterlacing. This looks to be reducing the cadence breaks quite a bit, what could cause the difference between lav video and the other decoders?

jkauff
19th January 2014, 09:56
I found a small bug in the latest test madVR (possibly even in the one on the first page). The checkbox "enable smooth motion frame rate conversion" is cleared every time I restart the media player. I use Windows 8.1, and it could be caused by the file system protection in Program Files (it can't be turned off easily in Win8). I don't quite understand how the settings are saved. There are duplicate settings in settings.bin, and in the registry.
You might try running your player using the "Run as Administrator" right-click option before you change any settings.

Mirage!
19th January 2014, 12:21
Are you using Zoom Player?
If so it actually has its own setting for smooth motion that overwrites madVR's.
Options->Playback->Video->Enable MadVR's smooth motion
Superb, thanks, mate. I'm using Zoom Player, and enabling this setting fixed it. I'm not sure why they chose to include this setting (and not other).

DarkSpace
19th January 2014, 13:03
DarkSpace: I can duplicate your results. If lav video decoder is used to decode the correct cadence 3:2 is detected, if ffdshow, internal mpc-be or potplayer decoders are used it detects 2:2.
Indeed, I am using the latest stable LAV. My guess here is that LAV either adds or doesn't add some flags that lead madVR to detect a 3:2 cadence.
I have no experience in playing back soft-telecined material, but could it be that the file is soft-telecined (at least parts of it) and LAV outputs it to a constant 30 fps and tells madVR which fields have been duplicated, and how?

madshi
19th January 2014, 18:01
hey! that's it! except the other way around. the videos that are pausing at startup are the videos without any subtitles. I'm using DirectVobSub as my Subtitle Renderer, I've tried with FFDShow too but no difference. I've tried disabling FFDShow subtitle rendering in Zoomplayer for both when VobSub is preferred and when no subtitle files/streams are found. not sure where to go from here....
Not sure. Have you tried xy-vsfilter? I'm not sure why the problem occurs. Try disabling/blocking the DirectVobSub auto-loading filter. Does that "fix" the problem?

The nVidia cards you mention can do 25i/30i to 50p/60p perfectly well and will detect 2:2 cadence correctly too (but still output at 50p/60p). I have no idea whether they can do 3:2 pulldown well though; I'm sure MadVR is better at that.
2:2 film mode vs video mode is pretty hard to get right and last time I checked NVidia fails here quite often. I've seen NVidia incorrectly handling film content as video content with several samples. I quite disagree with your statement of NVidia doing 25i/30i to 50p/60p "perfectly".

I'm using MPC-HC nightly build and this problem occurs only in madVR. EVR works OK.
Do you know a freeware game with which is able to run in fullscreen exclusive mode on a secondary display? That would be good for testing. In any case, please feel free to report this problem to the madVR bug tracker. I don't know when I'll find the time to look into this problem, though.

Nvidia had pretty much nailed deinterlacing and IVTC handling going back to the GT 8600 or earlier through subsequent driver revisions. Didn't you ever see the testing over the years with the Silicon Optix HQV Benchmark DVD?
What does the HQV Benchmark DVD have to do with anything? People put way too much stock into those test results. It contains just a bunch of test scenes. Real world material is often more difficult than those test scenes. Furthermore most of those test scenes are for video content. Only 2 of all those tests are targetted at film content.

NVidia does not have deinterlacing and IVTC "nailed" at all. It works reasonably well, but there's room for improvement. Of course the biggest problem is the lack of decimation, but we can't fault NVidia for that, it's a limitation of the DXVA deinterlacing API. But there are other problems, as well, e.g. reliable detection of PAL film vs video. Which btw the HQV Benchmark doesn't really stress test at all.

I'm not sure if this is relevant but why is D3D11 not used? Does it not offer any performance improvements over D3D9 for what madVR uses?
D3D11 does not support Vista and XP, both of which madVR still supports. Also DXVA is usually still based on D3D9 (although win7 now also supports hardware accelerated decoding with D3D11, I think).

DarkSpace: I can duplicate your results. If lav video decoder is used to decode the correct cadence 3:2 is detected, if ffdshow, internal mpc-be or potplayer decoders are used it detects 2:2.
That means that this content is soft-telecined and those decoders don't seem to properly forward the "repeat_first_field" flag to madVR. It's a bug in those decoders, not in madVR. No reason to use any of those decoders instead of LAV, anyway.

DragonQ
19th January 2014, 18:39
2:2 film mode vs video mode is pretty hard to get right and last time I checked NVidia fails here quite often. I've seen NVidia incorrectly handling film content as video content with several samples. I quite disagree with your statement of NVidia doing 25i/30i to 50p/60p "perfectly".
The phrase "perfectly well" is more akin to "adequately" than "perfectly". However, the only times I've seen irregularities it's been with mixed content (e.g. primarily interlaced but with progressive graphics in certain parts). From my testing, these issues are visible when using any deinterlacer (including those found on TVs) and are sometimes even problems at the encoder end, so I don't know of any way around this.

I don't think I've ever seen film content incorrectly treated as video content. What would that even look like? This has come up more than once in this thread and every time a 2:2 cadence sample is posted it gets weaved perfectly (not perfectly well :p) on my nVidia GPUs.

I do find it odd that 2:2 cadence is supposedly so difficult to detect though, particularly with 25i streams. Even high end TVs sometimes can't do it properly according to reviews.

madshi
19th January 2014, 19:01
Well, if film content is treated as video content, you don't see combing artifacts. Instead the image is just not as calm and high resolution as it would be if properly IVTCed. You might not notice the problem at real time watching speed, if you don't have a reference to compare to.

DragonQ
19th January 2014, 19:33
Well, if film content is treated as video content, you don't see combing artifacts. Instead the image is just not as calm and high resolution as it would be if properly IVTCed. You might not notice the problem at real time watching speed, if you don't have a reference to compare to.
Makes sense. Like I said though, I've never seen this. On the rare occasions where I've checked via frame-stepping, the video has always been weaved correctly. I wouldn't be surprised if it took a few frames to "lock on" to the 2:2 cadence though.

madshi
19th January 2014, 19:58
It probably works correctly most of the time. But there are scenes where it fails.

Stereodude
19th January 2014, 20:51
What does the HQV Benchmark DVD have to do with anything? People put way too much stock into those test results. It contains just a bunch of test scenes. Real world material is often more difficult than those test scenes. Furthermore most of those test scenes are for video content. Only 2 of all those tests are targetted at film content.

NVidia does not have deinterlacing and IVTC "nailed" at all. It works reasonably well, but there's room for improvement. Of course the biggest problem is the lack of decimation, but we can't fault NVidia for that, it's a limitation of the DXVA deinterlacing API. But there are other problems, as well, e.g. reliable detection of PAL film vs video. Which btw the HQV Benchmark doesn't really stress test at all.He said it didn't work and suggested they were using a Bob. I was simply pointing to some objective 3rd party measurements / test to show that it does work (in at least those test cases). That seemed better than saying, "It seems to work pretty well for me."

Where I live I'm pretty much never going to encounter PAL film content. It's either going to be film with a telecine to make it i60 which needs an IVTC, or true interlaced video content. IMHO, what would be nice would be user side options allowing some of the cadence patterns to be blocked in the IVTC routine, and some way to configure madVR so that it will attempt an IVTC and if the IVTC fails it will pass the footage to the video card driver for "video" deinterlacing. Currently it seems I have to disable automatic source type detection and force film for the IVTC routines in madVR to work, and if I play back true interlaced video content it's not going to be properly handled until I enable automatic source type detection again.

flashmozzg
19th January 2014, 21:07
D3D11 does not support Vista and XP, both of which madVR still supports. Also DXVA is usually still based on D3D9 (although win7 now also supports hardware accelerated decoding with D3D11, I think).

It supports Vista (or in other words Vista supports it). Only xp is left out. But xp will soon become not supported even by microsoft.

madshi
19th January 2014, 22:27
IMHO, what would be nice would be user side options allowing some of the cadence patterns to be blocked in the IVTC routine, and some way to configure madVR so that it will attempt an IVTC and if the IVTC fails it will pass the footage to the video card driver for "video" deinterlacing. Currently it seems I have to disable automatic source type detection and force film for the IVTC routines in madVR to work, and if I play back true interlaced video content it's not going to be properly handled until I enable automatic source type detection again.
The current madVR deinterlacing solution is just a first step. More steps to come at some point in the future. But probably not soon.

It supports Vista. Only xp is left out.
You're right. It's the 3D features of D3D11.1 which are not supported on Vista.

nevcairiel
19th January 2014, 22:28
You're right. It's the 3D features of D3D11.1 which are not supported on Vista.

Those are not even in 7, aren't they?

madshi
19th January 2014, 22:34
Oh yes, I think you're right! Seems my mind is playing tricks on me today. Need some sleep... :)

DragonQ
19th January 2014, 22:36
Those are not even in 7, aren't they?
.....
The Platform Update for Windows 7 includes a limited set of features from Direct3D 11.1, though components that depend on WDDM 1.2 - such as feature level 11_1 and its related APIs, or quad buffering for stereoscopic rendering - are not present.

turbojet
20th January 2014, 01:06
The 2:2, 3:2 file is indeed soft telecine, 96.55% film according to dgindex.

Where I live I'm pretty much never going to encounter PAL film content. It's either going to be film with a telecine to make it i60 which needs an IVTC, or true interlaced video content. IMHO, what would be nice would be user side options allowing some of the cadence patterns to be blocked in the IVTC routine, and some way to configure madVR so that it will attempt an IVTC and if the IVTC fails it will pass the footage to the video card driver for "video" deinterlacing. Currently it seems I have to disable automatic source type detection and force film for the IVTC routines in madVR to work, and if I play back true interlaced video content it's not going to be properly handled until I enable automatic source type detection again.

If madvr looked for a 3:2 pattern and if not found switched to deinterlacing it would work for almost everything out there. While I haven't done much watching with the 'fixed lav video' setup, doing this would solve almost all the problems I currently have. It keeps trying to find a cadence and can't. cadence.mpg is fixed with lav video. cadence_extreme.mpg and combing.mpg should be fixed if searching only for 3:2 or deinterlace. The interlaced overlay 'bottom_combing.mpg' and motion_bottom.mpg problems would still exist but maybe something can be found in IT.dll source (which handles both great).

EDIT: Would the repeat_first_flag or something else have an effect on hard telecined material? Switching to it reduce cadence breaks from about 1 per minute on average to 1 every 2.5-3 minutes.

huhn
20th January 2014, 05:43
Do you know a freeware game with which is able to run in fullscreen exclusive mode on a secondary display? That would be good for testing. In any case, please feel free to report this problem to the madVR bug tracker. I don't know when I'll find the time to look into this problem, though.

starcraft 2 is free to play (at least a part of it) and it has an option to set the default monitor, perfect for this test. but it's big...

https://us.battle.net/account/sc2/starter-edition/

6233638
20th January 2014, 06:56
D3D11 does not support Vista and XP, both of which madVR still supports. Also DXVA is usually still based on D3D9 (although win7 now also supports hardware accelerated decoding with D3D11, I think).I know that you want to support as many operating systems as possible, but Vista does have support for D3D11, and even Microsoft is dropping support for XP in April.

I'm not saying that you should rip out the existing D3D9 functionality, but if supporting D3D11 would improve madVR in a meaningful way (e.g. 10-bit output) it's something to consider.

Ver Greeneyes
20th January 2014, 17:53
I know that you want to support as many operating systems as possible, but Vista does have support for D3D11, and even Microsoft is dropping support for XP in April.
I'd say a bigger problem with Direct3D 11 is graphics card support - for instance, only the GeForce GT 430 and up support D3D11. The first GeForce 4xx cards became available in April 2010 (whereas Vista dates back to January 30, 2007). Mind you that's mostly a reason to not rip out Direct3D 9 support.

flashmozzg
20th January 2014, 22:39
I'd say a bigger problem with Direct3D 11 is graphics card support - for instance, only the GeForce GT 430 and up support D3D11. The first GeForce 4xx cards became available in April 2010 (whereas Vista dates back to January 30, 2007). Mind you that's mostly a reason to not rip out Direct3D 9 support.

Dx11 is backwards compatible with Dx10, though some dx11-specific features are not supported on Dx10 cards (like HW tessellation)

Stereodude
21st January 2014, 02:04
Should FSE have higher rendering time than Windowed mode? I just got a Radeon HD7790 using the 13.12 drivers under Windows 7 (32-bit) with MPC-HC 1.71 that's what I'm seeing. In FSE I can barely keep the rendering time under 1/60th of a second if I crank up the madVR settings with all the driver video "enhancements" disabled. In Windowed mode I can use the max madVR settings and enable all of the video enhancements (except edge-enhancement) and still have a few ms of rendering time to spare.

cyberbeing
21st January 2014, 03:13
@Stereodude

If you've set the number of video frames presented in advance too high, maybe. AMD cards behave better with low values like 6 to avoid DPC latency issues.

If you are using a refresh rate higher than your video, FSE is slightly more intensive since it presents a frame every vsync interval, while Windowed mode only presents a single time for each video frame.

If you've set Flush or Flush & Wait for any of the render steps, that will also increase render times and/or tendency for dropped frames quite a bit under heavy GPU load.

Otherwise, ensure you are not forcing Anti-Aliasing, Anisotropic Filtering, VSync, etc globally under your GPU's 3D settings. Any globally forced settings will be detrimental to madVR performance under FSE. GPU video "enhancement" settings should also be left disabled if you are using madVR.

Stereodude
21st January 2014, 04:02
If you've set the number of video frames presented in advance too high, maybe. AMD cards behave better with low values like 6 to avoid DPC latency issues.

If you are using a refresh rate higher than your video, FSE is slightly more intensive since it presents a frame every vsync interval, while Windowed mode only presents a single time for each video frame.

If you've set Flush or Flush & Wait for any of the render steps, that will also increase render times and/or tendency for dropped frames quite a bit under heavy GPU load.

Otherwise, ensure you are not forcing Anti-Aliasing, Anisotropic Filtering, VSync, etc globally under your GPU's 3D settings. Any globally forced settings will be detrimental to madVR performance under FSE.I pretty much haven't changed any of the default settings in madVR. I will take a look at some of your suggestions later. I did find that disabling Aero in full screen exclusive mode dropped the FSE rendering time several ms.

GPU video "enhancement" settings should also be left disabled if you are using madVR.Aren't these "enhancements" done ahead of the madVR render? If so, some of these features and madVR aren't mutually exclusive. Sure some of the features should be avoided like the plague like edge-enhancement and dynamic contrast, but the noise reduction features when used in moderation can be beneficial.

madshi
21st January 2014, 10:26
Would the repeat_first_flag or something else have an effect on hard telecined material? Switching to it reduce cadence breaks from about 1 per minute on average to 1 every 2.5-3 minutes.
The repeat_first_flag field only has an affect on soft-telecined content. If you see reduced cadence breaks with LAV decoder compared to the other decoders than that probably means that the content you're testing with is not purely hardware-telecined, but that it is probably a mixture of soft- and hard-telecine. Which is the case for many broadcasts and DVDs...

starcraft 2 is free to play (at least a part of it) and it has an option to set the default monitor, perfect for this test. but it's big...

https://us.battle.net/account/sc2/starter-edition/
Hmmmm... Does it actually switch the default monitor in the Windows settings? Meaning: Does the taskbar switch over to the other monitor while playing? Or does it only play the game on the other monitor while leaving the start menu on the original monitor?

Should FSE have higher rendering time than Windowed mode? I just got a Radeon HD7790 using the 13.12 drivers under Windows 7 (32-bit) with MPC-HC 1.71 that's what I'm seeing. In FSE I can barely keep the rendering time under 1/60th of a second if I crank up the madVR settings with all the driver video "enhancements" disabled. In Windowed mode I can use the max madVR settings and enable all of the video enhancements (except edge-enhancement) and still have a few ms of rendering time to spare.
FWIW, you shouldn't put too much weight into the rendering times. They might be accurate, or they might not. E.g. they're not accurate if you don't have a "flush & wait" of some kind set for the last rendering step. It's more important to check for dropped frames. In my experience windows mode drops frames earlier than FSE mode, if rendering times get near to the "max". That applies especially to "smooth motion FRC". With e.g. 24fps @60Hz playback with smooth motion FRC enabled, I've found that the rendering times in windowed mode must be smaller than 1/60s, while in exclusive mode they only need to be smaller than 1/24s, to achieve smooth playback. Anyway, as long as no frames are dropped with any specific settings, you're fine.

Most of the video driver "enhancement" algorithms only affect the image (and the rendering times) if you use either DXVA deinterlacing or DXVA scaling. Otherwise they should have no effect.

Vyral
21st January 2014, 11:28
@Stereodude
I've got a AMD HD 6800 series (13.9 drivers). The following settings works perfectly on madVR (less than 10 delayed frames on 2 hours video and no dropped frames) :
Render queue (CPU & GPU) : 12
Number of video frames presented in advance : 6
I disabled all "enhancements" together with IVTC processing in CCC and set the output to RGB 4:4:4 full range.
Moreover, HW acceleration increase the redering time, see if it's enabled in MPC-HC > LAV video settings

huhn
21st January 2014, 13:24
Hmmmm... Does it actually switch the default monitor in the Windows settings? Meaning: Does the taskbar switch over to the other monitor while playing? Or does it only play the game on the other monitor while leaving the start menu on the original monitor?
i was trying to find this out and realize it is not possible i mixed the game up or something else i'm sorry. i'm still confused about this...

Stereodude
21st January 2014, 13:49
FWIW, you shouldn't put too much weight into the rendering times. They might be accurate, or they might not. E.g. they're not accurate if you don't have a "flush & wait" of some kind set for the last rendering step. It's more important to check for dropped frames. In my experience windows mode drops frames earlier than FSE mode, if rendering times get near to the "max". That applies especially to "smooth motion FRC". With e.g. 24fps @60Hz playback with smooth motion FRC enabled, I've found that the rendering times in windowed mode must be smaller than 1/60s, while in exclusive mode they only need to be smaller than 1/24s, to achieve smooth playback. Anyway, as long as no frames are dropped with any specific settings, you're fine.Well, it was also dropping frames in FSE, but wasn't in Windowed. However, I was using DXVA native in LAV which end up reporting the clips as 59.94fps instead of 29.97 for 1080i60 files. Using DXVA copy back or software decoding the clip frame rate was reported as 29.97 and the dropped frames stopped. While still using DXVA native mode I was also able to reduce the reported rendering time and eliminate the dropped frames in FSE by disable desktop composition in full screen mode.

Most of the video driver "enhancement" algorithms only affect the image (and the rendering times) if you use either DXVA deinterlacing or DXVA scaling. Otherwise they should have no effect.That's good information to have. I don't mind using some of the noise reduction features with light settings. However, I didn't realize they weren't active if madVR was doing IVTC and the sophisticated scaling algorithms. Frankly, I'd rather have smooth motion than some light noise reduction.

@Stereodude
I've got a AMD HD 6800 series (13.9 drivers). The following settings works perfectly on madVR (less than 10 delayed frames on 2 hours video and no dropped frames) :
Render queue (CPU & GPU) : 12
Number of video frames presented in advance : 6
I disabled all "enhancements" together with IVTC processing in CCC and set the output to RGB 4:4:4 full range.
Moreover, HW acceleration increase the rendering time, see if it's enabled in MPC-HC > LAV video settings
I've been testing with the defaults of 16 & 8 respective for the queues. Frames in advance for FSE is 4 (default). I didn't notice HW acceleration in LAV increasing the rendering time / dropped frame count (aside from the DXVA native vs. DXVA copy back thing already mentioned), but I will do more testing today. I have been able to find settings that give me no dropped frames with all the features I wanted enabled and that was the important thing.

madshi
21st January 2014, 13:55
FWIW, the next madVR version will have a default number of pre-presented frames of 8 (instead of the current default value of 4).

huhn
21st January 2014, 14:54
found the real game with that option. it's world of tanks. it doesn't change the taskbar it's free to play and if i get it right it's direct x 9.