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

VHT
29th February 2012, 19:25
Question about dithering.Seems that latest LAV Video decoder has dithering option and it can't be ticked off, so should I set dithering off from madVR instead or let them both do dithering?

nevcairiel
29th February 2012, 19:31
Question about dithering.Seems that latest LAV Video decoder has dithering option and it can't be ticked off, so should I set dithering off from madVR instead or let them both do dithering?

Dithering in LAV is only applied if its necessary, and if you use madVR, it should never be necessary.

dansrfe
29th February 2012, 19:56
The main issue that seems to be the problem for the MAJORITY of 0.8.1 users now is that the display changer doesn't "change" the display refresh rate in the OSD consequently not changing the V-sync which basically nulls the whole function of display changer. The only way around this that seems to work for me is that if you have set display changer to restore the refresh rate AFTER the media player has closed and if you have a dual monitor setup then you can drag the video to the other monitor and back to update the display refresh rate in the OSD which resets the V-sync to the proper rate.

ryrynz
29th February 2012, 20:37
Trigger: Loading the next file in a playlist when in fullscreen exclusive mode

Symptoms: The frame from when you entered fullscreen exclusive mode with the first file flashes on screen when MPC-HC tries to load the second file. Occasionally results in black screen afterwards, with madVR and MPC-HC completely hung in Fullscreen Exclusive Mode.

Cause: As far as I can tell... After copy to backbuffer = Flush & Wait (loop) + Fullscreen Exclusive Mode + Windows 7 + ATI GPU.



This was happening to me as well until I changed copy to backbuffer to flush. Changing it back to don't flush causes MPC to freeze again after displaying the first frame from exclusive mode, I was experiencing this with 0.80 also.

*EDIT* I've just had it freeze with copy to backbuffer set to flush, I have yet to have it freeze however with 'after last render step' set to flush as well.

Freeze report below.

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

kerman
29th February 2012, 21:10
madshi, given most of the media are 16-235, wouldnt it be more accurate to the source for displaying, to setup tv to limited RGB (16-235) and madvr to TV levels?

If so, how would you configure coreAVC as for Output and Input levels? (0-255), (16-235) or Auto detect. I think you said you use coreavc for h264 decoding so just curious how you have set it up. Im going crasy to be sure to have all the luminance configuration filters correctly set up

aufkrawall
29th February 2012, 22:54
madshi, given most of the media are 16-235, wouldnt it be more accurate to the source for displaying, to setup tv to limited RGB (16-235) and madvr to TV levels?

I guess if decoder/renderer treat the video as expected, it doesn't make any difference.
If input is just TV, it outputs just TV, setting everything up to forced TV range wouldn't make any difference.

And apart from this, range conversion shouldn't be visible to the human eye. :)

nevcairiel
29th February 2012, 23:00
And apart from this, range conversion shouldn't be visible to the human eye. :)

But it is, because it causes banding when its done improperly (and most decoders to it improperly)

Sadly CoreAVCs options are not really self-explanatory, i would recommend to set input and output in CoreAVC to 16-235, that'll ensure it doesn't touch the values (independent of what you want to output later)
For whats recommend to display, i would go with 0-255. During the YUV->RGB conversion, you end up with floating point values, if you have more integers to spread them on, you can get more precision.

aufkrawall
29th February 2012, 23:07
But it is, because it causes banding when its done improperly (and most decoders to it improperly)

Or they even totally mess up brightness relations because of this.
Do you think the conversion of AviSynth is good?

703
1st March 2012, 07:15
I have a .mp4 file that is tagged "Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177 " However, MadVR is still "best guessing" as BT.601? I'm using Lav Decoders within MPC-HC.

ryrynz
1st March 2012, 07:35
Found a bug, if Bicubic settings are selected before Softcubic the drop down options still only show the Bicubic settings, it's not till you go to one of the other algorithms then to Softcubic that it displays properly.

nevcairiel
1st March 2012, 07:55
I have a .mp4 file that is tagged "Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177 " However, MadVR is still "best guessing" as BT.601? I'm using Lav Decoders within MPC-HC.

If neither LAV nor madVR manage to figure out that information, then its probably not encoded in the video stream.

A sample of such a file might be useful.

703
1st March 2012, 08:01
If neither LAV nor madVR manage to figure out that information, then its probably not encoded in the video stream.

A sample of such a file might be useful.

It can be seen by media info:

-----------------

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 42mn 37s
Bit rate : 546 Kbps
Maximum bit rate : 2 010 Kbps
Width : 720 pixels
Height : 404 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.078
Stream size : 166 MiB (81%)
Writing library : x264 core 120 r2164 da19765
Encoding settings : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2012-02-23 17:58:50
Tagged date : UTC 2012-02-23 18:19:44
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

nevcairiel
1st March 2012, 08:07
It can be seen by media info:

That doesn't change the fact that if it was encoded directly into the video streams headers, either LAV or madVR would manage to read it from there. Therefor, its not encoded in there.
Maybe its for some reason set in the container and not in the stream, but if thats the case, there is no way to let the renderer know either way.

703
1st March 2012, 11:00
That doesn't change the fact that if it was encoded directly into the video streams headers, either LAV or madVR would manage to read it from there. Therefor, its not encoded in there.
Maybe its for some reason set in the container and not in the stream, but if thats the case, there is no way to let the renderer know either way.

Thanks for that. How can I check if it was encoded into the stream headers and not just the container? Is there a utility which can do this?

Pat357
2nd March 2012, 03:44
Dithering in LAV is only applied if its necessary, and if you use madVR, it should never be necessary.
Don't forget there are encoded format's that should always be decoded to RGB ! (Fraps, UT RGB, LAG (RGB), ..)

Will these be dithered by LAV ?
FFMpeg decodes at least some of them as YUV and uses swsscale to convert YUV than finally to RGB....

Pat357
2nd March 2012, 04:09
Crash report + complete log-file.

Problem : if MadVR is in FSE mode, it crashes MPC-HC (+itself ?) upon switching to the next/previous file.

I made a playlist from 2 files and let it play in FSE. The first file plays nice, but at the end when opening the second, I end up with a black screen.

