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

clsid
8th April 2011, 16:11
BTW, is it ok that MPC still loads VSFilter along with madVR? As you've implemented internal subtitles support there is no more need in VobSub.
There is code in MPC that automatically blocks use of vsfilter when the internal sub renderer is enabled and a compatible video renderer is used. Madshi needs to add his renderer to that list.

madshi
8th April 2011, 16:33
Jetico Firewall's HIPS detects it on playback start. I'm not familiar with WinAPI, but I guess it can be triggered by something like WSAStartup().
Hmmmm... And LAN is definitely disabled in the madVR tray icon menu? Can anybody else reproduce this?

There is code in MPC that automatically blocks use of vsfilter when the internal sub renderer is enabled and a compatible video renderer is used. Madshi needs to add his renderer to that list.
Do you happen to know where that code is in MPC? Thanks!

Andy o
8th April 2011, 17:24
In case you prefer to bitstream audio (as is) you can't use fps adaptation, that makes using ReClock pointless.Reclock at least gives you an option now if you prefer to have video frame errors or audio errors. You can also apply video adaptation with bitstreaming, but then audio will suffer. Sometimes it's not noticeable.

But also, there are some instances where there are problems with bitstreaming (some TMT versions and possibly PowerDVD too, with some ATI driver versions IIRC) where bitstreaming doesn't work unless you're using ReClock. Using ReClock also fixes some titles with MPC-HC that otherwise don't bitstream (silent) on my setup.

Abradoks
8th April 2011, 17:26
And LAN is definitely disabled in the madVR tray icon menu?
Yeah. And I've tried with default settings, and tried to enable/disable LAN support, etc. There is no real network activity from
madVR with disabled LAN support, but it still triggers HIPS.

Do you happen to know where that code is in MPC? Thanks!
Should be \src\apps\mplayerc\FGManager.cpp:2207

Thunderbolt8
8th April 2011, 17:26
IMO there is a sence to use reclock in combination with madvr if audio output is set to PCM (not bitstream). This way you have perfect fps adaptation for video and WASAPI/KS output for sound. In case you prefer to bitstream audio (as is) you can't use fps adaptation, that makes using ReClock pointless. Note, you can set ReClock to convert PCM to AC3 on the fly after fps adaptation (the only way to use S/PDIF bitstream in this case).
thats the way I use reclock as well, to bitstream PCM to my receiver. therefore, I wonder why you guys still seem to need it for video when madvr is doing all the rest. thats why disabling reclocks video renderer in order to avoid all reclock problems right from the start.

pankov
8th April 2011, 19:49
Can someone explain what exactly should I do to be sure that I've disabled Reclock's video renderer.
I think I've done it but just want to be sure.

nevcairiel
8th April 2011, 19:57
ReClock still is useful with madVR if you use PCM output. It adjusts the reference clock to be in sync with the video clock, so your video refresh rate matches the screen refresh perfectly - and then resamples the audio to make it fit the new refresh rate. People might argue that ReClock is not the perfect place to fix the video timings, but its currently the only way to really get perfectly fluid playback for me (my GFX card can not do 100% perfect 23.976)

SamuriHL
8th April 2011, 20:05
Does it show up in the filters menu of MPC-HC when you're playing a video?

chogster
8th April 2011, 20:47
For what it's worth on the HAM issue. I've had another play & can confirm that frames are only dropped during playback of 1080 material, dvd playback is fine (on my system anyway). I've tried a few 1080 25fps films with refresh rate set to 50Hz & frames are still dropping. Baring this evidence mind, hopefully a fix wouldn't prove too difficult.

Thunderbolt8
8th April 2011, 21:18
Can someone explain what exactly should I do to be sure that I've disabled Reclock's video renderer.
I think I've done it but just want to be sure.
I think I mixed something up :eek:

what you can actually do is to bypass the audio resampler which is always active and modifies the audio. you need to do the following:

open regedit and go to "COMPUTER\HKEY_CURRENT_USER\Software\Reclock\Config"
right click to add a new value, select "DWORD (32 bit)" and name it:

BypassResampler

double click the value, and set it to "1".

there you can also check whether bypassdefault renderers is set to 1. if not, go advanced tab in reclock configuration and set the following:

forced feclock to be loaded instead of default renderers - checked
only load reclock and show application dialog for the following applications - checked
add MPC-HC and set to "Load Always"

but afaik, in the end it looks to be the same. when you now set those different fps rates in reclock properties tab while playback, it has no effect any more (also tick slave reference clock to audio if you have to and tick lock original speed).

