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

kalston
8th January 2012, 12:41
I've had the lip sync issue as well when using the "overshoot max frame latency" with any file type (.mkv, .m2ts etc) before I was even using LAV at all so I'd blame madVR rather than LAV :) And it was with older builds of madVR too, a few months from now.

Anyway I don't need this option anymore since the old fullscreen mode works well enough for me, no matter what I can't get smooth glitch free playback with the new mode and recent nvidia drivers so I've given up.

6233638
8th January 2012, 13:27
If changing madVR version fixes his sync issues, how is that the splitters fault? :DRazoola's "overshoot max frame latency" issues may well have been caused by 0.80, but I've not been using that setting with madVR at all as it caused a lot of problems on my system when it was added. (it's for low powered cards that can barely run the software)


I've been experiencing lip-sync errors, specifically with Blu-ray playback, when using the .bdmv file to start the film since before December though. (madVR 0.80 was released on the 18th) That's why I was skeptical about it being something introduced in 0.80

What I was wondering, was if Plutotype had also updated LAV Filters as well as madVR recently, or changed from loading with an mpls or m2ts file to the bdmv (which is by far the easiest thing to do) and thought that maybe that was causing the lip-sync errors as his playback was OK in 0.79 when mine was not. It could be entirely unrelated though. I'm definitely interested in hearing whether dropping to 0.79 fixes things for him.


I had no issues prior to using .bdmv files to start playback which I only started using recently when I heard that LAV Filters had support for it. (is that a recent addition, or just something I only found out about recently?) Before then I was mostly loading the m2ts file directly, or mpls if it was a branching title. (though I can't remember if that was OK for lip-sync or not, that was broken for a long time too, but it may have been prior to switching to LAV from Haali)


I'm not saying LAV Filters is definitely the cause, but that's why I was wondering how Plutotype was starting playback of the film, whether it was the bdmv, mpls or m2ts file. It's possible that since he was updating madVR he has also updated LAV filters at the same time, or changed from one filetype to another. (I have a habit of doing that, and sometimes MPC-HC & ffdshow too, which is really great for troubleshooting problems if they arise...)

I haven't had a chance to properly test things myself yet, as I haven't had much time to watch films lately, or do testing which involves waiting 20–30 minutes to see if sound goes out of sync. (which means I can't use the PC for anything else)


Either it's a problem with madVR that goes back further than 0.80, an issue with LAV Filters opening .bdmv (and possibly .mpls) files, or something else entirely. At least with non-branching titles, it's easy enough to just open the .m2ts directly which does not seem to have lip-sync problems for me.

The only reason I'm suspecting LAV here at all, is because it changes depending on which file I open. (or at least it seemed to from my limited tests)

nevcairiel
8th January 2012, 13:34
I had no issues prior to using .bdmv files to start playback which I only started using recently when I heard that LAV Filters had support for it. (is that a recent addition, or just something I only found out about recently?) Before then I was mostly loading the m2ts file directly, or mpls if it was a branching title. (though I can't remember if that was OK for lip-sync or not, that was broken for a long time too, but it may have been prior to switching to LAV from Haali)

The bdmv support is as old as any Blu-ray support. Opening a mpls file has exactly the same effect as opening the bdmv file, except that it specifys which track to run, while bdmv runs the longest track.
In general, the demuxing is basically the same, the bdmv support only lets it figure out which m2ts to use.

I've been watching alot of BDs, all through bdmv playback, and never had any issues. :d
Its possible that some isolated BD titles have a odd playlist setup that could potentially cause issues, but i have no concrete bugs reports of anything like that.

kalston
8th January 2012, 15:11
I've been experiencing lip-sync errors, specifically with Blu-ray playback, when using the .bdmv file to start the film since before December though. (madVR 0.80 was released on the 18th) That's why I was skeptical about it being something introduced in 0.80

What I was wondering, was if Plutotype had also updated LAV Filters as well as madVR recently, or changed from loading with an mpls or m2ts file to the bdmv (which is by far the easiest thing to do) and thought that maybe that was causing the lip-sync errors as his playback was OK in 0.79 when mine was not. It could be entirely unrelated though. I'm definitely interested in hearing whether dropping to 0.79 fixes things for him.

I had no issues prior to using .bdmv files to start playback which I only started using recently when I heard that LAV Filters had support for it. (is that a recent addition, or just something I only found out about recently?) Before then I was mostly loading the m2ts file directly, or mpls if it was a branching title. (though I can't remember if that was OK for lip-sync or not, that was broken for a long time too, but it may have been prior to switching to LAV from Haali)

I'm not saying LAV Filters is definitely the cause, but that's why I was wondering how Plutotype was starting playback of the film, whether it was the bdmv, mpls or m2ts file. It's possible that since he was updating madVR he has also updated LAV filters at the same time, or changed from one filetype to another. (I have a habit of doing that, and sometimes MPC-HC & ffdshow too, which is really great for troubleshooting problems if they arise...)

I haven't had a chance to properly test things myself yet, as I haven't had much time to watch films lately, or do testing which involves waiting 20–30 minutes to see if sound goes out of sync. (which means I can't use the PC for anything else)

Either it's a problem with madVR that goes back further than 0.80, an issue with LAV Filters opening .bdmv (and possibly .mpls) files, or something else entirely. At least with non-branching titles, it's easy enough to just open the .m2ts directly which does not seem to have lip-sync problems for me.

The only reason I'm suspecting LAV here at all, is because it changes depending on which file I open. (or at least it seemed to from my limited tests)

This is odd, before using LAV I did have troubles playing Blu-rays where the film is split in several .mt2s (on top of my head : Inception, King Kong (2005) & Conan the Barbarian (1982) UK edition). In this situation I had to use the corresponding playlist file but it resulted in lip sync issues and a noticeable hiccup when the transition between the files happened. So I ended up ripping each one of them to a .mkv file.

But with LAV I've had no such issue and playback of all my Blu-rays is absolutely flawless.

Razoola
8th January 2012, 17:11
Are you only having lip-sync issues with Blu-ray? If so, are you starting the video with the "index.bdmv" file, or the .m2ts video file?

While using LAV Filters has enabled me to start a film using the index.bdmv file (previously it wouldn't work) I find that it causes lip-sync problems, when playing the .m2ts file directly does not, so I suspect it might be a LAV Filters issue rather than madVR. (but I haven't tested either in isolation so I couldn't say for sure)

What driver version are you using?

I'm definitely back to having problems getting smooth playback again, but then I am also on beta Nvidia drivers. I really should test to see whether it's the drivers or a change in madVR (by coincidence, new versions of madVR are often close to driver releases) but it's annoying either way, as I can't stick to WHQL drivers if I want to play the latest games.

I'm using 290.53 drivers but Im sure they are not the problem as going back to 079 fixes the issues for me.

6233638
8th January 2012, 18:07
Well I've just done about four hours of testing... and nothing is showing lip-sync errors for me now—including discs that were giving me problems before—with LAV Filters 0.44 (CUVID decoding) madVR 0.80 and MPC-HC 3895. (haven't been updating it nearly as frequently these days, don't know that it makes a difference when I'm only using external filters now) Can't explain it, it was definitely a repeatable issue back at the end of November.


I've also noticed that with the latest settings I've been trying out, I haven't had any presentation glitches yet after 45 minutes into the current clip. (just brought up the stats before pausing the film)

I have both CPU & GPU Queue size at 4, am using D3D11 for presentation, have 3 frames presented in advance in exclusive mode, and have "limit rendering times to avoid glitches" enabled. All other rendering options are at defaults.

That testing was all with Blu-ray at 24Hz, so I can't say it's definitely glitch-free playback until I try some 25@50 or 30@60. My guess is that they probably will show glitches.

For now, I've given up on entirely glitch-free playback, but at least films seem to be all right again, which is what I care about the most.


As for your problems Razoola, they definitely seem to be related to 0.80, and likely the "overshoot max frame latency" setting. Out of interest, what card are you using? That setting is intended for low-power HTPC stuff if I remember correctly.

Plutotype
8th January 2012, 18:09
What I was wondering, was if Plutotype had also updated LAV Filters as well as madVR recently, or changed from loading with an mpls or m2ts file to the bdmv (which is by far the easiest thing to do) and thought that maybe that was causing the lip-sync errors as his playback was OK in 0.79 when mine was not. It could be entirely unrelated though. I'm definitely interested in hearing whether dropping to 0.79 fixes things for him.
(or at least it seemed to from my limited tests)

Hi 6233638,
Thanks for your input. I update every LAVfilters release immediately as it gets released. Im not storing bdmv structures but always only the better version of the movie as one untouched m2ts file.
I hadnt lipsync issue for a year now, but when I noticed it yesterday and saw people also mentioning it here, so I asked if there were any changes to the last version 0.80 in this regard.

Im going to watch a 150min movie right now with LAVfilters 0.44 and 0.80, will report it here if any lipsync issues will be present during ( at the end ) of the movie.
Pluto

6233638
8th January 2012, 19:32
Just as an update on the above settings... finished watching a 75 minute 30p video at 60Hz there without any presentation glitches so it seems to be working for both 24@24 and 30@60. (and presumably also 25@50 as that's typically the same as 30@60) Might be worth a shot for anyone on Nvidia experiencing glitches with the latest drivers.

It seems so random as to what does/doesn't work depending on drivers/cards/madVR versions though, that I really don't know if it'll help.

ADude
8th January 2012, 20:48
- hardware accelerated video decoding (DXVA) is currently not supported

So is that still true ? (And so, the references to DXVA in the changelog only refer to assistance to the renderer and not decoding ?)

fastplayer
8th January 2012, 21:05
^ http://forum.doom9.org/showthread.php?p=1536640#post1536640

ADude
9th January 2012, 00:37
Thanks for the info in the link.

starlight2
9th January 2012, 19:14
Hi guys, I have a Nvidia GTS 450.
I tried to do MADNV12test, the result ':

Windows 7 x64 Service Pack 1
NVIDIA GeForce GTS 450

D3D9 Surface StretchRect:
D3DFMT_R8G8B8: creating GPU texture failed
D3DFMT_A8R8G8B8: lossy (0-0)
D3DFMT_X8R8G8B8: lossy (0-0)
D3DFMT_A8B8G8R8: creating GPU texture failed
D3DFMT_X8B8G8R8: creating GPU texture failed
D3DFMT_A2R10G10B10: lossy (0-0)
D3DFMT_A2B10G10R10: lossy (0-0)
D3DFMT_A16B16G16R16: StretchRect failed
D3DFMT_A16B16G16R16F: lossy (0-0)
D3DFMT_A32B32G32R32F: lossy (0-0)

D3D9 Surface VideoProcessor:
D3DFMT_R8G8B8: creating GPU texture failed
D3DFMT_A8R8G8B8: lossy (0-0)
D3DFMT_X8R8G8B8: lossy (0-0)
D3DFMT_A8B8G8R8: creating GPU texture failed
D3DFMT_X8B8G8R8: creating GPU texture failed
D3DFMT_A2R10G10B10: lossy (0-0)
D3DFMT_A2B10G10R10: lossy (0-0)
D3DFMT_A16B16G16R16: lossy (0-0)
D3DFMT_A16B16G16R16F: lossy (0-0)
D3DFMT_A32B32G32R32F: lossy (0-0)

DXVA Surface StretchRect:
D3DFMT_R8G8B8: creating GPU texture failed
D3DFMT_A8R8G8B8: lossy (0-0)
D3DFMT_X8R8G8B8: lossy (0-0)
D3DFMT_A8B8G8R8: creating GPU texture failed
D3DFMT_X8B8G8R8: creating GPU texture failed
D3DFMT_A2R10G10B10: lossy (0-0)
D3DFMT_A2B10G10R10: lossy (0-0)
D3DFMT_A16B16G16R16: StretchRect failed
D3DFMT_A16B16G16R16F: lossy (0-0)
D3DFMT_A32B32G32R32F: lossy (0-0)

DXVA Surface VideoProcessor:
D3DFMT_R8G8B8: creating GPU texture failed
D3DFMT_A8R8G8B8: lossy (0-0)
D3DFMT_X8R8G8B8: lossy (0-0)
D3DFMT_A8B8G8R8: creating GPU texture failed
D3DFMT_X8B8G8R8: creating GPU texture failed
D3DFMT_A2R10G10B10: lossy (0-0)
D3DFMT_A2B10G10R10: lossy (0-0)
D3DFMT_A16B16G16R16: lossy (0-0)
D3DFMT_A16B16G16R16F: lossy (0-0)
D3DFMT_A32B32G32R32F: lossy (0-0)

D3D9 Surface speed test:
NV12: upload 1083 fps, download 918 fps, trick download failed
YV12: upload 1166 fps, download 987 fps, trick download failed
A8R8G8B8: upload 314 fps, download 265 fps, trick download failed

DXVA Surface speed test:
NV12: upload 1209 fps, download 1079 fps, trick download failed
YV12: upload 1166 fps, download 1008 fps, trick download failed
A8R8G8B8: upload 317 fps, download 237 fps, trick download failed

A8R8G8B8 Texture speed test:
default: upload 213 fps, download 306 fps
dynamic: upload 284 fps, download 26 fps, trick download 210 fps





Help me please? I'm not sure what to do and what is this procedure.
Thank you for your help.
Thanks

Mangix
10th January 2012, 03:07
that nv12 test is a bit outdated. don't worry about it at all.

starlight2
10th January 2012, 19:26
Thanks
then the bug of the levels video has been resolved with nvidia?

Remicade
10th January 2012, 20:34
If I have ATI the only solution for DXVA in madVR is Cyberlink Video Decoder ? With HAM or DXVA ?

Andy o
11th January 2012, 00:57
If it even works well (never did for me). With DXVA deinterlacing though, you can use almost any modern and even old-ish CPU to decode. What do you have?

Mangix
11th January 2012, 03:01
Thanks
then the bug of the levels video has been resolved with nvidia?

IIRC, that test was made by madshi to test how good nvidia and amd hardware were at handling nv12 at different texture formats. like i said, nothing to worry about since madshi does not use nv12(I assume it gets converted to YV12) to do any processing. nv12 is however required for proper DXVA video decoding with deinterlacing(unless i missed something).

anyways, nothing to worry about.

Remicade
11th January 2012, 05:14
Andy it's works very well no artifacts, I watch only progressive material, I will compare the quality of Cyberlink decoder versus MPC HC. Somebody in another forum told me Cyberlink was a litle bad in image quality in his system.

Mangix
11th January 2012, 05:24
If it even works well (never did for me). With DXVA deinterlacing though, you can use almost any modern and even old-ish CPU to decode. What do you have?

i have an old computer with a radeon hd2400 pro and a 2.6ghz pentium 4. i will tell you that it drops frames on 480i content when DXVA deinterlacing is used on XP but works smooth when IVTC is applied(software i believe). so not always smooth.

italospain
11th January 2012, 14:50
Hi madshi

here a 3 examples of my NTSC DVD Library where i am not able to IVTC with madVR or DScaler mod.

https://rapidshare.com/files/576191865/Examples.zip

greetings

LigH
11th January 2012, 17:02
Without downloading your sample, just a remark: Sometimes NTSC is indeed plain interlaced NTSC-TV...

italospain
11th January 2012, 18:52
Without downloading your sample, just a remark: Sometimes NTSC is indeed plain interlaced NTSC-TV...

all 3 examples are classic cinema movies shot in 35mm

Andy o
11th January 2012, 21:21
Andy it's works very well no artifacts, I watch only progressive material, I will compare the quality of Cyberlink decoder versus MPC HC. Somebody in another forum told me Cyberlink was a litle bad in image quality in his system.

I'd be skeptical about that claim. Decoders usually don't mess with quality that way unless they're broken, and if they are, AFAIK it's very obvious stuff like blocking or horrible color shifts.

Andy o
11th January 2012, 21:23
i have an old computer with a radeon hd2400 pro and a 2.6ghz pentium 4. i will tell you that it drops frames on 480i content when DXVA deinterlacing is used on XP but works smooth when IVTC is applied(software i believe). so not always smooth.

I think on that machine the CPU and/or GPU are probably the bottlenecks.

mindbomb
12th January 2012, 00:54
I have some performance problems, maybe someone can clear up what is going on.

Using mpc hc 3917 as the player and to display subtitles. Using lav video with cuvid mode as the video decoder. MadVr .80 as the video renderer.

graphics card is an 256mb 8600gt.


Everything is perfect, except when you ask the player to display vobsub subtitles, and then all the queues dramatically fall, and the playback becomes very poor.
This doesn't happen with text or bluray subtitles.

Does anyone know what is possibly going on?

golagoda
12th January 2012, 01:04
I have some performance problems, maybe someone can clear up what is going on.

Using mpc hc 3917 as the player and to display subtitles. Using lav video with cuvid mode as the video decoder. MadVr .80 as the video renderer.

graphics card is an 256mb 8600gt.


Everything is perfect, except when you ask the player to display vobsub subtitles, and then all the queues dramatically fall, and the playback becomes very poor.
This doesn't happen with text or bluray subtitles.

Does anyone know what is possibly going on?
Make sure you don't have any custom settings in the NVIDIA Control Panel for MPC-HC or globally setting anti-aliasing to anything but application-controlled (as all it will do is thrash your CPU and GPU with no real benefit).

If you don't have anything like that you can probably try DirectVobSub instead of the internal subtitle renderer (I recommend using xy-vsfilter (https://code.google.com/p/xy-vsfilter/))

mindbomb
12th January 2012, 01:09
oh wait, i spoke too soon, it affects all image subs, but text subs are unaffected.

you know what, forget everything, cause i can't even nail down what is going on.

mikewando
12th January 2012, 01:30
Is there any way the deinterlacing and IVTC used in madVR could be leveraged for encoding?

I've been thinking about this a little more, all it would really take is a directshow filter very much like madVR, but with an output pin that could be used in a graph for DirectShowSource in an avisynth script. I've never written a directshow filter, so I have no idea how trivial writing this from scratch or adapting madVR would be, but http://msdn.microsoft.com/en-us/library/cc307941.aspx certainly makes it seem possible with DXVA 2.

At any rate, I still think this would be immensely helpful for speeding up the encoding process, so if such a filter is feasible, there is at least some demand for it.

6233638
12th January 2012, 01:43
Another deinterlacing sample. This is a weird one, don't know if it will be useful or not. The film itself was perfect, staying in 2:2, but when the credits came up, it went to unknown cadence, and then switched to 4:2:2. (which is wrong)

http://www.mediafire.com/?l85rwl1ss2cghv5

Just thinking out loud, something that would be nice would be the option to have IVTC (film mode) deinterlacing enabled by default—anything I have that requires deinterlacing, would make use of the IVTC mode.

The option to log timestamps for cadence changes would be great too. If I'm in the middle of watching a film, I'm not going to stop it and make a note of when it is (as I have to leave exclusive mode to see the time) unless it stays in the wrong cadence for a long time. There was one point in a film was watching earlier where it switched to a weird (wrong) cadence briefly and I can't seem to find it now as the film has a lot of similar/repeating shots. (though I suspect this one will be fixed with the improved logic in an upcoming version)

Mangix
12th January 2012, 04:33
I think on that machine the CPU and/or GPU are probably the bottlenecks.

it's the gpu. piece of ****. have many problems with it.

Andy o
12th January 2012, 05:03
Man, even at the time the 2400pro was weaaaak. I remember I started really getting into the HTPC thing with that generation of ATI cards, but got a 2600pro after the 2400pro and XT were deemed too weak.

Mangix
12th January 2012, 16:36
i read that it was equivalent in performance to an 8500 gt from nvidia. i find that hard to believe having owned one since i could run madVR at decent settings just fine.

anyways, sorry about going a bit off-topic.

e-t172
13th January 2012, 11:27
Just curious: why isn't madVR compatible with "native" DXVA decoders (e.g. ffdshow DXVA, MPC DXVA)? Why is EVR the only renderer that can do this? Is there some kind of fundamental problem or is it just that madshi hasn't got to it yet?

nevcairiel
13th January 2012, 11:33
I'm sure it would be possible, he just hasn't done it yet.

CruNcher
13th January 2012, 11:42
DXVA + Custom Shader support in MadVR would rock the boxors ahh yeah and a nice Realtime Sync Graph ;)

Remicade
13th January 2012, 11:55
LAV Video Decoder ATI DXVA works in madVR...

Thunderbolt8
13th January 2012, 13:14
^^ does it support VC-1 and interlaced VC-1?

interlaced vc-1 is really the last pain in the ass stuff I cannot play properly with madvr (high bitrate BBC docs etc.)

Paladin77
13th January 2012, 16:29
^^ does it support VC-1 and interlaced VC-1?

interlaced vc-1 is really the last pain in the ass stuff I cannot play properly with madvr (high bitrate BBC docs etc.)

http://forum.doom9.org/showpost.php?p=1551231&postcount=8147

e-t172
13th January 2012, 18:33
LAV Video Decoder ATI DXVA works in madVR...

Yeah, but unless I'm missing something, LAV Video DXVA copies GPU-generated frames back into CPU RAM, while pure DXVA doesn't, so the latter is potentially faster.

iop
13th January 2012, 19:15
When the possibility to take screenshots with alt+i with MPC will be added?

pirlouy
13th January 2012, 20:37
I'm sure it would be possible, he just hasn't done it yet.
I don't know what happens recently, but for some weeks, DXVA is everywhere. CUVID, QuickSync, threads comparing "hardware" solution. I've read Potplayer offers DXVA solution. Now, you betatest a new DXVA decoder.
I think Madshi will have to change his roadmap to follow the mode (or rather developers interest right now). :D

For those like me who does not know a lot of things: if madshi were to implement DXVA, does pure DXVA decoders (like those offered by MPC-HC) could improve quality, or software solution + shaders by madVR will always offer the best quality ?

Because right now, I don't understand all this interest in hardware solutions now that we have really powerful CPU, and software solutions seem to be more stable than hardware ones (with their buggy drivers)...

bjd
13th January 2012, 21:10
LAV Video DXVA copies GPU-generated frames back into CPU RAM

if madshi were to implement DXVA

I am not 100% certain on this but in theory if this was implemented on the madvr decoders there would be no need to send the decoded frames back to the CPU memory, they would just be added to the renderer queue on the GPU memory which should offer better performance.

dansrfe
13th January 2012, 23:01
Bug: When wallpaper automatically changes (e.g. every 5 mins), multiple frames are dropped in exclusive mode.

Bug: Refresh/reset of exclusive mode when changing player to other display takes many minutes.

Feature Request: Support for IVTC and according refresh rate changes.

Feature Request: Hotkey combination to turn off refresh rate changer for current instance. (Useful for switching screens for a short while and don't want to wait for screen resolution and refresh rate to change). In my case I have a screen that has to change from 2048 x 1152 to 1080p in order to go to 24Hz.

IVTC/Video Deinterlacement works very well for me.

e-t172
13th January 2012, 23:24
I am not 100% certain on this but in theory if this was implemented on the madvr decoders there would be no need to send the decoded frames back to the CPU memory, they would just be added to the renderer queue on the GPU memory which should offer better performance.

With a native DXVA decoder and a native DXVA renderer such as EVR, frames are never transferred back to CPU memory.

Remicade
14th January 2012, 08:58
Because right now, I don't understand all this interest in hardware solutions now that we have really powerful CPU, and software solutions seem to be more stable than hardware ones (with their buggy drivers)...
I have Phenom II 920 if I use madVR alone without DXVA (LAV or Cyberlink HAM) CPU is ~ 30% (2800 Mhz) and the cooler is quite noisy. If I enable DXVA the noise is very low and the CPU works at 800-1600 Mhz. I want madVR (+Reclock) for me it's the same quality of picture as EVR but the motion it's more fluid.

Razoola
14th January 2012, 11:34
An update on my problem with 080. It seems my dropped frame and queue issues only affect 25hz material on a secondary display at 50hz (720p TV rips). 23.976 material on a 23.976 secondary display is fine.

The only fix I have found is to enable the treat 25p material as 24p (requires reclock).

Gser
14th January 2012, 12:11
For those like me who does not know a lot of things: if madshi were to implement DXVA, does pure DXVA decoders (like those offered by MPC-HC) could improve quality, or software solution + shaders by madVR will always offer the best quality ?

Because right now, I don't understand all this interest in hardware solutions now that we have really powerful CPU, and software solutions seem to be more stable than hardware ones (with their buggy drivers)...

Software decoders support higher profile levels and are more flexible feature wise. All "properly" implemented decoders produce the same picture hence DXVA's popularity is only a fad and in MadVRs case a completely useless feature since MadVR needs a very good GPU to run properly - users that tend to have a good GPU also tend to have a good CPU which is more than capable decoding h.264. DXVA is only useful on very old PC's or some mobile devices non of which can use MadVR - it would even reduce performance on crappy GPUs.

entrecour
14th January 2012, 16:56
I'd appreciate folks advice on the optimum settings in NVIDIA Control Panel when using LAV CUVID with madvr or Custom EVR. I have searched the forum and found bits and pieces, but I wanted to pull it altogether to make sure I haven't missed anything.

This is what I have now, using a preset in 3D Settings, with my comments in italics.

NVIDIA Control Panel

3D Settings

Adjust Image settings with preview
- let 3D application decide
- Use the advanced 3D image settings
- use my preference emphasizing:Quality /Performance

Manage 3D settings
- Global settings / Program settings
Ambient occlusion - off
Anisotropic filtering - application controlled
Antialiasing - gamma correction - off
Antialising - mode - application controlled
Antialiasing -setting - application controlled
Antialiasing - Transparency - Off
CUDA -GPU's - All
Maximum prerendered frames - 3
Multi-display/mixed GPU acceleration - Single display performance
Texture filtering - Ansiotropic sample optimization - Off
Texture filtering - Negative LOD bias - Clamp
Texture filtering - Quality - Quality
Threaded Optimization - Auto
Triple buffering - Off
Vertical sync - use 3d application setting

Set PhysXconfig - Auto-select

Display

- Change resolution - user hardware dependent
- Adjust desktop color settings
2. Choose how color is set. Use NVIDIA settings: Defaults
3. Apply following enhancements Digital vibrance: +50% Hue: +0 (defaults)
- Adjust desktop size and position, Scaling - No scaling (in my case I let TV scale), Deinterlacing Use inverse telecine
Video

- Adjust video color settings - With the NVIDIA settings - Color - defaults, Gamma - Defaults, Advanced, Dynamic range: Full 0-255 if using monitor or TV can be set to 0-255, if not Limited 16-235
- Adjust video image settings - Edge enhancement - use the NVIDIA setting 0%, noise reduction - use the NVIDIA setting 0%


Some specific questions

1. Is max prerendered frames OK left at 3?
2. Do you recommend leaving Digital Vibrance at the default (+50%)?
3. Should I specifically set all Antialiasing settings to OFF or can I leave them as "application controlled"

I use both mpc-hc / madvr and DVBViewer / Custom EVR.

By the way I am have a 8600GT / 512M with the 290.36 driver on Vista 32bit connected to a TV via DVI / HDMI cable if that makes any difference.

:thanks:

Budtz
14th January 2012, 18:01
Yes I also feel at bit in the dark with regards to setting Nvidia settings for optimum PQ.

leeperry
14th January 2012, 20:23
As much as switching refresh rates on the fly is usually OK during playback, doing so in pause mode usually ends up in PotP locked up hard here on XPSP3...it would be great if that wasn't the case :)