View Full Version : madVR - high quality video renderer (GPU assisted)
Peuj
8th January 2013, 14:38
[code]
I fixed it by adding a line that should make sure that you're in the directory that the batch file is in when it executes.
The use of cd /d "%~dp0" is good idea but it will not solve the problem in my situation.
On my computer, madVR is installed here:
C:\Program Files (x86)\LAV Filters\x86\madVR
and I've found the "settings.bin" file here:
C:\Users\Peuj\AppData\Local\VirtualStore\Program Files (x86)\LAV Filters\x86\madVR
You may need to add something like this in case the file is not found:
Set madVRPath=%~dp0
For %%A in ("%madVRPath%") do (
Set Folder=%%~pA
)
cd /d %LOCALAPPDATA%\VirtualStore\%Folder%
SamuriHL
8th January 2013, 15:16
Well, madshi can look at that. :D I install to a very different place so I don't have that issue.
jkauff
8th January 2013, 15:58
I really wanna use hardware decoding used by madVR, but this mouse cursor thing is kind of a deal breaker.
A couple more questions:
1. Have you tried using another player that uses madVR?
2. Does the mouse cursor behave normally if hardware decoding is turned off?
3. Are you running any special mouse drivers (Logitech, Microsoft, etc.) that might be interfering?
Again, this seems to be specific to your system, not a madVR problem.
Snowknight26
8th January 2013, 18:04
Hi madshi,
Thanks, I've found the "settings.bin" file in C:\Users\Peuj\AppData\Local\VirtualStore\Program Files (x86)\LAV Filters\x86\madVR
I've looked in the bat file and the way it's written, the "settings.bin" file cannot found.
http://support.microsoft.com/kb/927387
See More Information.
pei
8th January 2013, 18:11
A couple more questions:
1. Have you tried using another player that uses madVR?
2. Does the mouse cursor behave normally if hardware decoding is turned off?
3. Are you running any special mouse drivers (Logitech, Microsoft, etc.) that might be interfering?
Again, this seems to be specific to your system, not a madVR problem.
Okay, after installing another player, disabling hardware decoding, uninstalling my mouse drivers, and changing to using Aero from not using Aero, I figured out what it is. Pointer trails. If you have show pointer trails on in the mouse config, you cannot see the mouse cursor in exclusive mode. (At least on my system) So I'd like to report a bug :sly:
manni500
8th January 2013, 21:23
pot 64 uses video renderer when madvr is selected (maybe know as old renderer in mpc hc?) but u can simple see in the filter that madvr is not used and it can't be used because it is 32 bit only.
a 64 bit player can handle "a lot" more then 2gb ram for avisynth scripts and things like that but normal user will never touch the 2 gb mark.
and 64 bit is faster when velues higher then 32 bit are used and trust me 32 bit is pretty big....
but that is another topic.
@huhn
true enough. Must say though that if the renderer used by PotPlayer x64 when the Madshi is called up is really not Madshi then I wonder which one it is. It delivers pretty good quality (which is why I really was convinced that it was Madshi) Is there a way to find which renderer is used in that instance?
leeperry
9th January 2013, 01:10
Just wanted to say that tags are now fulling working both on filenames and folder names when using the seamless playback feature of PotP 1.5.35146 http://forum.slysoft.com/images/smilies/agreed.gif
Also, here's the easiest way to make a SD/HD condition in the automatic profiles: http://thumbnails106.imagebam.com/23103/5cc5c3231021676.jpg (http://www.imagebam.com/image/5cc5c3231021676)
06_taro
9th January 2013, 01:21
pot 64 uses video renderer when madvr is selected (maybe know as old renderer in mpc hc?) but u can simple see in the filter that madvr is not used and it can't be used because it is 32 bit only.
a 64 bit player can handle "a lot" more then 2gb ram for avisynth scripts and things like that but normal user will never touch the 2 gb mark.
and 64 bit is faster when velues higher then 32 bit are used and trust me 32 bit is pretty big....
but that is another topic.
If you're running x64 vista/7/8, mpc-hc should be able to use 4GB memory, as it is configured to be built with LARGEADDRESSAWARE IIRC.
huhn
9th January 2013, 02:35
u can see the renderer in the filter list.
the left one is 64 bit pot the right is 32 bit pot both are set to madvr and 64 use "video renderer" and 32 use madvr with osd.
like i said before i think "video renderer" is the "old renderer" in mpc-hc
when u do the same thing with the 32 biit player u will see madvr in the list.
http://s3.imgimg.de/uploads/madvrd25133c8png.png
but now back to my loved mpc-hc with madvr.
If you're running x64 vista/7/8, mpc-hc should be able to use 4GB memory, as it is configured to be built with LARGEADDRESSAWARE IIRC.
even harder to break but i'm a normal user too and i will never break it. i just used 2 gb because it is the normal value 32 bit programs can use.
06_taro
9th January 2013, 03:40
It breaks nothing, not forcing you to do any tricks, as long as you are a normal user with a normal 64-bit OS, on which LARGEADDRESSAWARE is just a normal flag in 32-bit binary files to inform the system that the binaries are able to handle larger than 2GB memory. This flag is set at compiling time, so it does not need you to bother with. Nothing more than that. Tricks, which are still simple, are only required on 32-bit OS. Now that you can use x64 programs, those tricks are not necessary for you. What one need to do is configure AviSynth in FFDShow or any other memory eaters as one want, load videos and enjoy:
http://s2.postimage.org/q3unxnvw7/mpc_be_2gb.png
wanezhiling
9th January 2013, 08:51
like i said before i think "video renderer" is the "old renderer" in mpc-hc
Set madVR in mpc-hc 32bit, and delete madVR.ax, it will fall back to "video renderer", see its CLSID: http://i.minus.com/i4h4lMEAritJm.png
Compared to VMR7 Windowed: http://i.minus.com/icdbvWpzpTp0A.png
Same.:)
PS: Old Video Renderer's CLSID: http://i.minus.com/iFFGIzXsdA6eI.png
Jong
9th January 2013, 11:59
I don't know. A log might help. Make sure you turn the OSD on, that makes the log more helpful for these kind of issues. Then reproduce the situation where madVR stays in fullscreen windowed mode. Do *not* do anything else. I don't need to see the other situation where it works in the log.Thanks Madshi, here is the log. http://sdrv.ms/13i3Sgz
My novice reading of it seems to say it thinks there is another window on screen, but if there is it is not visible and switching MC18 to "standard" mode and back to "Theaterview" fixes it.
jkauff
9th January 2013, 13:43
Okay, after installing another player, disabling hardware decoding, uninstalling my mouse drivers, and changing to using Aero from not using Aero, I figured out what it is. Pointer trails. If you have show pointer trails on in the mouse config, you cannot see the mouse cursor in exclusive mode. (At least on my system) So I'd like to report a bug :sly:
Congrats on your fine detective work! Glad it's (sort of) working now.
truexfan81
9th January 2013, 16:47
is anyone else having this problem?
http://truexfan81.webs.com/madvr.jpg
seems to only happen when playing xvid files in fullscreen mode using madvr, tried evr, the vid looks normal
i use madvr 0.85.7
chroma: Bicubic 75 AR
luma: SoftCubic 100
thanks
update: activating scale in linear light or AR filter on luma seems to fix it
dansrfe
9th January 2013, 19:28
What is the recommendation for "use a separate device for presentation" on Windows 7 x64?
Also, if anyone else has a plasma TV and has calibrated it before I could really use some help on understanding where to start. So, once I get my i1Display Pro shipment, I'm not sure how to go about calibrating the tv.
There are numerous settings on the tv itself for gamma, black level, rgb levels, contrast, brightness, and color. Which portion of the calibration takes place in fine-tuning the settings on the tv vs the settings in the calibration software which makes the display profile? Also, when does the generation of 3DLUT for madVR happen during the calibration process?
Thanks!
pei
9th January 2013, 20:27
Congrats on your fine detective work! Glad it's (sort of) working now.
Hehe, I'm an audio/video beta tester all the way, I love this stuff...
annovif
10th January 2013, 12:51
Madshi, where is the postprocessing sharpness algorithm Gpu based YOU PROMISED to us:angry::angry::angry:
Lsfmod in avisynth has too much ringing and is not high end. The supersampling incorporated inside it, is only an antialiasing which also sits my overclocked core i5 Cpu.
Gpu elaboration is the only high end way. HELP!!!!!!!!!!!!!!!!!!!!!!!
Thank you for Jinc , it's perfect , wonderful and insuperable:D
huhn
10th January 2013, 13:09
Madshi, where is the postprocessing sharpness algorithm Gpu based YOU PROMISED to us
he did ?
u can use the pixelshader...
annovif
10th January 2013, 13:29
No, he didn't:(
He wrote about wanting to possibly include in its list of things to do, and then........nothing:(:(:(
But it 's too important for the image quality, WE ABSOLUTELY NEED IT;)
nevcairiel
10th January 2013, 13:31
WE ABSOLUTELY NEED IT;)
If you need it, use a pixelshader to do it.
annovif
10th January 2013, 13:36
http://www.abload.de/img/alldajg4.gif
At 200% Bilinear, Mitchell-Netravali (http://www.abload.de/img/b-mn27kjv.gif)
Mitchell-Netravali, Catmull-Rom (http://www.abload.de/img/mn-crggjeg.gif)
Catmull-Rom, Bicubic 75 (http://www.abload.de/img/cr-bcfcjjb.gif)
Bicubic 75, Jinc 8 (http://www.abload.de/img/bc-jc4k98.gif)
In particular, pay attention to the left of the A.
Have you got the same comparison for JINC 3-4-8 with and without AR (or only if AR is already 'the best quality that we can have)
Thank you, Fabio
annovif
10th January 2013, 13:46
If you need it, use a pixelshader to do it.
Ok , you're all against me;)
I' m using Jriver and not mpc, now , because it is the only player that has Internal 64-bit processing for audio and i don't know if there is the possibility to use pixel shaders in it. I will try.
Thank you , Fabio
mzso
10th January 2013, 16:03
No, he didn't:(
He wrote about wanting to possibly include in its list of things to do, and then........nothing:(:(:(
But it 's too important for the image quality, WE ABSOLUTELY NEED IT;)
BS. Probably a small minority messes with sharpening. And it certainly doesn't increase the quality.
annovif
10th January 2013, 18:58
Don't forget that many people spend thousands of dollars to have a video processor that applies an high level sharpness : Dvdo and Lumagen , for example.
yahyoh
10th January 2013, 19:19
first i want to thank madshi for all the great work with madvr
second : i have small things with madvr :
1- frame step seems buggy if i want to step many frames MPC get stuck for 1-2 second :(
2- colors look darker and washed out :(
madvr and lav
http://i.minus.com/iblYmVZ27JbTxm.jpg
EVR + FFDshow
http://i.minus.com/iuAwKZlNeV5gk.jpg
madvr + lav
http://i.minus.com/i8k512pF7T9Gg.jpg
EVR + FFDshow
http://i.minus.com/iH05ECERdwnwD.jpg
madvr + lav
http://i.minus.com/i6EZqCRlPZnv1.jpg
EVR + FFDshow
http://i.minus.com/i0NTXCRahUnTY.jpg
:D
kerimcem
10th January 2013, 19:47
@yahyoh
yes ,colors look darker :(
why the dark?
truexfan81
10th January 2013, 20:26
@yahyoh
yes ,colors look darker :(
why the dark?
i think it depends on settings, i have to make mine darker
yahyoh
10th January 2013, 21:05
i think it depends on settings, i have to make mine darker
@yahyoh
yes ,colors look darker :(
why the dark?
IDK i'm using stock setting :o
truexfan81
10th January 2013, 21:11
IDK i'm using stock setting :o
and i'm not ;)
aufkrawall
10th January 2013, 21:38
I see some filters applied with EVR. Try to disable every image quality "enhancement" in your video driver's settings.
madhatter300871
11th January 2013, 01:42
I have searched through this thread, but it is very big and, well, I can't seem to find what I'm looking for. I have 2 questions, which I am sure have been asked a thousand times before.
1. In an ideal world, with the perfect graphics card and CPU, what resizer settings give the best results ? (I know we hate saying "best" here, as it's subjective, but I am not exactly sure on a technical level which resizers should be considered best.
2. I'm on the market for a new Nvidia graphics card, only want to spend about £50. Thinking of a GT430/GT440. Anybody got any pointers on how Nvidia label their cards, in general is the higher the number the better the card.
I currently use a 8400GS, works a treat for SD material with madvr, decodes HD no problems at all, but chokes with HD if I set madvr resizing to anything other than bilinear. Any pointers to pages in this thread would be greatly appreciated.
Many thanks.
nekrovski
11th January 2013, 01:57
Hello
I started using madVR and I have stumbled upon a small issue and I'm wondering if there's an option to fix this. I'm positive that it's a madVR issue because it doesn't happen when I use haali or some other thingy.
My desktop resolution is 1440x900 and I mainly watch 720p videos on fullscreen, meaning there are black bars up and down.
Anyways, when I open the video and I use any of the shortcuts in mpchc for fullscreen (there are 2, one that says fullscreen and the other that says fullscreen without resolution change) for a split second the video gets stretched out (covering the black bars) and goes back to it's normal fullscreen/resolution. This is kind of annoying. Once again, this does not happen when I use haali or something else.
If you can't understand me I'd be ok with making a video to present this problem.
druneau
11th January 2013, 03:26
Hello
I started using madVR and I have stumbled upon a small issue and I'm wondering if there's an option to fix this. I'm positive that it's a madVR issue because it doesn't happen when I use haali or some other thingy.
My desktop resolution is 1440x900 and I mainly watch 720p videos on fullscreen, meaning there are black bars up and down.
Anyways, when I open the video and I use any of the shortcuts in mpchc for fullscreen (there are 2, one that says fullscreen and the other that says fullscreen without resolution change) for a split second the video gets stretched out (covering the black bars) and goes back to it's normal fullscreen/resolution. This is kind of annoying. Once again, this does not happen when I use haali or something else.
If you can't understand me I'd be ok with making a video to present this problem.
Pretty sure this is normal behavior. My understanding is that when you switch to fullscreen the current frame just gets a quick resize to new dimensions, then rendering continues. Unless it doesn't resize for 1 second? On my PC it's like .1sec max.
pei
11th January 2013, 05:08
Hi, when I use subtitles with 720p videos in ZoomPlayer with madVR, it uses 100% of my CPU and drops frames like crazy with VobSub and ffdshow subtitle filter. It will also do it in MPC-HC if I call up ffdshow subtitle filter, but does not have issues natively. So I'm guessing it's something to do with ffdshow subtitle filter and VobSub and 720p, and I've tried every option I can think of. Even when "disabling" the subtitle stream and it's not even showing subtitles it still eats the CPU like crazy.
I've searched and searched on google but to no avail. Can someone point out what is going on here? Thanks so much.
Asmodian
11th January 2013, 05:47
I am using Zoom Player 8.6 beta 4, LAV Filters 0.55, MadVR v0.85.7, and DirectVobSub 3.0.0.211 (xy-VSFilter).
I can play 720p H.264 with either ASS or SRT subtitiles with ~4% CPU usage.
Sorry it isn't much help diagnosing your issue but at least I can say it isn't a problem with MadVR.
Are you using both ffdshow subtitle filter and DirectVobSub at the same time?
turbojet
11th January 2013, 08:35
Instead of cropping to mod4 what about padding to mod4 instead? But can this only be done when it really needs it, deinterlacing?
The issue with playing multiple videos with dxva2 is in fact a memory issue. I had process explorer set to show gpu system memory instead of gpu dedicated memory. On a 9800GTX 512MB dxva2 takes roughly 200 MB (SD) and 300 MB (HD) at 1680x1050 about half of that at 1024x768. Like system ram it seems to scale by memory capacity, on an intel 3000HD 64 MB dedicated, it takes about 20MB (SD) 30MB (HD) on 1366x768, about 2/3 of that on 1024x768. PS scalers use about half of what dxva2 does. Is there any way to control gpu ram in dxva2?
nx6
11th January 2013, 10:03
Don't forget that many people spend thousands of dollars to have a video processor that applies an high level sharpness : Dvdo and Lumagen , for example.
Many people also spend hundreds of dollars on wooden volume knobs (http://boingboing.net/2005/11/07/astronomically-overp.html) for their receivers under some delusion it improves their sound quality
...or hundreds of dollars on Monster cables because all that extra shielding and gold plated connectors make a huge difference on a signal made entirely of 1s and 0s.
pei
11th January 2013, 11:30
Hi, when I use subtitles with 720p videos in ZoomPlayer with madVR, it uses 100% of my CPU and drops frames like crazy with VobSub and ffdshow subtitle filter. It will also do it in MPC-HC if I call up ffdshow subtitle filter, but does not have issues natively. So I'm guessing it's something to do with ffdshow subtitle filter and VobSub and 720p, and I've tried every option I can think of. Even when "disabling" the subtitle stream and it's not even showing subtitles it still eats the CPU like crazy.
I've searched and searched on google but to no avail. Can someone point out what is going on here? Thanks so much.
So I kind of figured it out, it was cuz I had it set to DXVA2 (native), i switched it to DXVA2 (copy-back) in the LAV filter and it works a little better but not totally, still eats my CPU like crazy. ZoomPlayer uses ~33% cpu no subtitles, and about 47% cpu with subtitles... *sigh* Like I said this is for 720p video...
nekrovski
11th January 2013, 11:41
Pretty sure this is normal behavior. My understanding is that when you switch to fullscreen the current frame just gets a quick resize to new dimensions, then rendering continues. Unless it doesn't resize for 1 second? On my PC it's like .1sec max.
Well I can't really tell whether it's 0.5 or 0.2 or 0.1... it's kind of annoying to me and why it is not normal behavior for other renderers?
THX-UltraII
11th January 2013, 11:49
I m using latest versions of madVR/MPC-HC/LAV Filters. Is it possible with this software setup to move subtitles when running 2:35:1 content from the black bars (letterbox) up? And if so, is it both possible for BDMV blu-ray structure folder content which has embedded subtitles, and for .m2ts content with added .srt subtitle file.
nx6
11th January 2013, 11:52
So I kind of figured it out, it was cuz I had it set to DXVA2 (native), i switched it to DXVA2 (copy-back) in the LAV filter and it works a little better but not totally, still eats my CPU like crazy. ZoomPlayer uses ~33% cpu no subtitles, and about 47% cpu with subtitles... *sigh* Like I said this is for 720p video...
Why don't you tell us more about your system (CPU/RAM/Graphics Card/Operating System)?
kasper93
11th January 2013, 12:11
I m using latest versions of madVR/MPC-HC/LAV Filters. Is it possible with this software setup to move subtitles when running 2:35:1 content from the black bars (letterbox) up? And if so, is it both possible for BDMV blu-ray structure folder content which has embedded subtitles, and for .m2ts content with added .srt subtitle file.
I think you should post this question in MPC-HC thread.
You can't control position of the pgs/dvb subtitles. Unfortunately there is a bug in the ISR and if window size is not exactly the same aspect ratio as video frame subtitles will be wrong positioned.
As for text (.srt) subtitles you can change their position in options (options->default style->screen alignment and margins) just increase bottom margin to move subtitles higher :)
pei
11th January 2013, 18:48
Well I can't really tell whether it's 0.5 or 0.2 or 0.1... it's kind of annoying to me and why it is not normal behavior for other renderers?
It does it because it's going into "exclusive" mode. I don't understand exactly why it has to do that but I know it does in order to best utilize the hardware decoding... It's not a bug, or something that should annoy you. This is a whole new generation of video/hardware decoding, it just works different. I'd just be happy that it works at all and looks as nice as it does.
:helpful:
pei
11th January 2013, 19:00
Is there an IRC channel for madVR?
nekrovski
11th January 2013, 19:13
It does it because it's going into "exclusive" mode.
I thought of that too and that's why I disabled
http://i.imgur.com/9iaxI.jpg
however it's not very clear to me that, that option is actually disabling it whole nor do I know what exclusive means... perhaps the author will come and shine light upon me on this "issue"
cyberbeing
11th January 2013, 19:43
for a split second the video gets stretched out (covering the black bars) and goes back to it's normal fullscreen/resolution.It does it because it's going into "exclusive" mode.
The behavior nekrovski described is not caused by Fullscreen Exclusive mode. This has always been a madVR quirk, even with Fullscreen Windowed mode. The slower your GPU, the longer that first frame will be incorrectly stretched to desktop resolution.
That said, Fullscreen Exclusive does take a split-second longer to enter Fullscreen than Windowed, which can potentially make this stretching anomaly more obvious.
DragonQ
11th January 2013, 23:51
Madshi, do you know why this MBAFF AVC video (http://www.mediafire.com/?lutsoixr0lcagub) isn't deinterlaced by MadVR in auto mode (using LAV & MPC-HC)? EVR plays it back fine (25 fps during first ~10 s, 50 fps for last ~20 s) but MadVR never turns deinterlacing on.
nevcairiel
11th January 2013, 23:55
Madshi, do you know why this MBAFF AVC video (http://www.mediafire.com/?lutsoixr0lcagub) isn't deinterlaced by MadVR in auto mode (using LAV & MPC-HC)? EVR plays it back fine (25 fps during first ~10 s, 50 fps for last ~20 s) but MadVR never turns deinterlacing on.
It looks like the first few seconds are actually progressive, and this information also ends up in the media type, which triggers madVR to believe the file is actually progressive.
LAV also thinks this at first, but once it switches to MBAFF, LAV notices and informs madVR with a new media type (switches from interlace flags 0x0 to 0x81), but this is not enough, apparently. ;)
You can actually fix this by setting LAV to "Aggressive Deinterlacing", this flags the stream differently and overwrites madVRs bitstream info (this uses interlace flags 0x1)
DragonQ
12th January 2013, 00:05
Thanks for the explanation. Does this require a change in MadVR to fix (rather than workaround) then? Also, would enabling "Aggressive Deinterlacing" have any adverse effects on other files?
nevcairiel
12th January 2013, 00:11
Because of many decoders misbehaving and setting interlaced flags wrong, i don't think madshi wanted the behaviour much different (i have discussed this with him before :))
Anyway, Aggressive Deinterlacing usually doesn't have any real downsides with hardware deinterlacing, because the HW Deinterlacer can figure out if something needs deinterlacing before doing it, but with YADIF it may degrade quality a bit on mixed content (mixed progressive/interlaced).
Pure progressive content is not affected at all by the setting.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.