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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th April 2011, 14:14   #6781  |  Link
fps
Registered User
 
Join Date: Jul 2003
Location: Austria
Posts: 76
Thanks!
fps is offline   Reply With Quote
Old 13th April 2011, 14:29   #6782  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Razoola View Post
I tried to reproduce the situation with the method you suggested but it did not happen again.
Ok.

Quote:
Originally Posted by Razoola View Post
One thing I have noticed with 051 is coming in and out of full screen does not feel as smooth as 049.
That's somewhat as expected since the v0.49 didn't pre-render (or more accurately "pre-present") more than 1 frame. v0.51 now pre-presents 4 frames by default, so changing from exclusive to windowed is now always delayed by 4 frames. However, changing from windowed to exclusive mode should be unaffected.

Quote:
Originally Posted by Qaq View Post
Thanks for new version.
Win7 x86, ATI 5450 (512Mb, DDR3). Tried 0.51 with 720p/24 video.
For me results look almost the same as with 0.50. CPU usage little bit less now, but still 4-5 times more than with 0.49.
Really? 4-5 times more? It seems to be only slightly more for most other people. Can you please double check you're really using v0.51? Thanks.

Which refresh rate do you have and which movie framerate? Is it a 1:1 match?

Quote:
Originally Posted by 6233638 View Post
Green is the Y channel, isn't it?
Huh? Not sure what you mean. Y is luma (brightness). It's part of all green, red and blue.

Quote:
Originally Posted by nevcairiel View Post
I took the liberty of fixing this for you, also marking madVR compatible with the sub renderer in the Output configuration GUI (in r3025)
Great - thanks a lot!

Quote:
Originally Posted by ajp_anton View Post
When paused, and you move the mouse up and down very fast between showing the seekbar and not showing it, occasionally it will get stuck at either showing it or not. If it doesn't show, it will still be there (you can seek by clicking where the seekbar should be). This gets reset when you seek or play (update the movie image).
Ok, will check this out.

Quote:
Originally Posted by Plutotype View Post
Regarding seeking in paused mode - maybe Nevcairel can help - it happens only with VC-1 videos. H.264/MPEG2 are ok. Additionally, when paused and skipping in the timeline the frames are corrupted:
http://img816.imageshack.us/f/paused1.png/
http://img405.imageshack.us/f/paused2.png/
http://img713.imageshack.us/f/paused3.png/
Corrupted frames can't be caused by madVR. madVR has nothing to do with video decoding. Which splitter and decoder are you using for VC-1? Have you tried a different splitter and/or decoder?

Quote:
Originally Posted by ajp_anton View Post
Is the decoder supposed to pass the color matrix to the renderer? Tested madVR, EVR and Haali, plus exporting RGB from ffdshow.
ffdshow apparently used the correct matrix, but Haali was the only renderer that correctly used the 601 matrix on a HD test video. (edit: nevermind, see later post)
The decoder *can* pass the color matrix to the renderer, but I don't think any decoder currently does that. Also I'm not sure if any renderer makes use of that information, if a decoder passes it on. I plan to look into this problem in a future madVR version.

Quote:
Originally Posted by ajp_anton View Post
I also did a 0-255 range test
The big problem with the fullrange flag is that many many many many many broadcasts here in Europe have this flags set although the content is actually encoded in 16-235. So basically if you have a h264 file with the fullrange flag set, the flag is set wrong in 99.9% of all cases. As a result many decoders and renderers simply ignore this flag. Content which is *really* 0-255 is just much rarer than incorrectly flagged 16-235 content. eac3to for examples always deletes the fullrange flag - unless you explicitly tell it not to.

Quote:
Originally Posted by fiver View Post
Got a new Envy 17 3D, madvr does not work with Radeon 6850. Custom EVR pres works fine.

Tested with madvr .50, and .51.

Tested with last offical release of MPC-HC and xhmikosr build from the other day (SVN 3021)

Issue: When loading any media type, MPC-HC hangs indefinitely on a black screen.

This laptop has switchable graphics, when I switch to the onboard intel GPU madvr works fine.

Let me know whatever you need for debugging, consider me your servant.
Have you tried updating your GPU drivers? If that doesn't help, please create a debug log for me. It works like this: (1) rename "madVR.ax" to "madVR [release].ax". (2) rename "madVR [debug].ax" to "madVR.ax". (3) reproduce the problem. (4) Zip and upload the file "madVR - log.txt" which you'll find on your desktop.

