Log in

View Full Version : PC / TV luma scales in ffdshow


Alain2
5th July 2006, 13:23
Hi,

PC scale = 0..255, TV scale = 16..235

I have a problem with ffdshow, and can't find the option to solve it..

Example:
If I take a .d2v parsing a vob file, then with a simple mpeg2source("xxxxx.d2v") avs script,

In vdubmod I get: Picture1 (http://img134.imageshack.us/img134/1562/temp8tv.jpg)

If I open the same avs in mpc, I get: Picture2 (http://img452.imageshack.us/img452/2750/temp3du.jpg)

I have a fairly recent build of ffdshow (26 May).
I tried to disable ffdshow on h264 to use coreavc to read the avs (with mpc), and then the image is correct (as in vdubmod) if I fully deactivate ffdshow (codec>raw source disabled), otherwise it's the same than with libavcodec

Now, if I look at Levels in ffdshow post-process, I see that the level graph is the same than the one from histogram("levels") from the avs script (cf.pictures) (same scale, not amplitude but that's not important)
And if I set 16..235 > 0..255 in ffdshow Levels post process, then the picture looks like in vdubmod...

Thus apparently ffdshow applies a conversion 0..255 > 16..235 to the output, but I can't find the option to deactivate this.. can someone help?

Alain2
6th July 2006, 19:55
Ok, I have seen other posts here releated to this pb, and found that on my computer forcing ffdshow to output in
RGB32 works fine. Sorry for the redundant thread :p

LoRd_MuldeR
9th July 2006, 18:36
Ok, I have seen other posts here releated to this pb, and found that on my computer forcing ffdshow to output in
RGB32 works fine. Sorry for the redundant thread :p

Dont' forget to use "High quality YV12 -> RGB conversion"

Furthermore I noticed that Windows Media Player manages to destroy the video, even when I force RGB32 software-conversion in ffdshow. Works fine with MPC though.

chros
10th July 2006, 09:25
Is this conversion connection depandent ? (I mean if I have a CRT TV the connection can be: S-Video , SCART, etc ...)

And if you have an LCD or Plasma TV ?

Thanks