Andy o
8th April 2011, 21:22
Why are you going to the registry when the options are right there in the Reclock settings panel?

Qaq
8th April 2011, 21:23
It adjusts the reference clock to be in sync with the video clock, so your video refresh rate matches the screen refresh perfectly
Thanks, i couldn't explain it better in english.
Does it show up in the filters menu of MPC-HC when you're playing a video?
No, in case of bitstream (packed streams) it's just doesn't load.

I think it's wrong place to discuss ReClock though.

Thunderbolt8
8th April 2011, 21:39
Why are you going to the registry when the options are right there in the Reclock settings panel?afaik the bypassresampler thing is not to be found via settings.

Mark_A_W
9th April 2011, 05:55
I doubt you'll hear a difference if you set reclock to upsample, rather than just resample around 48khz.

It may even sound better ;)

A lot of worrying about nothing IMO.

Andy o
9th April 2011, 09:48
I agree about audible differences, but was just saying that you can disable resampling (and media adaptation) by setting PCM output "same as input", and then while playing just clicking on the clock icon, then "slave reference clock to audio" and set media adaptation at "original speed" and have it locked so it sticks. I might be missing something?

Thunderbolt8
9th April 2011, 10:36
seems right to me. also got same as input (and format 24 bit int padded to 32, accept bitstream formats and disable media speed correction with bitstream audio) and then it all gets forwarded to the receiver without windows or reclock doing any modification.

Qaq
9th April 2011, 11:15
disable media speed correction with bitstream audio) and then it all gets forwarded to the receiver without windows or reclock doing any modification.
The only benefit here is bit perfect PCM output. IMO in movies or even live misuc shows perfect video quality (perfect vsync) is more important. No matter I've spent 2-3 times more money on sound system than on TV... OK, it depends of content though.

Plutotype
9th April 2011, 12:29
ReClock still is useful with madVR if you use PCM output. It adjusts the reference clock to be in sync with the video clock, so your video refresh rate matches the screen refresh perfectly - and then resamples the audio to make it fit the new refresh rate. People might argue that ReClock is not the perfect place to fix the video timings, but its currently the only way to really get perfectly fluid playback for me (my GFX card can not do 100% perfect 23.976)

Agree. Newcairel and folks, one more question to the A/V synchoronisation theme. If Reclock ( media adaptation mode set to auto) says I have 23.976 video stream and my video hardware refresh rate is 23.975 (ATI5670 ), why Reclock is not syncing them @23.976 but instead I see:

"CINEMA adaptation: media speed changed to 24.000 fps. Audio resampled at 48048 Hz."
Does this mean, is it in such Reclock behaviour better to set 24hz refresh rate in ATI Catalyst?
Thanks

Qaq
9th April 2011, 12:36
Does this mean, is it in such Reclock behaviour better to set 24hz refresh rate in ATI Catalyst?
You can just select more relevant refresh rate manually from list.

namaiki
9th April 2011, 12:43
"CINEMA adaptation: media speed changed to 24.000 fps. Audio resampled at 48048 Hz."
Does this mean, is it in such Reclock behaviour better to set 24hz refresh rate in ATI Catalyst?
Thanks

The message is misleading. It is synced to a multiple of your monitors refresh rate closest to 24fps. (in this case, 23.975)

However, make sure that the refresh rate of your screen is being detected correctly in ReClock filter properties.
http://img855.imageshack.us/img855/8885/dsfdajfdkfj.th.jpg (http://img855.imageshack.us/img855/8885/dsfdajfdkfj.jpg)

noee
9th April 2011, 12:44
You can just select more relevant refresh rate manually from list.