Only <ctrl>+<alt>+<del> brings back some live, nothing else works, probably because of FSE.

Happens only in FSE, no problems in maxim. windowed mode.
Happens both when switching is done automatic (playlist) and manual (next file using mouse or keyb.)

Win7 SP1 / Nvidia gtx-570 / latest 295.73 drivers / CPU i7-970
LAV v0.48 / MPC-HC 4111 (also tested with PotP-> same issue)
Things already tried : driver rollback to previous known "good" version 290.36, different vers. MPC, PotPlayer,
all kind of combination for flushing modes FSE, change que-sizes,...)

Crash-report + MadVR log :

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

Andy o
2nd March 2012, 04:16
Does it happen if you play the files a second time? (After forcing MPC-HC to be closed of course.) To me it plays OK the second time, but happens again after refresh rate change, either automatic or manual. I thought it might have been an AMD thing, happened with 5770 and 4670. Using D3D11 fixes it for me.

kasper93
2nd March 2012, 16:10
I bought DVB-T tuner on chip IT6135 and unfortunately it isn't working with madVR as renderer in MPC-HC. With EVR or Haali Renderer works good, but with madVR it fails to load. I know that there are more important things to change in madVR, but if you could add this to your to do list, and someday maybe you will fix it ;)

Log:
http://dl.dropbox.com/u/16282309/mad/madVR.DVB-T.7z

shaolin95
2nd March 2012, 17:26
Hello guys...this is the first time I have tried madvr and it blew me away!
I have been using MPC for a long time with ffdshow, avisynth scripts etc... I have to try again today but unless my eyes were deceiving me yesterday, the quality is amazing! The color, detail , everything looks super.
I am planning to read a lot of this thread but one thing but I was wondering if there is a recommended card or cards list?
I only do 1080p bluray ripped to my main server and unless I am blind , this gives better quality than my Samsung player.
So, I have a HD2400Pro (maybe HD2600Pro need to verify) and this is only for HTPC so I am trying not to break the bank of course.
Any recommendations?


PS The reason I ask is because, I am not sure if its a card issue but it looks more like a sync issue where it is playing very smoothly then suddenly it hiccups and then goes fine again. My projector is running at 48fps (47.9xx) and I tried with Reclock as well. It apparently could be just at the beginning or for some movies only but I did this too late so couldnt try a lot. I will have to verify. I had to use DXVA (native) for this card or it would be a stutter fest.

Pat357
2nd March 2012, 23:43
Does it happen if you play the files a second time? (After forcing MPC-HC to be closed of course.) To me it plays OK the second time, but happens again after refresh rate change, either automatic or manual. I thought it might have been an AMD thing, happened with 5770 and 4670. Using D3D11 fixes it for me.
No, second time still crashes and it seems it's not because of refresh-rate switching.
The crashing happens also if both files have the same fps, like 2 files with 23.970 fps.
Thanks for the tip about D3D11, but doesn't seem to have any influence on the crashing for me.
Did it completely solve this crashing problem for you ?

