<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>(r1.1 vs. r1.3) ProjectAttributes &lt; Cinelerra &lt; TWiki</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="robots" content="noindex" />
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/WebRss?skin=rss&contenttype=text/xml" />
<!-- <base href="../../view/Cinelerra/ProjectAttributes" /> -->
<style type="text/css" media="all">
	/* Default TWiki layout */
	@import url('../../../pub/TWiki/PatternSkin/layout.css');
	/* Default TWiki style */
	@import url('../../../pub/TWiki/PatternSkin/style.css');
	/* Custom overriding layout per web or per topic */
	@import url('http://www.ftconsult.com/twiki/bin/view/Cinelerra/%USERLAYOUTURL%');
	/* Custom overriding style per web or per topic */
	@import url('http://www.ftconsult.com/twiki/bin/view/Cinelerra/%USERSTYLEURL%');
	.twikiToc li {
		list-style-image:url('../../../pub/TWiki/PatternSkin/i_arrow_down.gif');
	}	        
	.twikiWebIndicator {
		background-color:#D0D0D0;
	}
</style>
<style type="text/css" media="all"></style>
<script type="text/javascript">
<!-- HIDE
	function initPage() { }
-->
</script>
</head>
<body class="twikiNoViewPage twikiDiffPage"><a name="PageTop"></a>
<div class="twikiMiddleContainer"><div class="twikiMain"><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/ProjectAttributes">ProjectAttributes</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/ProjectAttributes?rev=r1.3">r1.3</a> - 12&nbsp;Jan&nbsp;2004 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<h3><a name="Project_Attributes"> </a><a name="_Project_Attributes_"> </a> <a class="twikiLink" href="../../view/Cinelerra/ProjectAttributes">Project Attributes</a> </h3>
When you play media files in Cinelerra, the media files have a certain number of tracks, a certain frame size, a certain sample size, and so on and so forth. No matter what the media file has; however, it is still played back according to the project attributes. If an audio file's samplerate is different than the project attributes, it is resampled. If a video file's frame size is different than the project attributes, it is composited on a black frame, either cropped or bordered with black.
</td></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffChangedHeader" colspan ="9"><b> Changed: </b></td></tr>
<tr><td bgcolor="#ff9999" class="twikiDiffDeletedMarker" valign="top" width="1%">&lt;<br />&lt;</td>
<td class="twikiDiffDeletedText">
The project attributes are adjusted in <a class="twikiLink" href="../../view/Cinelerra/SettingsMenu">SettingsMenu</a> <strong>-&gt;format</strong> and in to a more limited extent in <a class="twikiLink" href="../../view/Cinelerra/FileMenu">FileMenu</a> <strong>-&gt;new</strong> . When you adjust project settings in <a class="twikiLink" href="../../view/Cinelerra/FileMenu">FileMenu</a> <strong>-&gt;new</strong>  a new timeline is created with no data. Every timeline created from this point uses the same settings. When you adjust settings in <a class="twikiLink" href="../../view/Cinelerra/SettingsMenu">SettingsMenu</a> <strong>-&gt;format</strong>, the timeline is not recreated with no data but every timeline created from this point uses the same settings.
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
The project attributes are adjusted in <a class="twikiLink" href="../../view/Cinelerra/SettingsMenu">SettingsMenu</a> <img src="../../../pub/TWiki/TWikiDocGraphics/arrowright.gif" border="0" alt="MOVED TO..." width="16" height="16" /> <a class="twikiLink" href="../../view/Cinelerra/SetFormat">SetFormat</a> and in to a more limited extent in <a class="twikiLink" href="../../view/Cinelerra/FileMenu">FileMenu</a> <img src="../../../pub/TWiki/TWikiDocGraphics/arrowright.gif" border="0" alt="MOVED TO..." width="16" height="16" /> <strong>new</strong> . When you adjust project settings in <a class="twikiLink" href="../../view/Cinelerra/FileMenu">FileMenu</a> <img src="../../../pub/TWiki/TWikiDocGraphics/arrowright.gif" border="0" alt="MOVED TO..." width="16" height="16" /> <strong>new</strong>  a new timeline is created with no data. Every timeline created from this point uses the same settings. When you adjust settings in <a class="twikiLink" href="../../view/Cinelerra/SettingsMenu">SettingsMenu</a> <img src="../../../pub/TWiki/TWikiDocGraphics/arrowright.gif" border="0" alt="MOVED TO..." width="16" height="16" /> <a class="twikiLink" href="../../view/Cinelerra/SetFormat">SetFormat</a>, the timeline is not recreated with no data but every timeline created from this point uses the same settings.
</td></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<p />
In addition to the traditional settings for sample rate, frame rate, frame size, <strong>Cinelerra</strong> uses some unusual settings like channel positions, color model, and aspect ratio.
</td></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffChangedHeader" colspan ="9"><b> Changed: </b></td></tr>
<tr><td bgcolor="#ff9999" class="twikiDiffDeletedMarker" valign="top" width="1%">&lt;<br />&lt;</td>
<td class="twikiDiffDeletedText">
<ul>
<li> Channel positions is the only setting which doesn't affect the output necessarily. Click on a speaker icon and drag to change the position of a channel. It is merely a convenience so when more than 2 channels are used, the pan controls on the timeline are effective. Channels 3, 4, and 5 wouldn't be very adjustible if they occupied the same locations as channels 1 and 2 on a pan control. Normally a 6 channel configuration would look like this:
</li>
</ul>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<img src="../../../pub/TWiki/TWikiDocGraphics/pencil.gif" border="0" alt="REFACTOR" width="16" height="16" /> Before setting your <a class="twikiLink" href="../../view/Cinelerra/ProjectAttributes">ProjectAttributes</a>, you should read more about channel positions, <a class="twikiLink" href="../../view/Cinelerra/ColorModel">ColorModel</a>, and aspect ratios on the <a class="twikiLink" href="../../view/Cinelerra/SetFormat">SetFormat</a> page
</td></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<p />
</td></tr>
<tr><td bgcolor="#FFD7D7" class="twikiDiffDeletedHeader" colspan ="9"><b> Deleted: </b>
</td></tr>
<tr><td bgcolor="#ff9999" class="twikiDiffDeletedMarker" valign="top" width="1%">&lt;<br />&lt;</td>
<td class="twikiDiffDeletedText">
      channelpositions.png