Quote:
Originally Posted by SamuriHL View Post
I don't think we really get a vote, but, hypothetically if we did, I'd vote for green.
Seems the majority is for green?

Quote:
Originally Posted by pankov View Post
I'm very impressed with the way v0.51 works - CPU usage is OK and it's smooth as butter with the few short clips I tested.
Quote:
Originally Posted by SamuriHL View Post
Tested on my AMD machine. Working great!


Quote:
Originally Posted by mrcorbo View Post
I have MPC-HC's "auto-change fullscreen monitor mode" enabled. If I toggle the player between fullscreen and windowed, which also causes a monitor resolution change, It immediately locks the player.
If you run into trouble, please try to avoid switching monitors or even resolutions/refresh rates. Make sure the monitors are already set to the correct resolution and refresh rate. Then move MPC-HC to the target monitor *before* loading the video file. If you do that, there should be no problems.

I'll find a better solution to this in a future madVR version.

Quote:
Originally Posted by Andy o View Post
I still get higher CPU usage. It's difficult to tell if it's less than before, but the difference is that most of the higher usage before was on one core. Here it seems the difference is spread out to two cores. The dip in the middle is where I switched from new to old exclusive.
Which refresh rate do you have and which movie framerate? Is it a 1:1 match?

Quote:
Originally Posted by pankov View Post
I did the following test:
I've matched my two displays' configs as close as possible (both at 1920x1080@50Hz 'cause my LCD Monitor doesn't support 24p) and used a 24 (23.976) fps source decoded with CoreAVC in software mode.
I've done the tests multiple times on both monitors and the result is that on my LCD monitor (no matter if it's primary or not in windows) I get normal CPU usage <10% with both new and old rendering paths but on my projector I get ~30-35% CPU usage with the new and <10% with the old rendering.
Weird!!!

What happens if you play a video with 1:1 refresh rate <-> movie framerate match?

Quote:
Originally Posted by Mark_A_W View Post
I'm a bit lost as to why there is such concern over a small increase in CPU usage?
Well, if madVR would really need more CPU then that's just the way it would be. But I don't really see *why* madVR consumes more CPU now. It shouldn't (at least not when refresh rate and movie framerate match). So it appears to be a bug and I don't want to waste CPU resources if I don't have to. A few percent CPU usage can make the difference between smooth and non-smooth on older hardware.

Quote:
Originally Posted by Hprd View Post
That said there's a somewhat annoying issue with this version, with the higher back-buffer que's. The problem comes with trying to watch videos at 1080/24hz or 1080/30hz, as lower ques (2,4 etc.) drop frames.

If i turn it up to at least 12 (16 is what i set it to though) (as 10 still dropped some frames on one video) the clock deviation just goes up and up, and leads to repeated frames several times a second... THis can be remedied (on some videos...) by playing another video without subtitles (as it seems that really sets it off) and the clock eventually settles down or perhaps (i didn't try this, but after several minutes it didn't really change at all) just waiting for it to go down might work as well.

So basically i can achieve, with most videos (after some messing around with it) perfect playback at 24/30hz. Another problem is that i'd want to leave the que set that high (as most videos i'd want to watch in fullscreen seem to be ok, after messing about anyhow) but some other videos (refresh rate didn't really matter, although i didn't test this that thoroughly) don't seem to like it at all, and jump up to a difference of -5% deviation, which makes it really nasty. (they were videos without subtitles, playing another video then without sound and the same frame rate, just higher resolution, has no trouble at all. So it might be related to that somehow [the sound], then again i don't really know what i'm talking about, lol...).
I don't really understand. The clock deviation shouldn't have anything to do with the queue size. Furthermore the clock deviation is just a measurement done for your information, nothing more. madVR doesn't actually *use* the clock deviation measurement anywhere.

Quote:
Originally Posted by BeNooL View Post
On my lowend-ish ATI 4550 new rendering path in madVR 0.51 gives a 15-20% GPU usage boost causing a jump from 70-75% to 95-100% GPU usage. Using Catalyst 11.2 by the way.
Is that bad or good? Do you get dropped frames now that you didn't get before? What is your refresh rate and your movie frame rate?