The other thing mentioned in this thread "flush" for "after copy to backbuff" + flush for "after last rendering step", seems to help, but does not solve the problem.
It just happens less likely :(

dansrfe
3rd March 2012, 01:13
Hello guys...this is the first time I have tried madvr and it blew me away!
I have been using MPC for a long time with ffdshow, avisynth scripts etc... I have to try again today but unless my eyes were deceiving me yesterday, the quality is amazing! The color, detail , everything looks super.
I am planning to read a lot of this thread but one thing but I was wondering if there is a recommended card or cards list?
I only do 1080p bluray ripped to my main server and unless I am blind , this gives better quality than my Samsung player.
So, I have a HD2400Pro (maybe HD2600Pro need to verify) and this is only for HTPC so I am trying not to break the bank of course.
Any recommendations?


PS The reason I ask is because, I am not sure if its a card issue but it looks more like a sync issue where it is playing very smoothly then suddenly it hiccups and then goes fine again. My projector is running at 48fps (47.9xx) and I tried with Reclock as well. It apparently could be just at the beginning or for some movies only but I did this too late so couldnt try a lot. I will have to verify. I had to use DXVA (native) for this card or it would be a stutter fest.

The recommended card, as always, is usually the most expensive card that you are willing to pay for. The more you give to madVR, the more it can utilize.

FlashGordon
3rd March 2012, 01:42
Some of my PAL DVDs are being detected as being SMPTE-C by madvr even though madvr also reports the resolution to be 720x576. I thought the primaries were determined by the resolution?

The strange part about this is if i play one of the individual VOBs with LAV Video as my decoder, madvr reports that it is using EBU primaries. If I use ffdshow libmpeg2 decoder and YV12 output and play the full DVD (with menus etc) madvr guesses it is SMPTE-C. Is there a reason for this?

EDIT: Forgot to test the individual VOB with ffdshow. madvr uses EBU when I do this as well. So this seems to only happen when I open the full DVD and it starts at the menu screen. Shouldn't madvr use EBU if it is still reporting a 720x576 resolution?

Andy o
3rd March 2012, 02:16
No, second time still crashes and it seems it's not because of refresh-rate switching.
The crashing happens also if both files have the same fps, like 2 files with 23.970 fps.
Thanks for the tip about D3D11, but doesn't seem to have any influence on the crashing for me.
Did it completely solve this crashing problem for you ?

The other thing mentioned in this thread "flush" for "after copy to backbuff" + flush for "after last rendering step", seems to help, but does not solve the problem.
It just happens less likely :(

Yes, D3D11 works all the time for me, as does playing a second time after refresh change (but that of course is useless, though still fixes it). IIRC there was someone else having a similar problem, I just forgot about it for a while. My settings are pretty much default except for D3D11 and the refresh rate changer.

TheShadowRunner
3rd March 2012, 15:36
Hi madshi,
Here are 2 small bugs in v0.81 that didn't happen with previous versions.
If you switch resolution manually, but stay under the same frequency, madVR doesn't go in exclusive mode anymore unless you reload the media.
Exemple: screen is on 1280x720@60. I start playback of a 1080p 30fps video and change the resolution manually to 1920x1080@60. In this case playback of the media continues just fine but madVR won't go in Exclusive mode anymore. Just reloading the media at this point allows madVR to go in Exclusive mode again.
I know you don't really like people switching resolution "behind madVR's back" but it now works perfectly fine for all the other cases, and this used to work fine with 0.77-0.80 too.

The 2nd bug, this time directly related to madVR's own display changer.
I put only 1080p60 in the "list all display modes madvr may switch to". I put the screen in 720p50 manually. I then start playback of a 1080p 30fps video, in this case madVR doesn't switch the resolution to 1080p60. This also used to work fine with 0.77-0.80.

Absolutely everything else runs flawlessly here, a real pleasure ;)

Edit: "delay switch to exclusive mode by 3 seconds" is enabled.
Btw, it would be great if we were able to tweak this value, in milliseconds, for testing, maybe via registry key?

shaolin95
3rd March 2012, 16:25
The recommended card, as always, is usually the most expensive card that you are willing to pay for. The more you give to madVR, the more it can utilize.
So I noticed something...my 2600Pro is able to run the 1080p movies great if I uncheck the option to go to exclusive mode when going to full screen then there are no hiccups, the movie runs smoothly all the way. I wonder what that option does and what am I missing..
Any ideas?

Plutotype
3rd March 2012, 18:08
Yes, D3D11 works all the time for me, as does playing a second time after refresh change (but that of course is useless, though still fixes it). IIRC there was someone else having a similar problem, I just forgot about it for a while. My settings are pretty much default except for D3D11 and the refresh rate changer.

When playing a video in exclusive mode with D3D11 and right-clicking to access madVR edit options, it pauses the video sometimes. Also I get presentation glitches with D3D11, one always just after playback starts and couple of them appear also later.

That is why I use D3D9 with the option "overshoot max frame latency". Results are 0-1 dropped frames, 0 presentation glitches. Of course on my setup.

madshi
3rd March 2012, 20:23
Ok, easy answers first. Replies which require some checks will come a bit later.

MPC generates a error saying it's stopped working, so I'm uncertain, I've created a log anyway if you're interested.

http://www.mediafire.com/?5a6o4g47fulerfs
A log alone won't help much for a crash. Was the crash in MPC-HC or in madVR? If it was in madVR you should (ideally) have seen the madVR exception box with an option to send a bug report to me. If you just saw the standard windows crash box then the crash was probably in MPC-HC and not in madVR. Without a madVR crash report there's not much I can do about crashes.

This is unrelated to the new release as I have the same problem with 0.80, but does anyone else also have problems getting deinterlacing to work?
I'm on Win 7 x64, Radeon HD 5850, Catalyst 12.2 and deinterlacing just won't work, even if I force it via ctrl+alt+shift+d, I still see all those combs. It worked fine when I used it a few weeks ago (or use a different filter like LAV Video to do the deinterlacing), so maybe it is something with the new drivers?
I can't get deinterlacing to work either. When I turn on deinterlacing in madVR (and turn off software deinterlacing in LAV Video Decoder) and try to play back my 1080i60 content I get audio but no video (video is black/blank in mpc-hc). Had the same issue with version .80. I've got a Radeon 6570 w/Catalyst 12.1.
A few things to check:

(1) Press Ctrl+Alt+Shift+D to make sure deinterlacing is turned on.
(2) Press Ctrl+Alt+Shift+T to check whether madVR is in film or video mode.
(3) Double check whether deinterlacing works with other renderers (VMR9, EVR).

There are some weird subtitle behaviour when there are media player messages in the top left corner. I guess this is why you've disabled the "pause" messages, but if you seek, change volume etc, the problem is still there. And I'd like to have the pause message =).
That's technically not possible to achieve at the moment. When a message appears on screen, madVR is forced to rerender the frame. In order to do that, the subtitles must be rerendered, too. And the internal MPC-HC subtitle render engine doesn't like to go backwards in time. The going backwards happens because madVR has already asked the subtitle renderer to render future frames in order to fill the render queue. So in order to rerender the "current" frame, the subtitle renderer would have to "rewind". And whenever I ask it to do that, it needs a couple of frames until it outputs subtitles again. As a result, subtitles disappear. There's not much I can do about it atm. There may be a way in the future to solve this, by using a better subtitle renderer, but that doesn't exist yet.

And from what I've tested so far, everything is perfect; thank you very much!
Hmm, using v0.80, my 3-year old HD4870 literally died trying to play the Life in the Garden 4k resolution video; it was totally unplayable! But with the new version, the video plays semi-fine with 1-2 dropped frames per second. Great performance increase here. :D
Good to hear!

bcvbc
Please quote the "normal" way. I've had to manually copy your texts over because the doom9 forum software doesn't understand your way of quoting/replying.

Yeah, I mean it looks better with madvr's IVTC instead of dxva deinterlacing. I'm not sure if there's more going on technically, but in the case of this DVD it wanted to use deinterlacing first.
That's kinda as expected. Currently madVR is not able to autodetect whether a DVD is "film" or "video" type. So it defaults to DXVA deinterlacing because that can handle everything. If you know for a fact that IVTC will work on any given DVD, just turn it on manually and you may get better quality (at least better smoothness). But if you turn IVTC on for material that can't be IVTCed, you'll get combing.

Are you using the Direct3D11 presentation option in madVR? Which OS and which GPU are you using?
Yes and Windows 7 with a GTX 550 Ti 285.62 WHQL drivers
I'm aware of that there are sometimes odd effects with the D3D11 presentation option. I plan to work on that in a future version. But it won't be easy to fix, because it only rarely happens on my PC.

Using madVR 0.81


Frame rate : 25.000 fps <----
Original frame rate : 23.976 fps <----

will use original frame rate (23.976 fps "says source filter" with dropped frames) instead of frame rate (25.000 fps).

