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

Budtz
12th March 2012, 09:03
Seems seeking, fast-forward and opening files has gotten slower in 0.82.5 for me. I noticed that the line that says how much reclock has speeded up the file disappears every time I do any of these things. The queues also go down to 0 and then back up when I seek for instance. I have a corei5 2500k and a gtx 570 so I should have plenty of power.

nevcairiel
12th March 2012, 09:27
Its quite normal for the queues to go to 0 when you seek, because any previously queued data is invalid now.

Luv
12th March 2012, 09:59
Thanks for this new version,Madshi.
So with a Mpeg2 demo at 14 Mb/s,1080i,I just can't use the Intel Mpeg2 decoder! ZP reverses to the Cyberlink one.But I can use the ffmpeg decoder and then the OSD shows that everything is detected correctly.Do you know why I can't use the Intel decoder? Is it because I'm on XP (DXVA 1) ?

PS:
- is it normal that the GPU usage is so high with this version ? Accomplishing the above task consumes...50 % of my HD4770 !? The poor thing took 14°C in a matter of two minutes.
- synchronisation is lost if I fast forward with the seekbar .

ajp_anton
12th March 2012, 10:17
Good find, didn't know that. I'm not sure if there are any downsides to that setting. Maybe higher CPU consumption? I've no idea...
I'll do more testing later today. It also seems to be fixed with the buffer set to 1...
These are the problems I had before, and they're all fixed now:
- subtitles quickly blinked after a pause.
- they no longer disappear due to whatever the on-screen message is doing, I simply can't break it anymore =).
- pgs-type subtitles disappeared completely for some time after a pause (might be the number of buffered subtitles).

Now, would it be possible to add an option to display the pause message? =)

shimaflarex
12th March 2012, 16:31
Setting the number of subtitle buffers to 0 is significantly slower. Instead of flashing subtitles on some cases, you will get frame drops.
If I remember correctly, setting the subtitles buffer to 1 disables animation, even when the "Enable animation when using buffers" is enabled.

azaze1
12th March 2012, 22:18
That's quite weird. Please watch the madVR OSD (Ctrl+J) to check if the display refresh rate is detected correctly right from the start? Maybe it stays at 0 all the time? Or shows an incorrect value?

Is the madVR display mode changer active? Does the problem go away if you disable it?

A debug log would probably help. I only need one from going straight to exclusive mode, with all the problems, then close the media player and send zip the log. Please don't try to "repair" the problem by opening the context menu or anything. Just log the faulty behaviour and close the media player after maybe 5 seconds of bad behaviour. That would make the log much easier for me to read. Thx.

I did have CTRL+J OSD up but it was also a millisecond flash between the black screens so it's mostly unreadable.

I'm not sure about the display mode changer, that feature doesn't ring a bell so I'll assume I did not set it and thus it was the default.

Regarding debug log, I think I made one nearly a year ago so I'll have to read up on how it's done... I think it's just some debug dll registered in place of the normal one and it shows up on desktop? No matter, I'll figure it out.

Pat357
13th March 2012, 00:56
Mad,

A freeze report :

Madvr in FSE mode and I was accessing the context menu (Madvr went back in windowed mode).
I don't know exactly what happened, but I ended up with a frozen MPC showing 2 control bars at the bottom.
I had the mpc-hc.pdb file in the MPC dir, so it should be more readable for you.

One very noticeable thing was that the Madvr tray-icon was not visible for a while.. (never saw this before)

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

Mikey2
13th March 2012, 09:16
Please pardon the "dumb" question, but I always assumed that I was correctly making use of madVR's IVTC functionality. However, after updating to 82.5 I do not see this new "cadence breaks" line in the OSD.


Is "deinterlacing" reported to be "on" or "off" in the OSD? Is a cadence shown at all (even "unknown"), or does the OSD say you're in video mode, maybe?


