Log in

View Full Version : ConvertToYUY2 and encoding


WILLIS
17th February 2010, 13:25
I find myself using the ConvertToYUY2() function quite often and had a few questions pertaining to encoding to mpeg2 using hcenc

most of my sources are progressive yv12 before the convertoyuy2

ok so my questions...for the chroma downsampling option...

http://i47.tinypic.com/2uyjb5l.jpg

do i select progressive chroma downsampling (yuy2 -> yv12) or interlaced chroma downsampling (yuy2 -> yv12)? I have been selecting progressive...

then for the chroma output format do i choose 4:2:0(yv12 or yuy2 input) or 4:2:2(yuy2 input)

http://i47.tinypic.com/35d6pua.jpg

and finally for this last option I have been selecting default but it does help to know the proper colorimetry to choose

http://i46.tinypic.com/2v1xds8.jpg

Thx very much for the help...I have been learning a TON about avisynth in this forum. thx

Alex_ander
17th February 2010, 13:57
With HC Encoder you always need YV12 in the end of the script due to its internal encoding procedure, and most often you already have it from source.
CCE and canopus start encoding from YUY2 and that's why people include that conversion in the end of the script. If it is done to interlaced video, interlaced=true parameter is used.

yup
17th February 2010, 14:04
WILLIS!
If You want encoding for DVD then not need use ConvrertToYUY2().
HC Encoder 0.24 can encoding YUY2 content only for HD not for DVD.
yup.

Blue_MiSfit
18th February 2010, 06:05
Yes. If you're working with HC, then there's no reason to convert to YUY2.

~MiSfit

zilog jones
18th February 2010, 14:10
Use 4:2:0.
4:2:2 is only for High Profile MPEG-2 and is not DVD compliant.