</td></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<p />
</td></tr>
<tr><td bgcolor="#FFD7D7" class="twikiDiffDeletedHeader" colspan ="9"><b> Deleted: </b>
</td></tr>
<tr><td bgcolor="#ff9999" class="twikiDiffDeletedMarker" valign="top" width="1%">&lt;<br />&lt;</td>
<td class="twikiDiffDeletedText">
      But different channels can be positioned very close together to make them have the same output.
<p />
<ul>
<li> Color model is very important for video playback. The video is stored on disk in one <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>, normally compressed using a <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">YUV</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/YUV?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> derivative. When played back, <strong>Cinelerra</strong> decompresses it from the file format directly into the format of the output device. If effects are processed, the decompression is into an internal <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> first and the internal <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> is then converted to the format of the output device. The selection of internal <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> determines how accurate and fast the effects are.
</li>
</ul>
<p />
      <strong>Cinelerra</strong> <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>s are described using a certain packing order of components and a certain number of bits for each component. The packing order is printed on the left and the bit allocation is printed on the right.
<p />
      RGBA8888 uses red, green, blue, and alpha with 8 bits per channel.
<p />
      In order to do effects which involve <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">alpha channels</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlphaChannels?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>, a <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> with an <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">alpha channel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlphaChannel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> must be selected. These are RGBA8888, YUVA8888, RGBA16161616, YUVA16161616. The 4 channel <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>s are notoriously slower than 3 channel <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>s, with the slowest being RGBA16161616. Some effects, like <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">VideoFade</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/VideoFade?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>, work around the need for <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">alpha channels</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlphaChannels?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> while other effects, like <a class="twikiLink" href="../../view/Cinelerra/VideoChromaKey">VideoChromaKey</a>, require an <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">alpha channel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlphaChannel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> to do anything, so it's a good idea to try the effect without <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">alpha channels</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlphaChannels?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>.
<p />
      The <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">YUV</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/YUV?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> colormodels are usually faster than <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">RGB</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/RGB?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> colormodels when using compressed footage. They also destroy fewer colors than <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">RGB</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/RGB?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> colormodels. If footage stored as JPEG or MPEG is processed many times in <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">RGB</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/RGB?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>, the colors will fade while they won't if processed in <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">YUV</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/YUV?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>.
<p />
<ul>
<li> Aspect ratio determines the shape of the video output when using the X11 video output. The numbers in each direction can be any floating point number. When drawn on the screen, video pixels are stretched to match the aspect ratio.
</li>
</ul>
</td></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<p />
</td></tr>