I have tried this both with interlaced and non-interlaced materials with each of my configured "display modes" that I have set in madVR ("1080p23, 1080p60".) (I.e. I have tried both with madVR's de-interlacer API and without.) To make things simple, here is a screenshot of my OSD. (This is a 1080P/24 movie on a display set to the same...)

http://i155.photobucket.com/albums/s297/mikeyurkus/madVROSD2.png

I do not see anything referring to "cadence" at all.

Thanks much for your help!
MikeY

PS - I usually watch in exclusive mode; I just had to switch to windowed mode to take the screenshot. (That also explains the odd "target rectangle.")

EDIT - I think I "get it" now...I can get IVTC to be enabled if I force "film mode" and turn on madVR de-interlacing on a 29i interlaced DVD (mpeg2.) Why would I do that in the first place though instead of leaving it in video-mode? Am I simply confused since I never watch DVD-movies? (I only use DVDs for videos such as Simpsons or Futurama.) I only watch movies in Blu-Ray or HD-MKV formats. I apologize for the wasted posts if this revelation is correct.

chros
13th March 2012, 20:20
I'm just curious: when the player displays 1080p content on a fullhd screen, what does madvr do? (since there is no resizing ...)
Thanks

sneaker_ger
13th March 2012, 20:26
Since most content (DVD, Blu-Ray, TV) is 4:2:0, madVR still has to scale the chroma to 1080p.

Asmodian
13th March 2012, 20:35
I'm just curious: when the player displays 1080p content on a fullhd screen, what does madvr do? (since there is no resizing ...)
Thanks

features:

- high quality chroma upsampling
- high quality scaling (bicubic, mitchell, lanczos, spline etc)
- high quality YCbCr -> RGB conversion
- gamut & gamma correction for display calibration
- full 16bit processing queue
- final 16bit processing result is dithered down to RGB output bitdepth
- bypasses graphics card's video (damage) algorithms
- all work is done via GPU shaders
- no shortcuts, highest quality has priority over anything else


Only the scaling of Y (luma) is not needed when displaying 1080p on a fullHD (1080p) display.

FlashGordon
14th March 2012, 00:34
I do not see anything referring to "cadence" at all.

That's because deinterlacing is off. From what I have noticed, the cadence break counter only shows up when IVTC is enabled, and for this you need to have madvr's deinterlacing on and in film mode

Mikey2
14th March 2012, 06:37
That's because deinterlacing is off. From what I have noticed, the cadence break counter only shows up when IVTC is enabled, and for this you need to have madvr's deinterlacing on and in film mode

Oh, cool, thanks for the clarificafion. I knew if was something fundamental I was missing. Correct me If I'm wrong, but since I can always set my display to a multiple of the video's fps (I.e. I do not need to perform 3:2 pulls own or anything along those lines...) this is a good thing, correct?

I just wanted to make sure I was correctly using (and understanding ;) madVR's inverse telecine...

MikeY

similar EDIT to my last post - I think I "get it" now...I can get IVTC to be enabled if I force "film mode" and turn on madVR de-interlacing on a 29i interlaced DVD (mpeg2.) Why would I do that in the first place though instead of leaving it in video-mode? Am I simply confused since I never watch DVD-movies? (I only use DVDs for videos such as Simpsons or Futurama.) I only watch movies in Blu-Ray or HD-MKV formats. I apologize for the wasted posts if this revelation is correct.

Mikey2
14th March 2012, 08:31
I apologize for the double post; but this time I have a real problem - I promise. ;)

Like many people, since installing madVR in MPC I received the error "DVD: Macrovision fail" when trying to open a DVD. This is old news - I fixed it by doing the following:
DVD Macrovision qdvd fix (http://forum.doom9.org/showthread.php?t=159492)

However, as of the new version of madVR, I cannot play DVD's anymore. MPC simply freezes up. (It simply says "not responding" and I have to use task manager to shut it down.)

(For my previous posts, I accessed the VOB files directly; however, for several reasons, this is troublesome on several DVDs/)

I tried rolling back the qDVD fix and a few other things, such as trying various mpeg2 decoders, eliminating extraneous filters like ReClock, but nothing seems to work.

Any ideas?

dansrfe
14th March 2012, 08:48
I apologize for the double post; but this time I have a real problem - I promise. ;)