No, no, no. This is a known "display issue" with Reclock. The message Reclock shows there is not entirely accurate (though it is doing it's magic). You guys need to go over to the Slysoft Reclock forum and read up a little bit.

Andy o
9th April 2011, 12:48
That's right. Auto in media adaptation is best if you want Reclock to do what it's supposed to do. You can check the actual audio sampling rate where it says (I think) "audio clock" to the left.

But yeah, we should take this to the ReClock forum (http://forum.slysoft.com/forumdisplay.php?f=85).

Plutotype
9th April 2011, 12:50
Hi all,
As every LCD TV has small or more significant input lag, following question evolves: Does the video, being played on such LCD TV with PCM/Reclock adaptation setup guarantees, that there is no need for audio delay correction because of the input lag?
I have done a test with madVR running parallely in windowed mode on my DELL2311H and Sony EX500 at once ( doubled desktop ). I have not idea how to measure the lag exactly, but SONY TV was of course a very little behind the DELL LCD Monitor in terms of picture frame rendering times. I have read on avsforum that SONY EX500 has approx. a generic 30ms input lag. Should I use audio delay setting in MPC-HC to match this?
Thanks

namaiki
9th April 2011, 12:53
You might be able to equal the delay for audio with video if you pass it though your TV as well.

sneaker_ger
9th April 2011, 12:55
30 ms? That's unnoticeable for humans.
I had to do some 400ms correction for a Samsung TV.

pankov
9th April 2011, 13:10
Plutotype,
here is a tool to measure your input/display lag
http://www.flatpanelshd.com/focus.php?subaction=showfull&id=1229335064
Set your video card in "Clone mode" and take a picture (with a decent camera, not the average smartphone camera) and you'll see what's the difference between your two displays. To measure an absolute value you'll probably have to do the same test and compare against a CRT display, because even your DELL has a minimal amount of lag.

Plutotype
9th April 2011, 13:24
Plutotype,
here is a tool to measure your input/display lag
http://www.flatpanelshd.com/focus.php?subaction=showfull&id=1229335064
Set your video card in "Clone mode" and take a picture (with a decent camera, not the average smartphone camera) and you'll see what's the difference between your two displays. To measure an absolute value you'll probably have to do the same test and compare against a CRT display, because even your DELL has a minimal amount of lag.

Thanks Pankov, will try do the tests.

Anyway, sorry to all for questioning all this stuff here and thanks for your input.

leeperry
9th April 2011, 13:28
Does the video, being played on such LCD TV with PCM/Reclock adaptation setup guarantees, that there is no need for audio delay correction because of the input lag?
I use headphones, and I can detect 5ms A/V delay. The input lag of my DLP pj isn't worth mentioning.

OTOH, when using speakers it's more complicated because there will be a 3ms delay per meter between the speakers and your ears. And apparently, some flat screens do have a pretty big input lag...so find a movie scene with a lot of tight and clear noises, and sync them to your ears?

Some lips close-up might be good too.

Thunderbolt8
9th April 2011, 13:41
I'd say no one can detect a 5ms A/V delay. its all just chance or imagination.

leeperry
9th April 2011, 13:46
no one can detect a 5ms A/V delay. its all just chance or imagination.
and who cares about what you think again :confused:

using headphones, it's very real...because there's no delay between the transducer and the eardrum.

anyway 1) it's very much OT 2) I've got nothing to prove to anyone and 3) I was merely answering to someone else.

if you're sitting 10 meters away from your speakers, you already have a 30ms A/V desync de facto.

pankov
9th April 2011, 13:51
guys,
does anybody of you have a short sample that I can use to test A/V sync?
I'm talking about the ones that show something like a clock face with big numbers and beeps at the 00 (12 o'clock) mark.
I've seen such in the beginning of some movies but never got my hands on one

madshi,
I apologize for the off topic talk but I guess we are (or at least I am) very eager for your next version and that's why we all keep checking the thread and chat while waiting
;)

Thunderbolt8
9th April 2011, 13:57
and who cares about what you think again :confused:natural limitations do.

leeperry
9th April 2011, 14:07
natural limitations do.
you know, I was also called on bs when I said that 23.976 sounded too slow compared to 24fps.

it's easy to A/B in Reclock, and a 0.1% pitch variation is very much audible...especially on music. Everything sounds sloooooooow, like a FUBAR revox if you see what I mean..or a slightly out of tune musical instrument.

http://www.google.com/url?q=http://hyperphysics.phy-astr.gsu.edu/hbase/sound/earsens.html&sa=U&ei=IlmgTcHuLoK6hAePkdXzBA&ved=0CBgQFjAC&usg=AFQjCNEAH3LzlgPEcSD4sbwzudV1LZMyLw
The normal human ear can detect the difference between 440 Hz and 441 Hz

I had better links, but I can't be hassled to search for them...as long as I don't have to listen to a 400ms desync'ed movie rig, I'll be just fine :p

does anybody of you have a short sample that I can use to test A/V sync?
IME the best is a lips close-up, it's very easy to spot when you're perfectly synced.

maybe you could create a separate thread to make madshi's work easier in this very thread ;)

