I read on doom9 forum that Panasonic and Mainconcept dv codecs uses a luminance range of 0-255.
I work with CCE and avisynth and sometimes i use panasonic and sometimes cedocida codec.
So in CCE is select luminance level 16-235. So is this correct when using panasonic or cedocida codec or i must change to 0-255 ?
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
All codecs that use YUV should use 16-235 for the luminance channel. It's when YUV is converted to RGB that luminance stretching occurs. Most YUV-to-RGB converters will stretch the luminance to 0-255 when converting to RGB. Conversely, when converting from RGB to YUV the luminance is compressed from 0-255 to 16-235. If you are not converting back and forth between YUV and RGB you don't need to worry about this.
when converting from RGB to YUV the luminance is compressed from 0-255 to 16-235
So,when using panasonic dv codec to decode(panasonic work only in rgb) i add converttoyuy2(interlaced true) see script:
LoadPlugin("Convolution3d.dll")
avisource("D:\CAPTURE\bmw.avi")
crop(8,4,-8,-12)
ConvertToYuY2(interlaced=true)
SeparateFields()
odd=SelectOdd.Convolution3D (1, 32, 128, 16, 64, 10, 0)
evn=SelectEven.Convolution3D (1, 32, 128, 16, 64, 10, 0)
Interleave(evn,odd)
Weave()
AddBorders(8,8,8,8,)
This is rgb to yuy2 conversion. In that way does luminance stay at 16-235 ?
I only work with RGB to YUY2 conversion, not reverse
Yes.Originally Posted by SerbianBoss
Yes, assuming the Panasonic DV codec performed the contrast stretch when it converted YUV to RGB.Originally Posted by SerbianBoss
And you can easily find the luminance range by adding ColorYUV(Analyze=True) to the bottom of the script and scrolling around in VDubMod.
Similar Threads
-
convert .mkv from level @5.1 to level @4.1
By florinus in forum Newbie / General discussionsReplies: 4Last Post: 29th Nov 2010, 15:33 -
CCE Luminance setting -- clarification needed
By eclipse95 in forum Video ConversionReplies: 14Last Post: 30th Sep 2009, 10:12 -
Question how to edit several minutes of avi at frame level
By jimdagys in forum EditingReplies: 9Last Post: 23rd Dec 2008, 18:26 -
DVD Luminance Value - How to do it right?
By SCDVD in forum Newbie / General discussionsReplies: 23Last Post: 7th Aug 2007, 20:42 -
What Luminance level should I used with CCE?
By mlong30 in forum Video ConversionReplies: 5Last Post: 19th Jun 2007, 10:13
StatisticsNewest guidesLatest tool updatesNew media comments



Quote