Adding .25p at the end before .mkv will play file with 25.000 fps (without dropped frames)
It is not madVR's job to look at the container information. That's the splitter's job. The "says source filter" is the information that the splitter or decoder provided madVR with. So if that information is incorrect, you need to complain to the splitter/decoder developer.

Has anyone noticed that MadVR doesn't work properly on a monitor in portrait mode?
Does every GPU/monitor support that? I don't even know how to activate that?

About presentational glitches, I found out what caused the problem earlier for me on the laptop: tha LAN cable ! :)
Ouch.

Well, not totally solved:
- after reboot playback is awful again (many-many glitches, and frame drops)
- but unistalling and reinstalling the same new lan driver solves the problem again (very few glitches or none) !

So I don't know what is going on ... :)
I don't know, either. You could try checking if you can change something in your BIOS. In any case, if reinstalling the LAN driver makes the problem go away then most probably madVR is not at fault.

Wow, I can now FINALLY drag MPC-HC between screens and fullscreen to exclusive mode without lag and without a frozen screen. Before exclusive mode could only be started on one screen and then I would have to reopen the video clip to use fullscreen exclusive mode on my other screen.

I must say that Windowed <-> exclusive mode and rapid switching between exclusive modes of different screens is now completely smooth and fixed from my viewpoint.
Good to hear. I hope it will stay this way once the refresh rate changer bugs are fixed.

Feature request: Is it possible to add key commands to enable (or invoke) the display changer and to disable (or stay at the original refresh rate)? Basically to be able to have the display changer 'execute' at will?
Possible, yes, but I'm not sure how many users would actually use that. I'm a bit reluctant to add keyboard shortcuts for any funny feature. The alphabet has only so many characters.

Hi madshi, today in mpc-hc I got a message about mpc-hc crashing but I see a madVR crash report was created on the desktop. Is it useful to send this to you somehow?
Yes, that's why it was created.

I vote for a fix to the "DVD macromedia fail" on window seven, if you please.
It's on my to do list, together with so many other things.

is dscaler5 still necessary with madVR 0.81? I'm a little confused whether the ivtc features in madVR duplicate what dscaler does for dvds (mpeg2).
In theory madVR's IVTC should be better than the DScaler5 IVTC Mod in every way. Whether that's true in real life is another question and still needs to be proven over time.

I'm finding that the automatic display mode changer isn't taking deinterlacing+IVTC into account when determining which display mode to change to. It is selecting 1080p60, even though the playback rate is 24fps. When the content is already 24p, 1080p24 is selected correctly. Can anyone confirm, or am I missing something?
Did you force madVR into film mode? Only in film mode madVR is supposed to switch to 24p, when playing back a 1080i60 file.

Would it be possible to change the seek bar's height in exclusive mode? It's a little too thin now -- with an overscan, I could merely see the tip of the bar.

