View Full Version : Which colorspace to use?
gamaD
19th September 2004, 22:34
I've been going round the forums, and now I know how to convert between colorspaces, when in the script to convert, the benefits of one colorspace to another, etc.
BUT, I don't know the most important bit, what format uses which colorspace. So, PLEASE, fill me in, what does DV use, and what does DVD use?
Manao
19th September 2004, 22:43
DVD uses YV12 though some encoders need YUY2 or RGB input ( and will do the conversion to YV12 themself, before encoding ).
AFAIK, DV is RGB, but if it is not, if you want to convert to DVD, you should convert it as fast as possible to YV12 and then use the filters you want. If you need YUY2 or RGB32 filters, use them, if possible, at the beginning of the script.
stickboy
19th September 2004, 23:14
Originally posted by Manao
AFAIK, DV is RGBNo... DV is 4:1:1 sampled, so it has to YUV-based (or was it YCbCr?)
Some DV decoders output RGB by default, though.
Wilbert
20th September 2004, 00:01
DV is 4:1:1 sampled, so it has to YUV-based (or was it YCbCr?)
Yup, at least for ntsc of course. For pal it's 4:2:0 (but sampled differently as YV12).
scharfis_brain
20th September 2004, 16:28
wilbert: Do you know, why the developers of DV-Video used a different 4:2:0-subsampling than MPEG-2 4:2:0 subsampling?
also do you know about the intentions of the 4:1:1 subsampling?
Wilbert
20th September 2004, 17:22
Do you know, why the developers of DV-Video used a different 4:2:0-subsampling than MPEG-2 4:2:0 subsampling?
No, I also would like to know that.
also do you know about the intentions of the 4:1:1 subsampling?
Idem. Although an advantage is that you can't get this chroma upsampling bug (there is no difference between interlaced and progressive 4:1:1), but I doubt whether this is the reason behind it.
scharfis_brain
20th September 2004, 17:50
copuld this be an explantation?
maybe they were leaded be the analogue standards?
PAL always merges two chroma lines together within the PAL-Decoder for better chroma stability -> similar to interlaced YV12
NTSC does not do this. So 4:1:1 has full vertical chroma-resolution, and near to composite analogue chromaresolution ?!?
IMO they should have used YUY2 at the cost of some little luma-quality tradeoff.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.