Quote:
Originally Posted by Grmpf View Post
I think its done *before* madVR does its magic to scale&colorconversion
No, the OSD is drawn pretty much last, in RGB.

Quote:
Originally Posted by Gleb Egorych View Post
Backbuffer and render queue are pretty stable at 4-4/4 and 3-4/4 correspondingly. Decoder queue floats from 6-8 to 7-8 but the problem, I guess, in upload and render queues. Dropped frames occur when upload and render queue go to 5-8 and 6-8.

Described behaiviour is present for default number of pre-rendered frames and up to 12. No drops and stable queues with CoreAVC software mode I have only with 14 and 16 pre-rendered frames. Note that 0.50 is prefect and it uses 4 (I guess) pre-rendered frames.
Hmmmm... How does v0.51 compare to v0.49 for you? I understand you liked v0.50 best, but there were serious problems in v0.50 and it did some things wrong.

Quote:
Originally Posted by jmone View Post
I now get dropped frames in V0.51 with x264 1080/50p material when the refresh rate of the screen is not 50hz (eg 60hz). I see the Backbuffer and Present Queue drop to 0 at which point frames are dropped. This did not happen with previous verions. I raised the queues to 12 but this did not help. Apart from this it all looks good to me.
Does your screen not support 50Hz?

Quote:
Originally Posted by jmone View Post
I'm also dropping frames with x264 BR 60i material in a TS container when FFDSHOW has deinterlacing set (YADIF). Turn Deinterlacing off and it is all fine....

EDIT - I drop frames on Interlaced Material if FFDSHOW Deinterlacing when using YADIF with "Double Framerate" check. If I uncheck "double framerate" then all is fine.
Did v0.49 work perfectly with "double framerate" checked?
madshi is offline   Reply With Quote
Old 13th April 2011, 14:39   #6783  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Yea, like I said, I don't know that we necessarily get a vote in the color of the text, but, if you're open to changing it, I think the majority of us prefer green. I always use green on black for my command line stuff cause it's pretty easy to see. It's not a very important thing, really, but, it'd make it easier for some of us to see it on our setup. If you're willing to change it, great.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 13th April 2011, 14:44   #6784  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
madshi, I'm playing 23.976 content (blu-ray rip) at 23.976 (23) Hz with an ATI 5770.
Andy o is offline   Reply With Quote
Old 13th April 2011, 15:04   #6785  |  Link
Qaq
AV heretic
 
Join Date: Nov 2009
Posts: 422
Quote:
Originally Posted by madshi View Post
Really? 4-5 times more?
Note, it was 720p video. With 049 CPU usage is ~12% and with 05* it reaches 60%. Like I said above, 051 has a bit less CPU usage than 050. I have AMD X2 +6000. Probably, my low-end ATI 5450 is the bottleneck.
Quote:
Originally Posted by madshi View Post
Can you please double check you're really using v0.51?
I remember that new feature with framebuffers (tried to change from 4 to 6,8 without luck). So no doubts here, it was 051.
Quote:
Originally Posted by madshi View Post
Which refresh rate do you have and which movie framerate? Is it a 1:1 match?
I always do it 1:1 matched. It was 23,976 - source and display.

Last edited by Qaq; 13th April 2011 at 15:59.
Qaq is offline   Reply With Quote
Old 13th April 2011, 16:16   #6786  |  Link
pouyoux
Registered User
 
Join Date: Apr 2011
Posts: 8
First I'd like to thanks Madshi for its work, everything is working fine here (with 0.51).