A time code overlayed on top of the seek bar (I know it's custom drawn and much harder than what most ppl think) would be appreciated as well. :)
Yeah, that would be nice, but just changing the seek bar height alone isn't enough, I'd also have to redraw the seekbar thumb image. And adding a time code overlay would also cost extra work. This will surely all come sooner or later, it's just a question of priorities. Everything which can't be done in a couple of minutes has to wait until it's the most important thing in my to do list.

Thanks madshi for the new version, bicubic 100 exceeded my expectations and unlike EVR's bicubic 100 there is very little aliasing and less ringing.
Glad you like it. Not sure why it has less ringing than EVR's algorithm, though. Ok, my algorithm should be mathematically "perfect". Maybe EVR's algorithm isn't? I don't really know...

Speaking of FSE seek bar, it would be nice if it supported seeking to keyframes with Shift+LeftClick (or some other way) just like MPC-HC does.
Does anybody know how to do this programatically? I don't right now from the top of my head. "IMediaSeeking" allows me to seek to a specific time with the hint to the decoder to seek to the nearest key frame. But I've no idea how to find out which time code the next key frame might have.

On further testing it seems to be the enabling of 'delay playback start until render queue is full' and probably a high backbuffer value.
That combination may explain a certain delay in switching. But it doesn't explain why you didn't have the same problem in v0.80, so I'm a bit confused.

Got a wierd symptom with MPC-HC, LAV Filters & madVR 0.81, black screen with the above using RGB32, but works right away in YV12.
Can you reproduce that? Does it happen with all videos or just with some specific ones? In the latter case can you upload a small sample? If it happens if all videos, something is weird. Maybe a small madVR debug log would help, not sure.

I have a request:

madVR CPU resizers.
Maybe at some time in the future, but not anytime soon. Creating fast CPU resizers would probably require carefully written SSE2 code which is a quite time consuming thing to do.

About my previous (http://forum.doom9.org/showthread.php?p=1553687#post1553687)issue:
I've tested with 0.81: no problem
I came back to 0.80 : no problem

So, it was on my own. Sorry for the disturbance. :/
No problem. There was a reason I never analyzed that problem. It didn't seem likely to me that madVR would be at fault.

DragonQ
3rd March 2012, 20:27
When using MadVR with LAV set to deinterlace 50i to 50p, it says "movie 25.000 fps (says source filter)", even though it's definitely playing back at 50p. Is this a bug?

madshi
3rd March 2012, 20:39
Easy answers, part II:

Follow up to my question about dscaler5:

If I play this clip:

https://rapidshare.com/files/4264372196/elizabeth.vob

with dscaler5, madVR correctly reports the movie is 23.976 fps and sets the TV to that refresh rate.

without dscaler5, I can press CTRL-ALT-SHIFT-T to force it to set the display to 23.976, but it won't do so automatically unless I disable automatic detection and select "default to film mode".

Seems like dscaler is still a better option for the time being?
What you're describing is the current intended behaviour. madVR is currently not able to autodetect whether a video file is "film" or "video" type, so it always defaults to "video" type because that results in DXVA deinterlacing and DXVA should be able to handle all kinds of materials. If you only play movie files and no native video content (music concerts, sports) at all, then you can simply force madVR into "film" mode. Then it should work identically to (or better than) DScaler.

And in that case it still reports the movie is 29.970 fps.
No. It just informs you about what the splitter/decoder is telling madVR, nothing else. The splitter/decoder is sending madVR 1080i60 content, so the 29.970 information is absolutely correct. It's only after madVR's IVTC that the movie is converted from 1080i60 to 1080p24. So practically the input is 1080i60 (and 29.970 is the correct information for that) and the output is 1080p24.

why then is it reported as 29.970, when mediainfo says it's 23.976?
Because mediainfo tries to be clever (and sometimes fails with that). mediainfo tries to tell you which frame rate the video file has after IVTC. But madVR gets the video frames before they're IVTCed, so it's correct for the splitter/decoder to report 29.970.

How does madVR's ivtc filter handle a file like this: http://www.mediafire.com/?2obecsdjb930dgg

The file is 1080i59, and according to tsmuxer, has pulldown flags. While playing the file, Reclock shows 23Hz (and when using EVR, mpc also shows 23fps). I use LAVvideo, which I assume must be stripping the pulldown.

However, madVR shows 29Hz, and shows a 3:2 cadence.

The file plays fine, so I assume everything is working right, but I didn't think the two things above could be true at the same time.
Reclock, EVR and MPC don't take "repeat first field" into account. They just count the number of frames that are sent to the renderer. If you have a file which switches multiple times between soft-telecine and hard-telecine (many broadcasts do), Reclock, EVR and MPC will all switch betwen 23Hz/fps and 29Hz/fps, as well, or even show some random value betwen 23 and 29. In contrast madVR properly interprets "repeat first field" and thus it doesn't switch between 23 and 29. Instead madVR always correctly reports 29 with a 3:2 cadence. Which is the correct information.

I'll be damned, I completely misread that option. Checking disables it, now that makes more sense considering my previous post to madshi about it! You're completely right. Sorry for the confusion.
Now I'm not sure: Is your previous post still valid?

I've recently found an annoying problem. Whenever I play any 50fps (progressive) video, MadVR crashes within 1 or 2 minutes of start playing (mainly in exclusive mode). This does not happens when playing 23.976 or 60 fps videos. In the former case, statistics show a composition of 59.9 fps instead of 50.

I've tried other renderers (EVR) and videos does not crash. The problem persists whenever I disable/enable Reclock or I change options in MadVR like queue lengths and happens with any 50fps content.

I use the latests versions of MadVR, LAV filters, ffdshow, MediaPlayer HC, and Reclock.
Is it really madVR that crashes? If so, with v0.81 you should get a madVR crash box with the option to send a bug report to me. Please do so. If you get a standard windows crash box, then maybe the crash didn't occur in madVR but somewhere else? In any case, if you're overclocking your PC, try running at stock clocks.

Question about dithering.Seems that latest LAV Video decoder has dithering option and it can't be ticked off, so should I set dithering off from madVR instead or let them both do dithering?
Never turn off dithering in madVR, unless you have good reasons for that. The only good reasons that come to my mind are:

(1) If it's the one and only chance to get smooth playback, after you've already dumbed down all other settings.
(2) If you want to check whether screenshots are bitwise identical.

madshi, given most of the media are 16-235, wouldnt it be more accurate to the source for displaying, to setup tv to limited RGB (16-235) and madvr to TV levels?

If so, how would you configure coreAVC as for Output and Input levels? (0-255), (16-235) or Auto detect. I think you said you use coreavc for h264 decoding so just curious how you have set it up. Im going crasy to be sure to have all the luminance configuration filters correctly set up
i would recommend to set input and output in CoreAVC to 16-235, that'll ensure it doesn't touch the values (independent of what you want to output later)
^

Setting madVR to TV or PC levels output is kinda difficult to recommend. Setting it to PC levels means that you can calibrate your display accordingly and still get a proper grayscale for games and desktop. So that might be the best solution. But your display must be able to handle that.

I have a .mp4 file that is tagged "Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177 " However, MadVR is still "best guessing" as BT.601? I'm using Lav Decoders within MPC-HC.
Tagged how? In the file name? madVR currently does not read matrix coefficients from the file name. Or do you mean it's tagged in the video headers? Or in the container? If it's in the video headers then madVR should be able to identify it (only if it's h264, MPEG2 or VC-1). Otherwise, if it's in the container then it's the splitter's job to forward this information to madVR. In that case talk to the splitter developer.

I bought DVB-T tuner on chip IT6135 and unfortunately it isn't working with madVR as renderer in MPC-HC. With EVR or Haali Renderer works good, but with madVR it fails to load. I know that there are more important things to change in madVR, but if you could add this to your to do list, and someday maybe you will fix it ;)

Log:
http://dl.dropbox.com/u/16282309/mad/madVR.DVB-T.7z
I don't think I can test this without having the DVB-T tuner hardware?

Hello guys...this is the first time I have tried madvr and it blew me away!
I have been using MPC for a long time with ffdshow, avisynth scripts etc... I have to try again today but unless my eyes were deceiving me yesterday, the quality is amazing! The color, detail , everything looks super.
I am planning to read a lot of this thread but one thing but I was wondering if there is a recommended card or cards list?
I only do 1080p bluray ripped to my main server and unless I am blind , this gives better quality than my Samsung player.
So, I have a HD2400Pro (maybe HD2600Pro need to verify) and this is only for HTPC so I am trying not to break the bank of course.
Any recommendations?

PS The reason I ask is because, I am not sure if its a card issue but it looks more like a sync issue where it is playing very smoothly then suddenly it hiccups and then goes fine again. My projector is running at 48fps (47.9xx) and I tried with Reclock as well. It apparently could be just at the beginning or for some movies only but I did this too late so couldnt try a lot. I will have to verify. I had to use DXVA (native) for this card or it would be a stutter fest.
DXVA decoding is kinda troublesome for ATI cards when using madVR. So that may explain the problems you're having. If you can't upgrade your CPU in order to do software decoding then I would suggest getting a budget NVidia GPU (something faster than a 520, though), or maybe the new Radeon 7750. I'm not totally sure the 7750 will work perfectly with DXVA, but at least 1080p24 movies should be no problem.

But the first step should be to make sure that it's really a problem with the DXVA decoding. So I'd suggest that you activate the madVR debug OSD (Ctrl+J) and then have a look at all the various queues. In the moment when the image stutters the debug OSD should show an increase in "dropped frames". In that moment please check which of the queues are empty and which are not. The most important is the top most queue which is empty. Is it the decoder queue? Or a different one?

Some of my PAL DVDs are being detected as being SMPTE-C by madvr even though madvr also reports the resolution to be 720x576. I thought the primaries were determined by the resolution?

The strange part about this is if i play one of the individual VOBs with LAV Video as my decoder, madvr reports that it is using EBU primaries. If I use ffdshow libmpeg2 decoder and YV12 output and play the full DVD (with menus etc) madvr guesses it is SMPTE-C. Is there a reason for this?

EDIT: Forgot to test the individual VOB with ffdshow. madvr uses EBU when I do this as well. So this seems to only happen when I open the full DVD and it starts at the menu screen. Shouldn't madvr use EBU if it is still reporting a 720x576 resolution?
If the MPEG2 track has primaries information in the headers, madVR should be able to detect that. If it doesn't, madVR guesses based on the resolution. Maybe the menu screen is 720x480 and the movie later 720x576? Or maybe the menu screen comes with primaries = SMPTE-C information? I'm not sure from the top of my head whether madVR switches to different primaries if the video stream changes in the middle of the movie. Anyway, what does the madVR OSD say about the primaries? Does it say "best guess" or does it say "says bitstream" or something else? Also check the OSD to see the resolution of the menu screen.

Here are 2 small bugs in v0.81 that didn't happen with previous versions.
If you switch resolution manually, but stay under the same frequency, madVR doesn't go in exclusive mode anymore unless you reload the media.
Exemple: screen is on 1280x720@60. I start playback of a 1080p 30fps video and change the resolution manually to 1920x1080@60. In this case playback of the media continues just fine but madVR won't go in Exclusive mode anymore. Just reloading the media at this point allows madVR to go in Exclusive mode again.
Please try this again with the next build. It might be fixed there. If not, let me know.

The 2nd bug, this time directly related to madVR's own display changer.
I put only 1080p60 in the "list all display modes madvr may switch to". I put the screen in 720p50 manually. I then start playback of a 1080p 30fps video, in this case madVR doesn't switch the resolution to 1080p60. This also used to work fine with 0.77-0.80.
That's weird! Can I have a debug log from this situation, please?

Edit: "delay switch to exclusive mode by 3 seconds" is enabled.
Btw, it would be great if we were able to tweak this value, in milliseconds, for testing, maybe via registry key?
Not at this time. Too many other things to do.

When using MadVR with LAV set to deinterlace 50i to 50p, it says "movie 25.000 fps (says source filter)", even though it's definitely playing back at 50p. Is this a bug?
The "says source filter" information is what the decoder is reporting to madVR. The decoder is outputting 50 fields per second, or 25 frames per second. So the information is correct. The 50p output is only due to deinterlacing which is done inside of madVR. So everything is correct.

agustin9
3rd March 2012, 20:42
Hi madshi, can you make the statistics display the current frame rate like evr-cp?

nevcairiel
3rd March 2012, 20:49
Otherwise, if it's in the container then it's the splitter's job to forward this information to madVR. In that case talk to the splitter developer.

As if there is a way to communicate from the splitter up to the renderer. The decoder would swallow that information.
Really, most video codecs have fields for that in their header, doing that in the container is just backwards.

DragonQ
3rd March 2012, 20:54
The "says source filter" information is what the decoder is reporting to madVR. The decoder is outputting 50 fields per second, or 25 frames per second. So the information is correct. The 50p output is only due to deinterlacing which is done inside of madVR. So everything is correct.
I thought with the YADIF option enabled in LAV, the deinterlacing is being done by LAV itself, before MadVR gets the frames?

madshi
3rd March 2012, 21:05
Hi madshi, can you make the statistics display the current frame rate like evr-cp?
Yes, I can. But I won't, at least not any time soon. It would cost me many hours to implement that. That time is better spent elsewhere, IMHO.

As if there is a way to communicate from the splitter up to the renderer. The decoder would swallow that information.
Really, most video codecs have fields for that in their header, doing that in the container is just backwards.
I agree that this information should be in the video bitstream. But we're not living in an ideal world, so we have to do the best we can do with imperfect files. From an end user point of view, if the container does contain primaries information and the video bitstream does not, then the information from the container should be used. From a DirectShow point of view this is perfectly possible. The splitter can output this information via VIDEOINFOHEADER2, the decoder can then forward this information to the renderer. Ok, no decoder today does that (except for the madVR internal decoders, haha, but that doesn't count, I guess). But hey, you're developing both a splitter and a decoder... ;):D

BTW, doesn't the same logic already apply to e.g. the aspect ratio and to the frame rate? E.g. if the container contains AR and FPS information and the video bitstream does not, doesn't the splitter output both and the decoder forward both? At least that's how it should be, IMHO.

I thought with the YADIF option enabled in LAV, the deinterlacing is being done by LAV itself, before MadVR gets the frames?
With YADIF enabled in LAV you should see "50.000 fps (says source filter)". If you don't then you need to talk to nevcairiel.

TheShadowRunner
3rd March 2012, 21:14
Please try this again with the next build. It might be fixed there. If not, let me know.

[About manual resolution switching preventing Exclusive mode]
Will do, thank you!

That's weird! Can I have a debug log from this situation, please?

[The 2nd bug, this time directly related to madVR's own display changer.
I put only 1080p60 in the "list all display modes madvr may switch to". I put the screen in 720p50 manually. I then start playback of a 1080p 30fps video, in this case madVR doesn't switch the resolution to 1080p60. This also used to work fine with 0.77-0.80.]

Sure, here it is:
http://videoff7.free.fr/madVR_debug_TSR.zip
See you,

TSR

agustin9
3rd March 2012, 21:17
Yes, I can. But I won't, at least not any time soon. It would cost me many hours to implement that. That time is better spent elsewhere, IMHO.
Ok madshi, thanks for your hard work. With that and the repited frames counter madvr would be nearly perfect

madshi
3rd March 2012, 21:27
I put only 1080p60 in the "list all display modes madvr may switch to". I put the screen in 720p50 manually. I then start playback of a 1080p 30fps video, in this case madVR doesn't switch the resolution to 1080p60. This also used to work fine with 0.77-0.80.
The log says that the upstream filter (splitter/decoder) did not inform madVR about the framerate of the movie file. As a result madVR doesn't know what to do. I don't see how 0.77-0.80 could have behaved any different in this situation. Please double check whether the problem really does not occur with 0.80. I rather think the video file or the splitter/decoder are at fault, and that the same problem would have occurred with 0.77-0.80, too.

Ok madshi, thanks for your hard work. With that and the repited frames counter madvr would be nearly perfect
A "repeated frames" counter is on my to do list, I consider that important (but not as important as some other things on my to do list).

TheShadowRunner
3rd March 2012, 21:59
The log says that the upstream filter (splitter/decoder) did not inform madVR about the framerate of the movie file. As a result madVR doesn't know what to do. I don't see how 0.77-0.80 could have behaved any different in this situation. Please double check whether the problem really does not occur with 0.80. I rather think the video file or the splitter/decoder are at fault, and that the same problem would have occurred with 0.77-0.80, too.

Thanks for checking it this fast.
I just tested with build 0.77 and you are right of course, it doesn't switch either.
I'm sorry :o

I double-checked the other bug at the same time (manually switching resolution prevents FSE if frequency stays the same, eg: 1280p60 -> 1080p60), it does work with 0.77 and broken with 0.81, no mistake on my end on this one ^^;

agustin9
3rd March 2012, 22:11
A "repeated frames" counter is on my to do list, I consider that important (but not as important as some other things on my to do list).
Sorry about that, not my native language :)

What are the next things on your list?

shaolin95
3rd March 2012, 22:20
DXVA decoding is kinda troublesome for ATI cards when using madVR. So that may explain the problems you're having. If you can't upgrade your CPU in order to do software decoding then I would suggest getting a budget NVidia GPU (something faster than a 520, though), or maybe the new Radeon 7750. I'm not totally sure the 7750 will work perfectly with DXVA, but at least 1080p24 movies should be no problem.

But the first step should be to make sure that it's really a problem with the DXVA decoding. So I'd suggest that you activate the madVR debug OSD (Ctrl+J) and then have a look at all the various queues. In the moment when the image stutters the debug OSD should show an increase in "dropped frames". In that moment please check which of the queues are empty and which are not. The most important is the top most queue which is empty. Is it the decoder queue? Or a different one?


Thanks for the replay :)
I have a core duo 6600 at 4.2 but that is not enough I think plus I love how this works. Also I notice that the hiccups only happen when I am in Full Screen Exclusive mode. If I dont use Exclusive then full screen plays smoothly. Am I missing something by not using Exclusive.
If you feel an Nvidia card works better , I can do that, I dont mind either company. :)

