Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th August 2011, 19:56   #9481  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Quote:
Originally Posted by Zed86 View Post
I know it isn't complete yet. But you could've just said that madVR does not yet support screen capture instead of saying that it was a bug in Potplayer, (how is that a bug exactly if there's no capture at the first place),
which was confusing and made me go and download MPC-HC thinking that it would solve the issue. Anyway, good luck with your work and will be waiting for v1.0.
But it is a bug in potplayer, because it produces a corrupted image.
mzso is offline   Reply With Quote
Old 24th August 2011, 19:59   #9482  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
Zed86,
the developers of PotPlayer are aware that madVR doesn't support frame capture yet so they have implemented some kind of hack to try and get that frame but obviously it still doesn't work. So actually it's a bug in their player. The correct way to do this is just show a message that this functionality is not supported yet but they didn't do it - so after all it's their fault that the capture is corrupted.
__________________
Z370M Pro4 | i3-8100 | 16GB RAM | 256GB SSD + 40TB NAS
NVIDIA GTX 1060 6GB (385.28) | LG OLED65B7V
Win 10 64bit 1803 + Zoom Player v14
pankov is offline   Reply With Quote
Old 24th August 2011, 20:01   #9483  |  Link
BetaBoy
CoreCodec Founder
 
BetaBoy's Avatar
 
Join Date: Oct 2001
Location: San Francisco
Posts: 1,421
Quote:
Originally Posted by nevcairiel View Post
CoreAVCs RGB converter does not honor its own settings anyway.. The output-levels option only has an effect for YUV output, RGB is always full-range.
We are not understanding the issue here.

"It outputs full range RGB for both limited range and full range H.264." <- this is what CoreAVC does, which is the correct way it should be handled.

But please help us to better understand the issue and define 'limited range' RGB Vs. 'full range'... and what you mean by it.
__________________
Dan "BetaBoy" Marlin
Ubiquitous Multimedia Technologies and Developer Tools

http://corecodec.com
BetaBoy is offline   Reply With Quote
Old 24th August 2011, 20:04   #9484  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by madshi View Post
IMHO decoders should tell which levels they're outputting. Microsoft has introduced the DXVA_ExtendedFormat information structure exactly for this purpose, and madVR supports it. Unfortunately decoders don't seem to fill this structure yet. Hopefully that will change in the near future. At least nevcairiel has it on his to do list.
I can confirm that setting NominalRange in that structure makes madVR output proper levels.

Quote:
Originally Posted by BetaBoy View Post
"It outputs full range RGB for both limited range and full range H.264." <- this is what CoreAVC does, which is the correct way it should be handled.
You have an option for PC (full range) or TV (limited range) level output. But your RGB output is always PC level.

If you think that's the correct way to handle RGB conversion - what specifys that? Not criticizing, just wondering how you come to the conclusion that it should always be full-range. Maybe there is something we're missing?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 24th August 2011 at 20:07.
nevcairiel is offline   Reply With Quote
Old 24th August 2011, 20:27   #9485  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by nevcairiel View Post
I can confirm that setting NominalRange in that structure makes madVR output proper levels.
Nice! I hadn't actually tested this yet, due to lack of decoders providing this type of information.

Quote:
Originally Posted by BetaBoy View Post
We are not understanding the issue here.

"It outputs full range RGB for both limited range and full range H.264." <- this is what CoreAVC does, which is the correct way it should be handled.

But please help us to better understand the issue and define 'limited range' RGB Vs. 'full range'... and what you mean by it.
RGB can have black at 0. Or it can have black at 16. Computer type monitors usually expect black to be RGB 0,0,0. While TVs and projectors usually expect black to be RGB 16,16,16. ffdshow allows the user to choose whether black is RGB 0,0,0 or RGB 16,16,16. Since CoreAVC has a switch for output levels, it would make a lot of sense (at least IMHO) if that switch would apply to RGB, too.

Or let's talk practical effects: If an end user switches CoreAVC to RGB output, currently you always output black as 0,0,0. However, if the end user has a TV or projector which expects black to be at 16,16,16, he'll lose shadow detail when using EVR, VMR or the Haali Video Renderer, because all those renderers pass RGB through untouched to the display.

Last edited by madshi; 24th August 2011 at 20:29.
madshi is offline   Reply With Quote
Old 24th August 2011, 20:39   #9486  |  Link
BetaBoy
CoreCodec Founder
 
BetaBoy's Avatar
 
Join Date: Oct 2001
Location: San Francisco
Posts: 1,421
madshi... thank you for the details, its appreciated.
__________________
Dan "BetaBoy" Marlin
Ubiquitous Multimedia Technologies and Developer Tools

http://corecodec.com
BetaBoy is offline   Reply With Quote
Old 24th August 2011, 20:42   #9487  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
Quote:
Originally Posted by madshi View Post
Microsoft has introduced the DXVA_ExtendedFormat information structure exactly for this purpose, and madVR supports it.
The patent for that looks like it was filed two months after madVR was born (coincidence?), and approved just recently:
http://www.patentlens.net/patentlens...ums=US_7929754

A bit worrying, since it sounds like OpenMediaFormat would be in violation of that patent if madVR ever started using it...
cyberbeing is offline   Reply With Quote
Old 24th August 2011, 20:45   #9488  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
We're in europe, we don't care about the USes idea of software patents.
Besides, why would MS sue you for using their openly documented structure, in their DirectShow environment, on their OS? o.O
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 24th August 2011, 20:46   #9489  |  Link
vivan
/人 ◕ ‿‿ ◕ 人\
 
Join Date: May 2011
Location: Russia
Posts: 643
Quote:
Originally Posted by madshi View Post
Your GPU and CPU should be plenty fast enough to do 60fps without any problems.
Yes, CPU and GPU load are less then 10%.
And with other renderers (overlay, EVR, Haali) everything is ok.
So bottleneck is somewhere in the GPU and not in the raw computing power... And it is related to chroma upsampling (YV12, NV12, YUY2, UYVY -> RGB32 conversion).
Tested b/w video - 0 framedrops.

And another strange thing - in exclusive mode even presentation queue is full (3-4/4).
Number of dropped frame is about the same (1000-1200 out from 9240) at any resolution (from native 1024x576 to desktop 1920x1080) and mode (windowed/exclusive).

Quote:
Originally Posted by madshi View Post
Which decoder are you using?
internal and ffdshow.

Quote:
Originally Posted by madshi View Post
Please make sure you have antialiasing, anisotropic filtering etc turned off or set to application preference.
everything is set to "use application settings"

Last edited by vivan; 25th August 2011 at 05:45.
vivan is offline   Reply With Quote
Old 24th August 2011, 20:53   #9490  |  Link
kerimcem
Registered User
 
Join Date: Aug 2011
Posts: 85
madvr external filter(lav,dscaler ) problem dvd vob files..(pc and notebook)
deinterlacing problem =http://imageshack.us/photo/my-images/853/ekrntsw.jpg/
ı am back mpeg2 internal codec
my english is poor sorry..thanks
good work..
kerimcem is offline   Reply With Quote
Old 24th August 2011, 20:56   #9491  |  Link
Xaurus
Registered User
 
Join Date: Jun 2011
Posts: 288
I may be way off track here or misunderstanding something, but why is so many people talking about the lack of screen capture with madvr?
I have no problems taking screenshots in exclusive mode (mpc-hc).

Example (uncompressed png, 6 MB):
Click here
Xaurus is offline   Reply With Quote
Old 24th August 2011, 21:20   #9492  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
Quote:
Originally Posted by nevcairiel View Post
We're in europe, we don't care about the USes idea of software patents.
Besides, why would MS sue you for using their openly documented structure, in their DirectShow environment, on their OS? o.O
Who knows, legal departments can be funny sometimes in who they choose to sue. Using the non-Microsoft madVR (instead of EVR/VMR), with a non-Microsoft OpenMediaFormat (instead of DXVA_ExtendedFormat), while using Microsoft components to compete against Microsoft in a way that violates the claims of the patent could be justified enough, if they ever felt threatened by madVR's presence or popularity. Luckily it appears the European Patent application is EP_1625509 is not yet approved. This is why software patents suck...

Last edited by cyberbeing; 24th August 2011 at 21:23.
cyberbeing is offline   Reply With Quote
Old 24th August 2011, 21:35   #9493  |  Link
nand chan
( ≖‿≖)
 
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
Quote:
Originally Posted by cyberbeing View Post
Who knows, legal departments can be funny sometimes in who they choose to sue. Using the non-Microsoft madVR (instead of EVR/VMR), with a non-Microsoft OpenMediaFormat (instead of DXVA_ExtendedFormat), while using Microsoft components to compete against Microsoft in a way that violates the claims of the patent could be justified enough, if they ever felt threatened by madVR's presence or popularity. Luckily it appears the European Patent application is EP_1625509 is not yet approved. This is why software patents suck...
I don't see why they would see a reason to be threatened by madVR. It's the best renderer, and it's windows-only. What's not to love?

If anything, madVR would be causing people /to use/ Windows (over eg. mplayer2 on FOSS operating systems)
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management
nand chan is offline   Reply With Quote
Old 24th August 2011, 21:44   #9494  |  Link
fairchild
Registered User
 
Join Date: Sep 2010
Posts: 321
Quote:
Originally Posted by STaRGaZeR View Post
Nevermind, as I've found the combination of EVR+Reclock to be as good as madVR in the vsync department, doesn't have any RGB issues, cuts the CPU consumption when playing in half, down to 0% when paused, and makes my CPU consume 10W less (20W for 1080p60 content) for the exact same visual quality. Sorry if I bothered you with all this RGB stuff.
I don't know about you, but nothing ever matches the smoothness of MadVR on my system. Sometimes Aero will cause the composition rate to change to 30Hz which causes massive problems. (I notice this when I look at the stats with MadVR) If the composition rate is 30Hz instead of what it should be which is 60Hz, then the video gets mega choppy. When using FSE with MadVR it fixes this issue and the videos are smooth as they should be.

When this issue happens and I'm using EVR choppy video makes me

I've tried a multitude of options in MPC-HC/PotPlayer such as disable desktop composition (Aero) and D3D fullscreen to remove the tearing from disabling desktop composition, but the video is still not smooth. MadVR > all
__________________
MPC-HC/MPC-BE, Lav Filters, MadVR
CPU: AMD Ryzen 5 1600, Video: AMD Radeon RX Vega 56 -> TCL S405 55", Audio: Audio-Technica M50S
fairchild is offline   Reply With Quote
Old 24th August 2011, 22:33   #9495  |  Link
e-t172
Registered User
 
Join Date: Jan 2008
Posts: 589
Quote:
Originally Posted by cyberbeing View Post
The patent for that looks like it was filed two months after madVR was born (coincidence?), and approved just recently:
http://www.patentlens.net/patentlens...ums=US_7929754

A bit worrying, since it sounds like OpenMediaFormat would be in violation of that patent if madVR ever started using it...
Ahah. Considering the current state of the software patents landscape, I wouldn't be surprised if madVR already violated hundreds of software patents in itself without even knowing it. Nowadays, an independent developer has no choice but to ignore software patents: if he doesn't, then he can't make any software whatsoever.

Anyway, the developers live in Europe, where software patents are legally invalid, so we don't have to worry about anything.
e-t172 is offline   Reply With Quote
Old 24th August 2011, 22:53   #9496  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by madshi View Post
Ooops, it seems I only tested the CoreAVC output level switch with YUV output, not with RGB output. Anyway, what happens if the user has a display which needs TV levels when he's using CoreAVC with RGB output for decoding? He'll get incorrect levels with all renderers, not just with madVR.
There are these little circular spots where you can click called options, that let you configure it the way you want

If they don't work the way they should, well that's another issue.

Quote:
Originally Posted by BetaBoy View Post
We are not understanding the issue here.

"It outputs full range RGB for both limited range and full range H.264." <- this is what CoreAVC does, which is the correct way it should be handled.

But please help us to better understand the issue and define 'limited range' RGB Vs. 'full range'... and what you mean by it.
madshi thinks that what the decoder should do is if the input is limited range, output it as limited range. If the source is full range, output is as full range. And then let the renderer do its job and convert that if necessary.

The problem madshi doesn't seem to fully understand is that all renderers except madVR don't do any conversions to RGB, so if you want proper image with them you have to give them the image fully converted, ready to be displayed. And 99.9% of users out there have a PC monitor expecting full range RGB, so that is what all known decoders (including CoreAVC) that output RGB do by default, except the future LAV Video if nevcairiel uses the default he said he was going to use. There is no correct or incorrect, but doing what the majority has been using for ages is the wise decision IMHO. Some filters offer options to control the conversion, like CoreAVC, but others don't, so changing this established behavior will just break things like it is doing now in madVR. All the correctness you may have in your software is useless if the final result is bad.

BTW, nevcairiel is correct. The default is what it is, but the options for changing it don't work. You should fix that.


Quote:
Originally Posted by fairchild View Post
I don't know about you, but nothing ever matches the smoothness of MadVR on my system. Sometimes Aero will cause the composition rate to change to 30Hz which causes massive problems. (I notice this when I look at the stats with MadVR) If the composition rate is 30Hz instead of what it should be which is 60Hz, then the video gets mega choppy. When using FSE with MadVR it fixes this issue and the videos are smooth as they should be.

When this issue happens and I'm using EVR choppy video makes me

I've tried a multitude of options in MPC-HC/PotPlayer such as disable desktop composition (Aero) and D3D fullscreen to remove the tearing from disabling desktop composition, but the video is still not smooth. MadVR > all
EVR sucks at vsync and general smoothness, but that part is provided by Reclock and it works just fine here. My monitor is configured to 119.88Hz, not sure if the high rate affects stuff or not. But if madshi fixes his stuff I'll go back to madVR, that's for sure.
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 24th August 2011, 23:13   #9497  |  Link
jimwhite
Registered User
 
Join Date: Nov 2004
Posts: 26
Quote:
Originally Posted by STaRGaZeR View Post
The problem madshi doesn't seem to fully understand is that all renderers except madVR don't do any conversions to RGB, so if you want proper image with them you have to give them the image fully converted, ready to be displayed. And 99.9% of users out there have a PC monitor expecting full range RGB, so that is what all known decoders (including CoreAVC) that output RGB do by default, except the future LAV Video if nevcairiel uses the default he said he was going to use.
That is a HUGELY gross overestimate ... more and more "HTPC's" every day are hooked up to Largescreen TV's of the LCD/PLASMA persuasion which expect VIDEO (limited) levels....
jimwhite is offline   Reply With Quote
Old 25th August 2011, 01:57   #9498  |  Link
6233638
Registered User
 
Join Date: Apr 2009
Posts: 1,019
Quote:
Originally Posted by STaRGaZeR View Post
The problem madshi doesn't seem to fully understand is that all renderers except madVR don't do any conversions to RGB, so if you want proper image with them you have to give them the image fully converted, ready to be displayed. And 99.9% of users out there have a PC monitor expecting full range RGB, so that is what all known decoders (including CoreAVC) that output RGB do by default, except the future LAV Video if nevcairiel uses the default he said he was going to use. There is no correct or incorrect, but doing what the majority has been using for ages is the wise decision IMHO. Some filters offer options to control the conversion, like CoreAVC, but others don't, so changing this established behavior will just break things like it is doing now in madVR. All the correctness you may have in your software is useless if the final result is bad.
I don't think you understand the purpose of madVR.

The whole entire point of starting madVR was to do the best job of converting videos from 4:2:0 YUV to 4:4:4 RGB by doing the best chroma (and luma) upsampling possible.

I don't understand why you would want to send it RGB at all, when the main point of madVR is that it does an amazing job of the conversion to RGB, unlike pretty much everything else. (take a look at the second post in this topic)

Where are you getting RGB encoded/full range source material from, or what is your reason for not wanting to send YV12/NV12 to madVR?
Quote:
Originally Posted by nand chan View Post
If anything, madVR would be causing people /to use/ Windows (over eg. mplayer2 on FOSS operating systems)
It's actually the reason my main computer is a Windows PC and not a Mac now, no joke.

I would probably just be using a Mac and a stand-alone Blu-ray player if it weren't for madVR. (combined with ReClock for DVD)
6233638 is offline   Reply With Quote
Old 25th August 2011, 02:55   #9499  |  Link
nand chan
( ≖‿≖)
 
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
I'm reposting this here to raise awareness of the issue,

have you considered a “reset video device CLUT during playback“ feature for madVR? It's a hassle to always run a manual script to reset them before playback (and reload afterwards).
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management
nand chan is offline   Reply With Quote
Old 25th August 2011, 03:18   #9500  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by nand chan View Post
have you considered a “reset video device CLUT during playback“ feature for madVR? It's a hassle to always run a manual script to reset them before playback (and reload afterwards).
You could always use Overlay, as it's immune to CLUT's by design(or lack thereof)

This said, now that your LUT app allows to merge ARGYLLCMS calibration files together w/ yCMS/cr3dlut 3DLUT's, this feature would be more than welcome! It would finally allow the use of all-in-one 3DLUT's providing both calibration and gamut mapping at once

Last edited by leeperry; 25th August 2011 at 03:21.
leeperry is offline   Reply With Quote
Reply

Tags
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.