Otherwise I've a question, I've seen on a webpage ( http://www.hd-plex.com/blog/tag/madvr/ ), that HDMI bandwitdth is still a concern and so madvr computation is "limited" to 16bits precision though it could be done using floating point.

I'd like to know how it's handled in madvr :
1- HDMI 1.0 has a sufficient bandwith to handle 16 bits precision, and madvr doesn't have any gain of the added bandwith provided by upcoming HDMI versions (1.2, 1.3, 1.4)
2- Madvr does an auto calibration of the precision it can handle depending the HDMI version used and thus depending the available bandwidth
3- other choice ?
pouyoux is offline   Reply With Quote
Old 13th April 2011, 16:19   #6787  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Whatever you read, its inaccurate. madVR always dithers its output down to 8bpp, mostly because it has to convert it to RGB anyway, then there is little to gain from higher bit-depths, and because the typical HTPC will not easily output 10-bit or more. It has nothing to do with HDMI bandwidth.

That whole article reads kinda funny...
It claims NV12 is a special NVIDIA color space *rolls eyes*
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 13th April 2011 at 16:27.
nevcairiel is offline   Reply With Quote
Old 13th April 2011, 16:21   #6788  |  Link
pouyoux
Registered User
 
Join Date: Apr 2011
Posts: 8
Quote:
Originally Posted by SamuriHL View Post
Yea, like I said, I don't know that we necessarily get a vote in the color of the text, but, if you're open to changing it, I think the majority of us prefer green.
would it take long to add an option in madvr where you choose the color of the text (red, green, blue) ? so everybody can choose the color that suits best its need/preference.

Last edited by pouyoux; 13th April 2011 at 16:29.
pouyoux is offline   Reply With Quote
Old 13th April 2011, 17:06   #6789  |  Link
ajp_anton
Registered User
 
ajp_anton's Avatar
 
Join Date: Aug 2006
Location: Stockholm/Helsinki
Posts: 805
An idea for the debug build...

You could include a "Enable or disable debug.bat" that changes between the following two "modes":
Normal mode: normal build is "madVR.ax", debug build is "madVR [Debug is disabled].ax".
Debug mode: normal build is "madVR [Debug is enabled].ax", debug build is "madVR.ax".
ajp_anton is offline   Reply With Quote
Old 13th April 2011, 17:27   #6790  |  Link
renq
Registered User
 
Join Date: Aug 2009
Posts: 51
Quote:
Originally Posted by ajp_anton View Post
An idea for the debug build...

You could include a "Enable or disable debug.bat" that changes between the following two "modes":
Normal mode: normal build is "madVR.ax", debug build is "madVR [Debug is disabled].ax".
Debug mode: normal build is "madVR [Debug is enabled].ax", debug build is "madVR.ax".
There is madVR [debug].ax
renq is offline   Reply With Quote
Old 13th April 2011, 18:11   #6791  |  Link
ajp_anton
Registered User
 
ajp_anton's Avatar
 
Join Date: Aug 2006
Location: Stockholm/Helsinki
Posts: 805
Quote:
Originally Posted by renq View Post
There is madVR [debug].ax
...which you now have to manually rename to a name that already exists, so you have to first rename that file to something else, and then reverse this process when going back. And without these instructions, some people may not know how to use that debug build.
A .bat file that is simply called "Enable or disable debug" is easier to understand and to use, and the filenames "Debug is enabled" or "... disabled" directly tells you which "mode" is being used.
ajp_anton is offline   Reply With Quote
Old 13th April 2011, 18:42   #6792  |  Link
Plutotype
Registered User
 
Join Date: Apr 2010
Posts: 235
Quote:
Originally Posted by madshi View Post

Corrupted frames can't be caused by madVR. madVR has nothing to do with video decoding. Which splitter and decoder are you using for VC-1? Have you tried a different splitter and/or decoder?
You are correct, its a issue with LAVsplitter, will post on relevant thread. MPC-HC splitter works correctly when seeking in paused mode.
EDIT: Apologize, Its not an issue with LAVsplitter - using libavcodec for VC-1 decoding instead of wmv9 in ffdshow solved the issue.
__________________
__________________
System: Intel Core i5-6500, 16GB RAM, GTX1060, 75" Sony ZD9, Focal speakers, OS Win10 Pro, Playback: madvr/JRiver

Last edited by Plutotype; 13th April 2011 at 19:54.
Plutotype is offline   Reply With Quote
Old 13th April 2011, 19:42   #6793  |  Link
ikarad
Registered User
 
Join Date: Apr 2008
Posts: 546
2 questions:
1) In windowed mode fraps display 24 fps like the number of frame per second of my movie. In exclusive full screen mode, fraps display 96 fps (refresh rate of my CRT). Is-it normal?
Movie is at 24 fps or 96 fps in exclusive mode?


2)I use for chroma upscaling, luma upscaling and luma downscaling, Softcubic with softness = 100, Is it good?
What are the best parameters?