Not sure if a newer card will have better IQ but just in case, for Nvidia do you have a preferred card for this only?

madshi
3rd March 2012, 22:30
madshi, here are the samples you requested:

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

I just briefly went over the first sample with 0.81 and I actually see some combing in different spots. The second sample is from a PAL dvd and I use ReClock to play it at 24 fps, so I'm not sure if that affects the behavior of madvr's IVTC

Let me know if you need more/longer samples
Thanks - interesting samples! The first one ("whatever you do, dearie, don't get married") is the best. It's a pretty straight 4:3:3 cadence, but every once in a while there's a glitch in the encoded cadence. madVR detects that, but sometimes a bit too late, so that there is sometimes a bit of visible combing. This will be a good sample for later, when I try to improve the speed of detecting such encoded cadence errors. Can I please have a longer version of this video? The longer the better. Thanks!

The second sample (PAL) is weird. It's the only PAL sample with a 3:2 cadence that I've ever seen. madVR detects the cadence correctly, but the video is encoded rather poorly. There are some combing artifacts which are encoded into the source. Nothing madVR can do about.

The third sample is a typical case of field blended encoding. These can only be properly handled by video mode deinterlacing. IVTC won't work correctly on those.

What are the next things on your list?
I don't really like to talk about future development. I'll talk about it when it's done. Also, I don't have my to do list sorted. When I have time to implement something new, I look through the list and check what seems to be most important (to me).