Like many people, since installing madVR in MPC I received the error "DVD: Macrovision fail" when trying to open a DVD. This is old news - I fixed it by doing the following:
DVD Macrovision qdvd fix (http://forum.doom9.org/showthread.php?t=159492)

However, as of the new version of madVR, I cannot play DVD's anymore. MPC simply freezes up. (It simply says "not responding" and I have to use task manager to shut it down.)

(For my previous posts, I accessed the VOB files directly; however, for several reasons, this is troublesome on several DVDs/)

I tried rolling back the qDVD fix and a few other things, such as trying various mpeg2 decoders, eliminating extraneous filters like ReClock, but nothing seems to work.

Any ideas?

Thread just got updated. Try dslibdvdnav and see if it works.

lee_what2004
14th March 2012, 15:52
Hi madshi, I have 2 problem:
1. Regarding the fix on v0.81
* key presses are now only "swallowed" if media player process has key focus
The shortcut keys are still being 'swallowed' even though the media player is no more in focus.

2. I'm using 2 monitors setup (extended). When FSE in main monitor, all the stuff in 2nd monitor will keep lost focus as if the video is trying to take all the focus.
This made me couldn't type or open anything properly.
If I FSE in the 2nd monitor, everything works fine on main monitor.

I'm using MPC-HC 1.6.1.4144, madVR 0.82.5, ATi Mobility HD4670.
Do I need to create debug log or something ?

Juce
14th March 2012, 20:14
Full range does not work properly. (Black is 16, white is 235)

http://img836.imageshack.us/img836/4240/fullrange.png

fullrange.mkv (http://www.mediafire.com/download.php?8hqs3cl7zshphna)

Snowknight26
14th March 2012, 21:15
Sure it does. Don't use MPC Video Decoder.. it's broken.

roytam1
15th March 2012, 13:20
Sure it does. Don't use MPC Video Decoder.. it's broken.

Why not file a bug in MPC-HC about that?

mark0077
15th March 2012, 20:04
madshi, today I had a situation where the image after seeking seemed to freeze and then start flickering. The decoder queue started showing huge numbers like 17-26 / 12. Sound kept running fine in the background, just the image never appeared correctly.

I don't know how that could happen. If I can reproduce is there anything I can do to help? All I did today was take a screenshot showing the strange figures.

EDIT: I'm using Windows 8 CP 64bit, seeking in non fullscreen windowed mode,mpc-hc, lav video decoders 0.49.

ragg987
15th March 2012, 20:28
Issue: I tag my PAL MKV files with "23p" in the filename. 0.81 no longer auto-switches monitor frequency, stays at the default 50Hz. Worked fine with 0.80. Have also tried using "24Hz" in the filename, and fullscreen and windowed. Have double-checked my auto-frequency settings, all is set fine.

ATI5750 on Intel i5 CPU.
Problem is 100% repeatable on 0.81 and 0.82.5.

Attached the logs (https://docs.google.com/file/d/0B-RPEwbxRCltMDlkcTRjN3RUWnE0MnN5M0NIMGZKZw/edit?pli=1). Click file > save as for the zip file, or click on individual text files, as appropriate.

Pat357
16th March 2012, 03:50
Mad,

I got an error message on the "dbghelp.dll" included in the zip from Madvr v0.82.5.
The first thing I did after booting up was start MPC with Madvr.
When I wanted to look with Systinternals Process Explorer, I got the message saying that the "dbghelp.dll" was not for my windows version (Win7 Prof x64).
I came on a link to the Microsoft site to download a "debug" package.

Is the included version from maybe XP / older version of a develop tool ?
In my windows dir I have dbghelp.dll v6.1.7601.17514, the one included is 6.12.0002.633.

Can I replace the one in the Madvr directory with this one ?
Or is it better the remove it and let windows use its own ?

I noticed that mine has a lot of dependencies , while yours has only 4 or so.
Yours is probably one with most needed files statically linked in.
It's obviously not a big issue, but i thought it's better to let you know : maybe next release with an updated dbghelp.dll. :D

FlashGordon
16th March 2012, 08:30
Nosferatu appears to be field blended, so it's not suitable for IVTC.

Ah, I noticed the cadence was similar to the other field blended sample at the beginning, but was unsure. At the end of the Nosferatu sample the cadence changes to 4:2:4:2:2, which is why I thought it was a bit odd

Also, I have a silent film on Blu-ray @1080i that seems to have an odd cadence... madvr's IVTC won't identify the cadence at all, it'll just say "unknown". There is very slight combing without any IVTC or deinterlacing applied, but with IVTC the combing seems to go away. Playback @ 60Hz seems to be smooth, but I get frame drops when I try @ 24Hz. I can provide a short sample if you'd like

Also make sure you configure ffdshow correctly: Turn off "Decoder options -> Soft telecine".


Thanks, that fixed it.

madshi
16th March 2012, 09:23
Seems seeking, fast-forward and opening files has gotten slower in 0.82.5 for me. I noticed that the line that says how much reclock has speeded up the file disappears every time I do any of these things. The queues also go down to 0 and then back up when I seek for instance. I have a corei5 2500k and a gtx 570 so I should have plenty of power.
As nevcairiel already said: The queue is expected to go to 0 when you seek for a short moment. It is possible that seeking got slightly slower because madVR now waits for both the render and decoder queues to fill up before allowing playback to start, while older versions just waited for the render queue to be full. People who use slow decoders (especially ATI DXVA CopyBack) might notice slower seeking. People with fast decoders (e.g. fast CPUs with software decoding, or using Intel hardware decoding) probably won't notice a difference.

What I wrote above only applies if you are using the "delay playback start until..." option in the madVR settings. You're using that option, right?

The reason why I changed it was that some users still has stuttering at playback start and after a seek, which seems to be gone now with the latest madVR version. Some users having slower seeking now is not nice, of course, but I think it's a smaller problem compared to the stuttering some other users had.

Thanks for this new version,Madshi.
So with a Mpeg2 demo at 14 Mb/s,1080i,I just can't use the Intel Mpeg2 decoder! ZP reverses to the Cyberlink one.But I can use the ffmpeg decoder and then the OSD shows that everything is detected correctly.Do you know why I can't use the Intel decoder? Is it because I'm on XP (DXVA 1) ?
Which Intel decoder are you talking about? Do you mean the madVR internal Intel decoder? For that to work you need to download the Intel software library, see first page of this thread.

- is it normal that the GPU usage is so high with this version ? Accomplishing the above task consumes...50 % of my HD4770 !? The poor thing took 14°C in a matter of two minutes.
Is that different to older madVR versions?

- synchronisation is lost if I fast forward with the seekbar .
With which codec (MPEG2, VC-1, h264, other) and which decoder and which splitter?

Now, would it be possible to add an option to display the pause message? =)
Maybe in the future, but not soon. I wouldn't even know where the place it in the settings dialog. However, in the future there might be better alternatives to the MPC internal subtitle renderer, which may not require me to hide the "Pause" message at all, anymore. So such an option might not be needed in the future, anymore, anyway.

Setting the number of subtitle buffers to 0 is significantly slower. Instead of flashing subtitles on some cases, you will get frame drops.
Do you mean the CPU consumption is higher? Or do you mean the subtitle renderer might just take more time to reply to a render request? The latter problem might not be such a big problem when using madVR, due to the madVR queue logic.

I did have CTRL+J OSD up but it was also a millisecond flash between the black screens so it's mostly unreadable.

I'm not sure about the display mode changer, that feature doesn't ring a bell so I'll assume I did not set it and thus it was the default.

Regarding debug log, I think I made one nearly a year ago so I'll have to read up on how it's done... I think it's just some debug dll registered in place of the normal one and it shows up on desktop? No matter, I'll figure it out.
Just double click the "activate debug mode" batch file. Then reproduce the problem. Then close the media player. Then double click "activate release mode". Then zip the log file (should be on your desktop) and upload it somewhere.

A freeze report :

Madvr in FSE mode and I was accessing the context menu (Madvr went back in windowed mode).
I don't know exactly what happened, but I ended up with a frozen MPC showing 2 control bars at the bottom.
I had the mpc-hc.pdb file in the MPC dir, so it should be more readable for you.

One very noticeable thing was that the Madvr tray-icon was not visible for a while.. (never saw this before)

http://www.mediafire.com/?o9x5ojzzkn1bc75
Thanks, that's an interesting one. I suppose it only occurred once and you can't reproduce it?

I think I "get it" now...I can get IVTC to be enabled if I force "film mode" and turn on madVR de-interlacing on a 29i interlaced DVD (mpeg2.) Why would I do that in the first place though instead of leaving it in video-mode? Am I simply confused since I never watch DVD-movies? (I only use DVDs for videos such as Simpsons or Futurama.) I only watch movies in Blu-Ray or HD-MKV formats.
Video-mode uses DXVA for deinterlacing/IVTC. DXVA can do IVTC just fine, too, so image quality should be fine. However, DXVA can't do decimating, so you end up with 60p, while when using madVR's IVTC you end up with 24p. Basically that means when using DXVA you end up watching movies at 60Hz with the normal 3:2 pulldown judder, while when using madVR's IVTC, you can use 24Hz and thus get totally smooth motion.

If you only watch Blu-Rays or HD-MKV stuff then in most cases you don't need deinterlacing at all. Some (very few) Blu-Rays can be interlaced, but it's really rare.

However, as of the new version of madVR, I cannot play DVD's anymore. MPC simply freezes up. (It simply says "not responding" and I have to use task manager to shut it down.)
Then please create a freeze report. You can do that by either pressing Ctrl+Alt+Shift+Break. That should create a freeze report file on your desktop. If that doesn't work, you can try the "madTraceProcess" tool. Look for instructions on how to use that tool by searching in this thread.

Hi madshi, I have 2 problem:
1. Regarding the fix on v0.81

The shortcut keys are still being 'swallowed' even though the media player is no more in focus.

2. I'm using 2 monitors setup (extended). When FSE in main monitor, all the stuff in 2nd monitor will keep lost focus as if the video is trying to take all the focus.
This made me couldn't type or open anything properly.
If I FSE in the 2nd monitor, everything works fine on main monitor.

I'm using MPC-HC 1.6.1.4144, madVR 0.82.5, ATi Mobility HD4670.
Do I need to create debug log or something ?
madVR does not really make any difference between primary and secondary monitor. Can you please double check if games don't show the same problem?

Full range does not work properly. (Black is 16, white is 235)

fullrange.mkv (http://www.mediafire.com/download.php?8hqs3cl7zshphna)
Sure it does. Don't use MPC Video Decoder.. it's broken.
@Juce, is Snowknight26 right in that you're using the MPC Video Decoder? If so, please try a different decoder. Thanks.

madshi, today I had a situation where the image after seeking seemed to freeze and then start flickering. The decoder queue started showing huge numbers like 17-26 / 12. Sound kept running fine in the background, just the image never appeared correctly.

I don't know how that could happen. If I can reproduce is there anything I can do to help? All I did today was take a screenshot showing the strange figures.

EDIT: I'm using Windows 8 CP 64bit, seeking in non fullscreen windowed mode,mpc-hc, lav video decoders 0.49.
If you can reproduce it:

Does MPC-HC still respond to your input (e.g. menus show, button react etc)? If so, please create a debug log for me. If MPC-HC is totally frozen, please create both a freeze report and a debug log. Thanks.

Problem is 100% repeatable on 0.81 and 0.82.5.

Attached the logs (https://docs.google.com/file/d/0B-RPEwbxRCltMDlkcTRjN3RUWnE0MnN5M0NIMGZKZw/edit?pli=1). Click file > save as for the zip file, or click on individual text files, as appropriate.
Thanks, will have a look.

I got an error message on the "dbghelp.dll" included in the zip from Madvr v0.82.5.
The first thing I did after booting up was start MPC with Madvr.
When I wanted to look with Systinternals Process Explorer, I got the message saying that the "dbghelp.dll" was not for my windows version (Win7 Prof x64).
I came on a link to the Microsoft site to download a "debug" package.
Why would ProcessExplorer use "my" dbghelp file? Did you put ProcessExplorer into the madVR folder? Microsoft recommends that if a software uses dbghelp, it might make sense to distribute the exact copy of the dll with the software, which the software is written for, to avoid any version conflicts. That is what I'm doing and it should generally work fine. ProcessExplorer is not supposed to even try to use the madVR-private dbghelp.dll. And if you look at the version number, my dll is newer than the one you came up with.

Also, I have a silent film on Blu-ray @1080i that seems to have an odd cadence... madvr's IVTC won't identify the cadence at all, it'll just say "unknown". There is very slight combing without any IVTC or deinterlacing applied, but with IVTC the combing seems to go away. Playback @ 60Hz seems to be smooth, but I get frame drops when I try @ 24Hz. I can provide a short sample if you'd like
Yes, a sample would be nice. Thx.

lee_what2004
16th March 2012, 10:50
madVR does not really make any difference between primary and secondary monitor. Can you please double check if games don't show the same problem?
I'm not sure how to check with games. Since if I run the games fullscreen and switch to the other monitor, the games would be minimized to the taskbar.

What about the shortcut key problem?

madshi
16th March 2012, 11:32
Problem is 100% repeatable on 0.81 and 0.82.5.

Attached the logs (https://docs.google.com/file/d/0B-RPEwbxRCltMDlkcTRjN3RUWnE0MnN5M0NIMGZKZw/edit?pli=1). Click file > save as for the zip file, or click on individual text files, as appropriate.
Your file contains the text "576p50 24p". madVR finds both "24p" and "p50" in there. Both are supported by madVR. So it's pretty much "random" which madVR uses. If you remove the "p50", the "24p" should start to work.

madshi
16th March 2012, 11:36
I'm not sure how to check with games. Since if I run the games fullscreen and switch to the other monitor, the games would be minimized to the taskbar.
Do all games do that? That's not what you want madVR to do, though, is it?

I'm not sure if there is anything I can do here. You're saying that everything works fine if you play video on the secondary monitor. Since that works fine, probably all that doesn't work fine is not madVR's fault, because madVR doesn't really care which is your primary and which your secondary monitor. I guess that Direct3D or Windows itself is reponsible for the different behaviour. Or maybe the GPU driver, I don't really know.

What about the shortcut key problem?
The problem only happens if you play the video on the primary monitor, correct? If you play on the secondary monitor, the shortcut keys are not being swallowed, correct? I think this is probably a consequence of the primary monitor video stealing the focus. Again, I fear there's not much I can do about it.

madshi
16th March 2012, 11:49
Mad,

A freeze report :

Madvr in FSE mode and I was accessing the context menu (Madvr went back in windowed mode).
I don't know exactly what happened, but I ended up with a frozen MPC showing 2 control bars at the bottom.
I had the mpc-hc.pdb file in the MPC dir, so it should be more readable for you.

One very noticeable thing was that the Madvr tray-icon was not visible for a while.. (never saw this before)

http://www.mediafire.com/?o9x5ojzzkn1bc75
I guess you can't reproduce that, can you? I've modified something which *may* eventually have fixed this freeze now, but I'm not sure.

Budtz
16th March 2012, 15:02
As nevcairiel already said: The queue is expected to go to 0 when you seek for a short moment. It is possible that seeking got slightly slower because madVR now waits for both the render and decoder queues to fill up before allowing playback to start, while older versions just waited for the render queue to be full. People who use slow decoders (especially ATI DXVA CopyBack) might notice slower seeking. People with fast decoders (e.g. fast CPUs with software decoding, or using Intel hardware decoding) probably won't notice a difference.

Well the problem is not as bad as I initially thought. The only difference is that when I seek or fast-forward there is a small pause before movie playback resumes. I am using LAV software decoding on a 4,5ghz quad core processor. Before 0.82.5 seeking was instantaneous.

Juce
16th March 2012, 15:10
Sure it does. Don't use MPC Video Decoder.. it's broken.
@Juce, is Snowknight26 right in that you're using the MPC Video Decoder? If so, please try a different decoder. Thanks.Yes. With madVR's "ffmpeg/libav software decoder" the video works fine. Thanks.

lee_what2004
16th March 2012, 15:31
Do all games do that? That's not what you want madVR to do, though, is it?
At least the games I have, does that. No, I don't want madVR to be like that.

I'm not sure if there is anything I can do here. You're saying that everything works fine if you play video on the secondary monitor. Since that works fine, probably all that doesn't work fine is not madVR's fault, because madVR doesn't really care which is your primary and which your secondary monitor. I guess that Direct3D or Windows itself is reponsible for the different behaviour. Or maybe the GPU driver, I don't really know.
I guess I'll stick with windowed mode.

The problem only happens if you play the video on the primary monitor, correct? If you play on the secondary monitor, the shortcut keys are not being swallowed, correct? I think this is probably a consequence of the primary monitor video stealing the focus. Again, I fear there's not much I can do about it.
No, the problem still occurs whether its plays on primary/secondary monitor, FSE or windowed mode.
At least now, its not completely swallowed.
Before the fix, when I try ctrl + J to open Google Chrome/Firefox download tab, it won't open. Only trigger madVR shortcut.
Currently, the download tabs does open, but it also trigger madVR shortcut at the same time.

JarrettH
16th March 2012, 16:26
Hey madshi, do you think the "queue output samples" in ffdshow would have an impact on madvr's performance? I remember the feature has been in there for a long time. I disabled it recently just in case.

FlashGordon
17th March 2012, 01:10
Is there a preferred tool to cut samples from h264 interlaced? I tried DGAVCIndex but after demuxing I get an unplayable .264 file

zn
17th March 2012, 10:26
any recomendation for PASSIVE (cooling) video card suitable for madVR ?

DragonQ
17th March 2012, 11:38
I use a passively cooled GT 430. I found two models but only one was available at UK online retailers so my choice was rather limited. Be prepared to spend up to 50% more than you would for an actively cooled one.

noee
17th March 2012, 12:26
any recomendation for PASSIVE (cooling) video card suitable for madVR ?

PowerColor HD6570. Or wait for the new 7750 passive from Sapphire, coming soon.

CruNcher
17th March 2012, 13:53
@madshi

Is it possible to make a madvr where you leave the whole scaling part on the shaders away and leave that to the hardware but keep the rest ;) ?
For Intel user that would be much much more efficient i guess having not the massive GPU overhead from the Shader Scaling part Especially on the less powerful Intel HD Graphics GT1 and leaving the scaling to the Driver and Egurs Hardware Asic Lanczos4 (Luma/Chroma) implementation :)

nlnl
17th March 2012, 14:31
madshi
When I try to switch Film-> Video (23hz -> 59 hz) using Cntrl+Alt+Sh+T I get red message resetting Direct3D device failed (8876086c).
Log and freeze report: http://dl.dropbox.com/u/43376972/LOG%20MADVR.zip
Thanks!

nlnl
17th March 2012, 16:16
madshi

For this sample (PAL DVD film in 50i container)
http://dl.dropbox.com/u/43376972/Pal%20film%20deinter%20OFF.mkv
Settings:
force film mode
if in doubt, activate deinterlacing,
but OSD says that deinter is off !

So deinterlacing is not on automatically?

Inspector.Gadget
17th March 2012, 16:23
Is there a preferred tool to cut samples from h264 interlaced? I tried DGAVCIndex but after demuxing I get an unplayable .264 file

Binary file cutting should work fine; just figure out that you need the initial X MB of the file for a worthwhile sample (based on bitrate) and cut it with e.g. DGSplit.

sneaker_ger
17th March 2012, 16:33
madshi

For this sample (PAL DVD film in 50i container)
http://dl.dropbox.com/u/43376972/Pal%20film%20deinter%20OFF.mkv
Settings:
force film mode
if in doubt, activate deinterlacing,
but OSD says that deinter is off !

So deinterlacing is not on automatically?

I think "in doubt" only applies to streams that have been encoded in "interlaced" mode, but where each frame is in fact marked as "progressive". (Like with x264's "--fake-interlaced")
Your stream is probably fully progressive.

ragg987
17th March 2012, 17:12
Your file contains the text "576p50 24p". madVR finds both "24p" and "p50" in there. Both are supported by madVR. So it's pretty much "random" which madVR uses. If you remove the "p50", the "24p" should start to work.Perfect, works now, thanks.

nlnl
17th March 2012, 17:46
I think "in doubt" only applies to streams that have been encoded in "interlaced" mode, but where each frame is in fact marked as "progressive". (Like with x264's "--fake-interlaced")
Your stream is probably fully progressive.
Mediainfo says that video in that sample is Scan type: progressive.
But have a look at this sample http://dl.dropbox.com/u/43376972/SD%20%281%29-001.mkv (NTSC DVD film). Mediainfo says that video in this sample is Scan type: progressive but Madvr switches Deinterlacing on (IVTC in film mode).

nevcairiel
17th March 2012, 17:52
Mediainfo says that video in that sample is Scan type: progressive.
But have a look at this sample http://dl.dropbox.com/u/43376972/SD%20%281%29-001.mkv (NTSC DVD film). Mediainfo says that video in this sample is Scan type: progressive but Madvr switches Deinterlacing on (IVTC in film mode).

That file is indeed progressive, but it has soft-telecine flags.

I suppose madVR turns itself into IVTC mode under the assumption that the soft-telecine may not be consistent, and eventually end up mixed with hard-telecine.

nlnl
17th March 2012, 19:29
That file is indeed progressive, but it has soft-telecine flags.

I suppose madVR turns itself into IVTC mode under the assumption that the soft-telecine may not be consistent, and eventually end up mixed with hard-telecine.

And so madVR should turn itself into IVTC mode playing this sample http://dl.dropbox.com/u/43376972/Pal%20film%20deinter%20OFF.mkv (PAL DVD) too? Or PAL soft-telecine flags are always consistent?

Pat357
17th March 2012, 19:40
I guess you can't reproduce that, can you? I've modified something which *may* eventually have fixed this freeze now, but I'm not sure.
I'll try, but no guarantee.

Pat357
17th March 2012, 20:17
@madshi

Is it possible to make a madvr where you leave the whole scaling part on the shaders away and leave that to the hardware but keep the rest ;) ?
For Intel user that would be much much more efficient i guess having not the massive GPU overhead from the Shader Scaling part Especially on the less powerful Intel HD Graphics GT1 and leaving the scaling to the Driver and Egurs Hardware Asic Lanczos4 (Luma/Chroma) implementation :)
Is this scaling not limited to NV12 ?

Pat357
17th March 2012, 20:33
Why would ProcessExplorer use "my" dbghelp file? Did you put ProcessExplorer into the madVR folder?
No, not really :D
Right after boot-up I launched MPC/MadVR : this way the dbghelp from the Madvr dir became loaded.
If I launch Process explorer then, I think that Windows will not load the dbghelp from the OS but rather use the one that's already in memory.

dansrfe
17th March 2012, 20:54
Is NV12 superior to YV12? I noticed that LAV Video send NV12 to madVR instead of YV12. I remember madshi saying that they're basically equivalent but NV12's precedence over YV12 with LAV is a little different from what ffdshow normally does.

nevcairiel
17th March 2012, 21:04
Is NV12 superior to YV12? I noticed that LAV Video send NV12 to madVR instead of YV12. I remember madshi saying that they're basically equivalent but NV12's precedence over YV12 with LAV is a little different from what ffdshow normally does.

NV12 is preferred because it allows renderer deinterlacing, while YV12 normally doesn't (not important for madVR though, it'll convert internally if it has to, but EVR doesn't)
They contain the exact same information, but basically all GPUs don't natively handle YV12, they prefer NV12.

Difference to ffdshow? Sure, i do it the right way, not the ffdshow way. I'm tired of those comparisons.