</table></div><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/ProjectAttributes">ProjectAttributes</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/ProjectAttributes?rev=r1.2">r1.2</a> - 19&nbsp;Dec&nbsp;2003 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr><td bgcolor="#D0FFD0" class="twikiDiffChangedHeader" colspan ="9"><b> Changed: </b></td></tr>
<tr><td bgcolor="#ff9999" class="twikiDiffDeletedMarker" valign="top" width="1%">&lt;<br />&lt;</td>
<td class="twikiDiffDeletedText">
<h3><a name="Setting_Project_Attributes"> </a><a name="_Setting_Project_Attributes_"> </a> <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">Setting Project Attributes</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/SettingProjectAttributes?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> </h3>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<h3><a name="Project_Attributes"> </a><a name="_Project_Attributes_"> </a> <a class="twikiLink" href="../../view/Cinelerra/ProjectAttributes">Project Attributes</a> </h3>
</td></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
When you play media files in Cinelerra, the media files have a certain number of tracks, a certain frame size, a certain sample size, and so on and so forth. No matter what the media file has; however, it is still played back according to the project attributes. If an audio file's samplerate is different than the project attributes, it is resampled. If a video file's frame size is different than the project attributes, it is composited on a black frame, either cropped or bordered with black.
<p />
The project attributes are adjusted in <a class="twikiLink" href="../../view/Cinelerra/SettingsMenu">SettingsMenu</a> <strong>-&gt;format</strong> and in to a more limited extent in <a class="twikiLink" href="../../view/Cinelerra/FileMenu">FileMenu</a> <strong>-&gt;new</strong> . When you adjust project settings in <a class="twikiLink" href="../../view/Cinelerra/FileMenu">FileMenu</a> <strong>-&gt;new</strong>  a new timeline is created with no data. Every timeline created from this point uses the same settings. When you adjust settings in <a class="twikiLink" href="../../view/Cinelerra/SettingsMenu">SettingsMenu</a> <strong>-&gt;format</strong>, the timeline is not recreated with no data but every timeline created from this point uses the same settings.
</td></tr>
<tr bgcolor="#eeeeee" class="twikiDiffLineNumberHeader"><th align="left" colspan="9">Line: 30 to 30</th></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<p />
-- <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a> - 19 Dec 2003 from <a class="twikiLink" href="../../view/Cinelerra/SecretsOfCinelerra">SecretsOfCinelerra</a>
<hr />
</td></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffAddedHeader" colspan ="9"><b> Added:   </b>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<table border="1" cellspacing="1" cellpadding="0">
<tr><th class="twikiFirstCol" bgcolor="#99CCCC"> <strong>META TOPICMOVED</strong> </th><td bgcolor="#FFFFCC"> <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">AlexFerrer</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlexFerrer?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> </td><td bgcolor="#FFFFCC"> date="1071869315" from="Cinelerra.SettingProjectAttributes" to="Cinelerra.ProjectAttributes" </td></tr>
</table>
</td></tr>

</table></div><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/ProjectAttributes">ProjectAttributes</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/ProjectAttributes?rev=r1.1">r1.1</a> - 19&nbsp;Dec&nbsp;2003 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr bgcolor="#eeeeee" class="twikiDiffLineNumberHeader"><th align="left" colspan="9">Line: 1 to 1</th></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffAddedHeader" colspan ="9"><b> Added:   </b>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<h3><a name="Setting_Project_Attributes"> </a><a name="_Setting_Project_Attributes_"> </a> <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">Setting Project Attributes</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/SettingProjectAttributes?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> </h3>
When you play media files in Cinelerra, the media files have a certain number of tracks, a certain frame size, a certain sample size, and so on and so forth. No matter what the media file has; however, it is still played back according to the project attributes. If an audio file's samplerate is different than the project attributes, it is resampled. If a video file's frame size is different than the project attributes, it is composited on a black frame, either cropped or bordered with black.
<p />
The project attributes are adjusted in <a class="twikiLink" href="../../view/Cinelerra/SettingsMenu">SettingsMenu</a> <strong>-&gt;format</strong> and in to a more limited extent in <a class="twikiLink" href="../../view/Cinelerra/FileMenu">FileMenu</a> <strong>-&gt;new</strong> . When you adjust project settings in <a class="twikiLink" href="../../view/Cinelerra/FileMenu">FileMenu</a> <strong>-&gt;new</strong>  a new timeline is created with no data. Every timeline created from this point uses the same settings. When you adjust settings in <a class="twikiLink" href="../../view/Cinelerra/SettingsMenu">SettingsMenu</a> <strong>-&gt;format</strong>, the timeline is not recreated with no data but every timeline created from this point uses the same settings.
<p />
In addition to the traditional settings for sample rate, frame rate, frame size, <strong>Cinelerra</strong> uses some unusual settings like channel positions, color model, and aspect ratio.
<p />
<ul>
<li> Channel positions is the only setting which doesn't affect the output necessarily. Click on a speaker icon and drag to change the position of a channel. It is merely a convenience so when more than 2 channels are used, the pan controls on the timeline are effective. Channels 3, 4, and 5 wouldn't be very adjustible if they occupied the same locations as channels 1 and 2 on a pan control. Normally a 6 channel configuration would look like this:
</li>
</ul>
<p />
<p />
      channelpositions.png