Thunderbolt8
9th April 2011, 14:22
pitch variation is something different. but audio video sync comparison by 5ms is basically impossible, especially in case of lip sync. every human has different voice onsets when producing different letters. if anything, its easier with mechanical sounds.

Qaq
9th April 2011, 15:08
Sometimes i have to add tracks to movies. I prefer scenes with gun shots to find minimal delay. Can't get better than +/-50ms. I need leeperry's phones I guess.

Thunderbolt8
9th April 2011, 15:22
shots are usually pretty good, yes. in matrix, theres a scene when they enter that building and shooting is shown in slow motion. then you got the muzzle flash and the audio of few shots after another in the same rhythm, I think thats a good scene to really see how accurate you can be with delay.

sneaker_ger
9th April 2011, 15:25
I highly doubt that movies on DVD/Blu-Ray/Film are synched that exactly in the first place and personally don't believe anyone until I witness them proving it in a proper blind test. But you are correct, this is off topic unless madVR is the culprit of any delay.

madshi
9th April 2011, 16:23
Please stay on-topic, guys. Thanks.

mr.duck
9th April 2011, 16:59
madVR OSD is not very clear. Using MPC with EVR I set the OSD font to Calibri size 20. With the opaque background it looks very good and is clear and easy to read. Would like the same for madVR :)

Qaq
9th April 2011, 17:23
Yeah, why not. I want OSD font to be twice bigger.

leeperry
9th April 2011, 17:27
I'm color-blind, I can't read the damn OSD w/o squinting like hell :D

madshi
9th April 2011, 19:34
Yeah. And I've tried with default settings, and tried to enable/disable LAN support, etc. There is no real network activity from madVR with disabled LAN support, but it still triggers HIPS.
So the complaint you get now is different from what you got before? (since you're saying that there's no real network activity)

Is there a free/demo version of that firewall you're using available?

Should be \src\apps\mplayerc\FGManager.cpp:2207
Thanks, I'll check that out!

madVR OSD is not very clear. Using MPC with EVR I set the OSD font to Calibri size 20. With the opaque background it looks very good and is clear and easy to read. Would like the same for madVR :)
You mean the tiny red fonts used by madVR? Yeah, they are too small. But then in windowed mode if the video is small, with bigger fonts the whole OSD contents wouldn't fit into the video window. Maybe I should scale the font size with the video resolution. But then I've so many more important things to do right now...

madshi
9th April 2011, 19:37
Just for your information: The final exclusive mode rendering path appears to work (more or less). I still need to do some fine tuning, though. Should be ready for release tomorrow...

SamuriHL
9th April 2011, 19:50
Just for your information: The final exclusive mode rendering path appears to work (more or less). I still need to do some fine tuning, though. Should be ready for release tomorrow...

That's awesome! Can't wait to see that change. Thanks, madshi! Looking forward to it.

pankov
9th April 2011, 19:52
Just for your information: The final exclusive mode rendering path appears to work (more or less). I still need to do some fine tuning, though. Should be ready for release tomorrow...

You are the best!
:thanks:

jeremy33
9th April 2011, 20:27
You are the best madshi !

For those who want to test the sync of their installation I just found this site http://editorsean.com/blog/49-audiovideosynctest with audio video sync test sample

mr.duck
9th April 2011, 21:33
You mean the tiny red fonts used by madVR?

I'm afraid I have no idea what you are talking about. I mean this OSD in the top left...

http://i.imgur.com/poGiM.jpg

It is always the same size regardless of the window/video size (as it should be).

I want it to be exactly the same as the OSD that you would get with MPC-HC + EVR.

fairchild
9th April 2011, 22:12
I'm afraid I have no idea what you are talking about. I mean this OSD in the top left...

He's talking about the font of the stat's when you do CTRL+J with MadVR rendering.

Abradoks
9th April 2011, 23:15
So the complaint you get now is different from what you got before? (since you're saying that there's no real network activity)

Is there a free/demo version of that firewall you're using available?
Well, there are two parts of firewall: HIPS and network filter. Netfilter is ok now (no packets sent by madVR). But it still triggers HIPS by trying to use some kind of network related functions. You can get trial version here (http://www.jetico.com/jpf2setup.exe). But it should be same with any other HIPS.

robpdotcom
10th April 2011, 00:30
Madshi, what improvements/differences are we likely to see with the final FSE rendering path?

Regarding the OSD (not the "red" OSD), I much prefer madVR's over the normal MPC-HC one - it just looks more modern. Combined with the FSE seekbar, it feels like a more modern player all around.