Log in

View Full Version : ConvertToYUY2 on Interlaced


Axlemar
16th July 2005, 20:51
Rebuilder seems to add ConvertToYUY2(interlaced=true) to all avs files even if ConvertToYUY2 is disabled in the program. Has anybody else experienced this?

It seems that rebuilder adds the ConverToYUY2() line regardless of what settings are selected in rebuilder.

SpazzHH
16th July 2005, 22:39
Rebuilder seems to add ConvertToYUY2(interlaced=true) to all avs files even if ConvertToYUY2 is disabled in the program. Has anybody else experienced this?

It seems that rebuilder adds the ConverToYUY2() line regardless of what settings are selected in rebuilder.

For all CCE encodes this is true. CCE must have the conversion in order to process the files. It cannot work in the YV12 color space. The line gets added by default.

Axlemar
16th July 2005, 22:59
I only brought it up because I use AutoQMatEnc, which mimics CCE, and when I have it convert to YUY2 the colorspace gets messed up since AutoQMatEnc detects and convert everything on its own. Thanks for your reply.

manono
17th July 2005, 00:54
Hi-

CCE must have the conversion in order to process the files.

While that was true for CCE 2.50, it's not true for CCE 2.7x. I'm not sure about the 2.6x series, as I've never used them.

As I understand it, doing an unnecessary colorspace conversion does degrade the quality a bit, although I've never been able to tell any difference. It will slow the encoding somewhat, though. I'm not sure if DVD-RB takes the version used into account. I hope so.

Wilbert
19th July 2005, 13:10
CCE must have the conversion in order to process the files.

While that was true for CCE 2.50, it's not true for CCE 2.7x.
Just for clarity. If you feed 2.7x with YV12 it will be converted to YUY2 first before doing any processing in CCE.

edit: that's for 2.67: http://forum.doom9.org/showthread.php?t=76677&highlight=YV12
Is that changed in 2.70?

manono
19th July 2005, 14:53
Hi Wilbert-

Is that changed in 2.70?

Darned if I know. All I could find on the subject in the manual was that checking the Progressive Frame box when the source in Interlaced "may cause a decline in quality", which I think everyone knows already. I guess it's still converted to YUY2 inside CCE.

I was answering the statement that you must have the conversion line in the script. Whether or not you should have it is another question entirely. About 99% of all I encode is Progressive, and I guess leaving out the ConvertToYUY2 line is good enough, as long as the Progressive frame box is checked. However, the other day I was encoding some interlaced material, and I figured that unchecking the box was good enough. After reading that thread and some others, now I'm not so sure. I didn't notice anything funny about the results. I'm no colorspace expert, and bow to you, sh0dan, RB, and LigH. It didn't seem to me that you guys reached a consensus in that thread. Other threads say the ConvertToYUY2(Interlaced=True) should be in the script if the source is interlaced.

Video Dude
19th July 2005, 15:10
If I remember correctly, ConvertToYUY2(interlaced=true) will give the same results as ConvertToYUY2() when used on progressive material. On the other hand, the interlaced=true parameter must always be used on interlaced material, otherwise you will experience chroma problems.

All versions of CCE work in YUY2 colorspace. If any other input colorspace is used, CCE will do an automatic internal conversion. Most agree that using AviSynth for the conversion is better.

Like stated above, the CCE "progressive" box should only be checked when the source is progressive. If it is interlaced, uncheck it. Also, if it is interlaced, "alt" should be checked instead of "zig zag". For interlace, you also have to make sure that the settings for the tff/bff and offset line are correctly aligned.

Wilbert
19th July 2005, 16:13
If I remember correctly, ConvertToYUY2(interlaced=true) will give the same results as ConvertToYUY2() when used on progressive material.
Almost the same. The difference is still visible though:

http://www.avisynth.org/Sampling (figures 2a and 2b)

jdobbs
19th July 2005, 16:52
Hi Wilbert-

Is that changed in 2.70?

Darned if I know. All I could find on the subject in the manual was that checking the Progressive Frame box when the source in Interlaced "may cause a decline in quality", which I think everyone knows already. I guess it's still converted to YUY2 inside CCE.

I was answering the statement that you must have the conversion line in the script. Whether or not you should have it is another question entirely. About 99% of all I encode is Progressive, and I guess leaving out the ConvertToYUY2 line is good enough, as long as the Progressive frame box is checked. However, the other day I was encoding some interlaced material, and I figured that unchecking the box was good enough. After reading that thread and some others, now I'm not so sure. I didn't notice anything funny about the results. I'm no colorspace expert, and bow to you, sh0dan, RB, and LigH. It didn't seem to me that you guys reached a consensus in that thread. Other threads say the ConvertToYUY2(Interlaced=True) should be in the script if the source is interlaced. The "Interlaced=True" portion of the line is not left in on progressive sources. It is only added for interlaced sources. In my humble opinion it is better to do color conversions within AVISYNTH.