3) There are some parameters in rendering options and I don't know how configure them. If anybody could explain the aim of each option, thanks a lot.

Last edited by ikarad; 13th April 2011 at 20:00.
ikarad is offline   Reply With Quote
Old 13th April 2011, 19:49   #6794  |  Link
Hprd
Registered User
 
Join Date: Mar 2011
Posts: 60
Well i'm not really sure how to describe it then. It's just that i noticed when i have the que set to a high number (like 16) the clock deviation can be way off (-5%) and that resulted in massive frame repeats (lower than 1 second), as compared with the que set to a lower number the deviation was small (would go down to something like -.00+ etc.) and would have very smooth playback, 20-30+ seconds to a minute or two before frame repeats.

Maybe i should upload part of this clip or something to see if you can recreate my issues? Unless it's just my system or something (and with whatever updates to madvr/newer drivers on here, it will solve itself).

Ok, I see that some of the statistics can carry over from fullscreen when it's switched to windowed mode, so i took some screen grabs. This should show exactly what i'm talking about. (the dropped frames are the results of going from windowed to fullscreen fyi.)

que set to 2:

16:

Last edited by Hprd; 13th April 2011 at 20:01.
Hprd is offline   Reply With Quote
Old 13th April 2011, 19:53   #6795  |  Link
fairchild
Registered User
 
Join Date: Sep 2010
Posts: 321
Quote:
Originally Posted by ikarad View Post
2 questions:
2)I use for chroma upscaling, luma upscaling and luma downscaling, Softcubic with softness = 100, Is it good?
What are the best parameters?
It's usually personal preference what scalers to use. Chroma at softcubic 100 is good. The luma upscale/downscale try using Bicubic75, Spline3, Lanczos4 (from lowest to most sharpening left to right); the default is lanczos 4 last I checked which has strong sharpening. I like using softcubic 100 for chroma, and bicubic75 for luma upscale/downscale.
__________________
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 13th April 2011, 19:57   #6796  |  Link
ikarad
Registered User
 
Join Date: Apr 2008
Posts: 546
Quote:
Originally Posted by fairchild View Post
It's usually personal preference what scalers to use. Chroma at softcubic 100 is good. The luma upscale/downscale try using Bicubic75, Spline3, Lanczos4 (from lowest to most sharpening left to right); the default is lanczos 4 last I checked which has strong sharpening. I like using softcubic 100 for chroma, and bicubic75 for luma upscale/downscale.
Thanks. I use softcubic at 100 because it is the only that doens't have red (only green).

Why do you use bicubic 75 instead of softcubic for luma upscale/downscale?
ikarad is offline   Reply With Quote
Old 13th April 2011, 20:07   #6797  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Some people just like sharper images rather then soft images. Like said before, its alot personal preference.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 13th April 2011, 20:15   #6798  |  Link
ikarad
Registered User
 
Join Date: Apr 2008
Posts: 546
Quote:
Originally Posted by nevcairiel View Post
Some people just like sharper images rather then soft images. Like said before, its alot personal preference.
Thanks. Then, what are the differences between softcubic and bicubic for example?
The problem is that I don't know the differences and the only option that I see to decide are the good or the bad consequences indicated in madvr (red or green). Then It's why that I use softcubic 100 because it's the only option which has not red.

Softcubic 100 provide sharper or soft image?

But if anybody could explain. Thanks.
ikarad is offline   Reply With Quote
Old 13th April 2011, 20:24   #6799  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Its called Softcubic.

I suggest to simply try some of the algorithms and see how it looks to you. Try on some more extreme examples, when only doing chroma scaling on a movie thats 1080p anyway, you won't see much differences - but try downscaling some file by alot, or upscaling a very low resolution, thats where you see the big differences.

The most common setup is that people use a "soft" scaler for Chroma (like Softcubic), and more sharp scalers for Luma (like Lanczos or Spline)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 13th April 2011, 20:31   #6800  |  Link
ikarad
Registered User
 
Join Date: Apr 2008
Posts: 546
Quote:
Originally Posted by nevcairiel View Post
The most common setup is that people use a "soft" scaler for Chroma (like Softcubic), and more sharp scalers for Luma (like Lanczos or Spline)
Why soft for chroma and sharp for luma?
ikarad is offline   Reply With Quote
Reply

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


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 04:21.


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