wbo
8th March 2005, 20:08
I am not sure whether I should post this in the HDTV forum or the xvid forum, so please forgive me if I am posting this in the wrong place :)
I have searched the forums, but I am having trouble finding a clear answer. What is the proper way to encode HDTV transport streams to xvid/divx using avisynth taking into account any differences in color space?
I have an HDTV transport stream that appears to be a bit too dark when encoded using xvid, and I think the problem may be due to the fact that xvid/divx use a different color space than the HDTV stream.
From what I have been able to figure out, some HDTV streams use the BT709 color space and xvid/divx use the BT601 color space. I have seen several posts that recommend using the BT709toBT601 filter in the avisynth script which makes sense.
I have also seen people recommend using the ColorMatrix filter which does about the same thing and clamps the luma to the TV scale. But should I use the PC luma scale (0-255) or the TV luma scale (16-235) when encoding using xvid/divx?
I have searched the forums, but I am having trouble finding a clear answer. What is the proper way to encode HDTV transport streams to xvid/divx using avisynth taking into account any differences in color space?
I have an HDTV transport stream that appears to be a bit too dark when encoded using xvid, and I think the problem may be due to the fact that xvid/divx use a different color space than the HDTV stream.
From what I have been able to figure out, some HDTV streams use the BT709 color space and xvid/divx use the BT601 color space. I have seen several posts that recommend using the BT709toBT601 filter in the avisynth script which makes sense.
I have also seen people recommend using the ColorMatrix filter which does about the same thing and clamps the luma to the TV scale. But should I use the PC luma scale (0-255) or the TV luma scale (16-235) when encoding using xvid/divx?