I have a core duo 6600 at 4.2 but that is not enough I think plus I love how this works. Also I notice that the hiccups only happen when I am in Full Screen Exclusive mode. If I dont use Exclusive then full screen plays smoothly. Am I missing something by not using Exclusive.
If you feel an Nvidia card works better , I can do that, I dont mind either company. :)
I think at 4.2GHz it should be fast enough for CPU decoding? It only hiccups in exclusive mode? That's weird. Anyway, if you get perfect results in windowed mode then there's no problem with disabling exclusive mode. I mentioned NVidia only because you wanted to use hardware decoding. Before changing GPUs I'd really suggest checking whether that's really the cause of the problem. If the problem only occurs in exclusive mode then it's probably not caused by hardware decoding. Summary: If you have no problems at all with fullscreen windowed mode, then there's no need to use exclusive mode, and no need to upgrade your GPU, either.

shaolin95
3rd March 2012, 22:46
Excellent. I thought I may have been missing something by not using Exclusive.
The time I tried CPU decoding it was running super slow ..not sure why.
Thanks a ton..this rocks!

madshi
3rd March 2012, 22:50
Exclusive mode is mainly meant to fix problems (e.g. tearing, or frame drops) some people have with fullscreen windowed mode. If fullscreen windowed mode works perfectly for you, just be happy and turn exclusive mode off... :)

shaolin95
3rd March 2012, 22:57
Exclusive mode is mainly meant to fix problems (e.g. tearing, or frame drops) some people have with fullscreen windowed mode. If fullscreen windowed mode works perfectly for you, just be happy and turn exclusive mode off... :)

Excellent. You saved me money there and this thing just looks brilliant! Cant thank you enough . :)