<p />
<p />
      But different channels can be positioned very close together to make them have the same output.
<p />
<ul>
<li> Color model is very important for video playback. The video is stored on disk in one <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>, normally compressed using a <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">YUV</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/YUV?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> derivative. When played back, <strong>Cinelerra</strong> decompresses it from the file format directly into the format of the output device. If effects are processed, the decompression is into an internal <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> first and the internal <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> is then converted to the format of the output device. The selection of internal <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> determines how accurate and fast the effects are.
</li>
</ul>
<p />
      <strong>Cinelerra</strong> <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>s are described using a certain packing order of components and a certain number of bits for each component. The packing order is printed on the left and the bit allocation is printed on the right.
<p />
      RGBA8888 uses red, green, blue, and alpha with 8 bits per channel.
<p />
      In order to do effects which involve <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">alpha channels</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlphaChannels?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>, a <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> with an <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">alpha channel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlphaChannel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> must be selected. These are RGBA8888, YUVA8888, RGBA16161616, YUVA16161616. The 4 channel <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>s are notoriously slower than 3 channel <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">colormodel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/Colormodel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>s, with the slowest being RGBA16161616. Some effects, like <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">VideoFade</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/VideoFade?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>, work around the need for <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">alpha channels</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlphaChannels?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> while other effects, like <a class="twikiLink" href="../../view/Cinelerra/VideoChromaKey">VideoChromaKey</a>, require an <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">alpha channel</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlphaChannel?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> to do anything, so it's a good idea to try the effect without <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">alpha channels</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/AlphaChannels?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>.
<p />
      The <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">YUV</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/YUV?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> colormodels are usually faster than <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">RGB</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/RGB?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> colormodels when using compressed footage. They also destroy fewer colors than <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">RGB</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/RGB?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span> colormodels. If footage stored as JPEG or MPEG is processed many times in <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">RGB</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/RGB?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>, the colors will fade while they won't if processed in <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">YUV</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/YUV?topicparent=Cinelerra.ProjectAttributes"><sup>?</sup></a></span>.
<p />
<ul>
<li> Aspect ratio determines the shape of the video output when using the X11 video output. The numbers in each direction can be any floating point number. When drawn on the screen, video pixels are stretched to match the aspect ratio.
</li>
</ul>
<p />
<p />
<p />
-- <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a> - 19 Dec 2003 from <a class="twikiLink" href="../../view/Cinelerra/SecretsOfCinelerra">SecretsOfCinelerra</a>
<hr />
</td></tr>

</table></div><div class="twikiTopicAction"><a href="../../view/Cinelerra/ProjectAttributes">View topic</a>
 <span class="twikiSeparator">|</span> <a href="ProjectAttributes">Diffs</a>  | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/ProjectAttributes?rev=1.3">r1.3</a> | <a href="http://www.ftconsult.com/twiki/bin/rdiff/Cinelerra/ProjectAttributes?rev1=1.3&rev2=1.2">&gt;</a> | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/ProjectAttributes?rev=1.2">r1.2</a> | <a href="http://www.ftconsult.com/twiki/bin/rdiff/Cinelerra/ProjectAttributes?rev1=1.2&rev2=1.1">&gt;</a> | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/ProjectAttributes?rev=1.1">r1.1</a>
 <span class="twikiSeparator">|</span> <a href="http://www.ftconsult.com/twiki/bin/oops/Cinelerra/ProjectAttributes?template=oopsmore&param1=1.3&param2=1.3">More</a>
</div><div class="twikiTopicInfo"><span class="twikiRevInfo twikiGrayText">Revision r1.1 - 19 Dec 2003 - 20:16 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a><br />
Revision r1.3 - 12 Jan 2004 - 16:12 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a></span></div>
<div class="twikiTopicFooter"></div>
<a name="PageBottom"></a> </div></div>
</body></html>