|
Feb
1
Written by:
Jeremiah Morrill
2/1/2009 8:27 PM
A blog reader pointed out (Thanks Evan!) to me that the VMR9 and EVR (sometimes), will automatically scale the color for HD TV, which are pixel values 16-235. This is not a setting you can adjust and is actually done in the GPU driver. There are some registry hacks for some video drivers, but there is nothing consistent. I have created a new [bool] dependency property called DeeperColor. When set to true, it will apply a pixel shader that will scale the color back to 0-255. This gives the picture much better color depth in most cases and is on by default. I'm not sure how much fidelity is lost with the conversions, but so far it looks decent. You can download the new MediaKit build at: http://codeplex.com/WPFMediaKit. 
Tags:
14 comment(s) so far...
Re: Higher Fidelity Video with Pixel Shaders in WPF
Awesome! Thanks for providing some easy means of finally working around that stupid video decoder/driver issue.
By Evan on
2/2/2009 4:52 PM
|
Re: Higher Fidelity Video with Pixel Shaders in WPF
Unfortunately it will be always reducing the quality when there are extra (unnecessary) calculations done. That lost resolution should be visible as banding on color fills.
So, the correct "fix" for such bug is still to use the driver level settings to disable the first conversion.
By tourettes on
2/2/2009 11:24 PM
|
Re: Higher Fidelity Video with Pixel Shaders in WPF
I'm using the latest wpfmediakit release and I get no sound (my current system is Windows 7 x64). I did some searchin' but couldn't see anything relevant. Dxdiag doesn't show any issues with sound devices, and sound works everywhere else. Any suggestions on how to start troubleshooting this? Thanks. WPFMediaElement is super-cool.
By Joseph Cooney on
2/7/2009 7:24 AM
|
Re: Higher Fidelity Video with Pixel Shaders in WPF
In the XAML try setting the Volume property to 1 (full volume).
-Jer
By Jeremiah Morrill on
2/7/2009 7:28 AM
|
Re: Higher Fidelity Video with Pixel Shaders in WPF
I'm using the sample app, and it is defaulted to 1 there. I set it to a few different float values but still don't hear anything. There is a "click" when the app first starts, but nothing else.
By Joseph Cooney on
2/7/2009 7:40 AM
|
Re: Higher Fidelity Video with Pixel Shaders in WPF
Are you using the DVD player? There may be a bug in how I create the graph + Windows 7. I just installed 7 on my laptop a few days ago. I'll throw it on there to debug.
Anyways, you can always reach me at my email, jeremiah.morrill [at] gmail [dot] com
-Jer
By Jeremiah Morrill on
2/7/2009 7:50 AM
|
Re: Higher Fidelity Video with Pixel Shaders in WPF
I do not think that the double conversion is something that will be visible in the image quality. Video compression uses packed YUV colour space which has lower colour precision, so the RGB conversions after video decoding will probably not change the overall image very much.
It is of cause best to have as few conversions as possible, but still it is great to be able to change this in software even if the user's video driver is not configured properly. Thanks for this enhancement!
By Lukas on
2/9/2009 4:48 AM
|
Re: Higher Fidelity Video with Pixel Shaders in WPF
Hi..
Thsi is a gentle reminder..for the above query... Please do give in your inputs...That would be of great help..
Thanks and Regards,
By replica handbags wholesale on
1/5/2010 11:51 PM
|
Re: Higher Fidelity Video with Pixel Shaders in WPF
if you want to buyin 2010 change you image, here is some good Website for more: gucci shoes gucci handbags gucci belts air jordans chi flat iron chi hair straightener and so on.
By chi flat irons on
3/6/2010 12:48 AM
|
Re: Higher Fidelity Video with Pixel Shaders in WPF
thank you for your great post, and I did want to share this. I hope you will also like it, if you think it is spamming, please kindly delete it. thank you!abercrombie see what is this? abercrombie and fitch uk abercrombie and fitch abercrombie fitch uk abercrombie mens abercrombie london
By abercrombie on
3/11/2010 6:34 AM
|
|
|
ed hardy
ED Hardy Hoodies ED Hardy Hoodies Ed Hardy Swimwear Ed Hardy Swimwear ed hardy tops ed hardy tops ed hardy shoes ed hardy shoes ed hardy t shirt ed hardy t shirt ed hardy shirts ed hardy shirts christian audigier christian audigier ed hardy kids ed hardy kids Ed Hardy Sunglasses Ed Hardy Sunglasses ED Hardy belts ED Hardy belts ed hardy Bags ed hardy Bags ed hardy purse ed hardy purse ed hardy mens ed hardy mens ed hardy womens d hardy womens ed hardy mens shirts ed hardy mens shirts ed hardy mens tops ed hardy mens tops ed hardy mens hoodies d hardy mens hoodies ed hardy mens swim trunks ed hardy mens swim trunks ed hardy mens shoes ed hardy mens shoes ed hardy womens swimwear ed hardy womens swimwear ed hardy womens t shirt ed hardy womens t shirt ed hardy womens tops ed hardy womens tops ed hardy womens pants ed hardy womens pants ed hardy womens hoodies ed hardy womens hoodies ed hardy womens shoes ed hardy womens shoes ed hardy womens clothing ed hardy womens clothing
By ed hardy on
3/15/2010 9:32 PM
|
cheap nike shox
There are wide variety of Nike Shox for both men and women's selection.The Nike Shox Sale are best selling nowadays.Get your own Cheap Nike Shox now.It's definitely time for you to buy womens nike shox and wens nike shox, Wearing them will keep you in a perfect condition.
By nike shox on
3/16/2010 10:28 PM
|
|
|
|