Just in case, if I wanted a more powerful Nvidia card just for this, not gaming, do you have any preferences?

FlashGordon
3rd March 2012, 23:25
If the MPEG2 track has primaries information in the headers, madVR should be able to detect that. If it doesn't, madVR guesses based on the resolution. Maybe the menu screen is 720x480 and the movie later 720x576? Or maybe the menu screen comes with primaries = SMPTE-C information? I'm not sure from the top of my head whether madVR switches to different primaries if the video stream changes in the middle of the movie. Anyway, what does the madVR OSD say about the primaries? Does it say "best guess" or does it say "says bitstream" or something else? Also check the OSD to see the resolution of the menu screen.

When I open the full DVD, it intros with a logo and then transitions into a menu, all of which is reported at 720x576. The primary and matrix information is a "best guess" and it is guessed to be SMPTE-C. When I play the movie from there it stays the same.

When I open the individual VOB, the primaries and matrix are "says bitstream" and the primaries are EBU.

I'll have the IVTC samples for you by tonight or tomorrow night, I have a few more silent films on DVD that I want to check and see if they have strange cadences

sneaker_ger
4th March 2012, 01:33
(1) Press Ctrl+Alt+Shift+D to make sure deinterlacing is turned on.
(2) Press Ctrl+Alt+Shift+T to check whether madVR is in film or video mode.
(3) Double check whether deinterlacing works with other renderers (VMR9, EVR).

All those things were set correctly, but I have found out something different:
The file was incorrectly encoded progressively, but only forcing deinterlacing with Ctrl+Alt+Shift+D did not show any effect. I also had to manually pick a field order. I don't know if this is in any way intended or a bug. The other funny thing: It did not matter whether I chose BFF or TFF, the deinterlacing worked correctly both times. Only in "auto field order" there was combing, i.e. no deinterlacing at all.

I'll probably have to conduct a few more tests before making any definite answer.

cyberbeing
4th March 2012, 02:22
Here is another madVR freeze report, this time of the issue that often causes madVR to hang when changing the subtitle stream from a paused state. (MPC-HC + Haali + vsfilter.dll):
http://www.mediafire.com/?yrsmua81psw1ycv

robpdotcom
4th March 2012, 02:41
Reclock, EVR and MPC don't take "repeat first field" into account. They just count the number of frames that are sent to the renderer. If you have a file which switches multiple times between soft-telecine and hard-telecine (many broadcasts do), Reclock, EVR and MPC will all switch betwen 23Hz/fps and 29Hz/fps, as well, or even show some random value betwen 23 and 29. In contrast madVR properly interprets "repeat first field" and thus it doesn't switch between 23 and 29. Instead madVR always correctly reports 29 with a 3:2 cadence. Which is the correct information.

Thanks for the explanation.

BTW: Here's another telecined sample with TV station animation - I guess they never expect people to IVTC these things :scared:

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

ryrynz
4th March 2012, 02:53
A log alone won't help much for a crash. Was the crash in MPC-HC or in madVR? If it was in madVR you should (ideally) have seen the madVR exception box with an option to send a bug report to me. If you just saw the standard windows crash box then the crash was probably in MPC-HC and not in madVR. Without a madVR crash report there's not much I can do about crashes.


It's MPC that crashes (freezes) it happens only in exclusive mode and the flush settings seem to play a part in how regularly it happens so it's likely MadVR related. I'll try some earlier versions of MadVR and MPC and report back.

madshi
4th March 2012, 09:00
Just in case, if I wanted a more powerful Nvidia card just for this, not gaming, do you have any preferences?
Yes: Wait for the new 28nm GPUs. ATI's are already out. NVidia's not yet, but coming soonish.

When I open the full DVD, it intros with a logo and then transitions into a menu, all of which is reported at 720x576. The primary and matrix information is a "best guess" and it is guessed to be SMPTE-C. When I play the movie from there it stays the same.

When I open the individual VOB, the primaries and matrix are "says bitstream" and the primaries are EBU.
Hmmmm... So the bitstream of the real movie contains the necessary information while the menu does not. That kinda makes some sense. However, I'm wondering why the "best guess" is wrong! For 720x576 the best guess should be EBU. What happens if you play the VOB file directly which contains the menu? Do you get SMPTE-C then, too? If so, please upload a small portion of the menu. Otherwise: You could try deleting all the movie VOBs and only keeping the menu VOB, together with all the other DVD helper files, and then send me that? It should be possible to dumb this down to a couple of MBs. Thanks!

I'll have the IVTC samples for you by tonight or tomorrow night, I have a few more silent films on DVD that I want to check and see if they have strange cadences
Great - thanks!

All those things were set correctly, but I have found out something different:
The file was incorrectly encoded progressively, but only forcing deinterlacing with Ctrl+Alt+Shift+D did not show any effect. I also had to manually pick a field order. I don't know if this is in any way intended or a bug. The other funny thing: It did not matter whether I chose BFF or TFF, the deinterlacing worked correctly both times. Only in "auto field order" there was combing, i.e. no deinterlacing at all.

I'll probably have to conduct a few more tests before making any definite answer.
A sample would be great.

Do you get proper deinterlacing with VMR/EVR?

Thanks for the explanation.

BTW: Here's another telecined sample with TV station animation - I guess they never expect people to IVTC these things :scared:

http://www.mediafire.com/?m2o5d6hyz2m9zrz
Thanks. The next build will have a trick up its sleeve to handle things like this.

It's MPC that crashes (freezes) it happens only in exclusive mode and the flush settings seem to play a part in how regularly it happens so it's likely MadVR related. I'll try some earlier versions of MadVR and MPC and report back.
A crash is not the same as a freeze. Please be clear in your report. Is it a crash or a freeze? If it's a freeze, you can press Ctrl+Alt+Shift+Break to get a madVR freeze report, which you can then send to me or upload somewhere.

Andy o
4th March 2012, 09:25
Now I'm not sure: Is your previous post still valid?
Sorry, I was confused about the setting, and also about the automatic detection not fully working, as you said. Just disregard that post.