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?
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?