User User name Password  
   
Sunday 29.11.2009 / 11:22 AM
Search AfterDawn.com:        In English   Suomeksi   På svenska
afterdawn.com > guides > Basic DVD Authoring Project Part 4a - Prepare NTSC Video > Colorspace Conversion (page 8/12)
Show topics
Guides and articles
Guides and articles


Converting Between Colorspaces

Most formats intended for distribution, like DVD, VCD, or various MPEG-4 variants use the YV12 colorspace because it takes up the least space. AviSynth also works in this colorspace. This doesn't cause any problems most of the time, but once again CCE is a little different. CCE will only accept video in the YUY2 or RGB colorspace. Depending on which codecs are installed on your computer, one may automatically convert for you when you open an AviSynth script in CCE. However, it's better to do the conversion yourself at the end of the script.

If you're not familiar with colorspaces you can get more information from our Digital Video Essentials guide titled Color Formats.

AviSynth Commands

This is another filter that needs to know if your video is interlaced.

Progressive Video

ConvertToYUY2()

Interlaced Video

ConvertToYUY2(interlaced=true)

Placement In Your Script

Colorspace conversion is normally only done at the end of a script or immediately before some external plugin that doesn't work in YV12. When you're going to be opening a script in CCE make sure to put it at the end. If you're going to be opening it in any program that can handle YV12 video don't worry about adding this line at all.

table of contents

Created: 30 June 2007 Last updated: 10 September 2007

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2009 by AfterDawn Ltd.