http://avisynth.nl/index.php?title=MergeRGB&feed=atom&action=historyMergeRGB - Revision history2024-03-29T10:28:20ZRevision history for this page on the wikiMediaWiki 1.19.24http://avisynth.nl/index.php?title=MergeRGB&diff=9962&oldid=prevRaffriff42: formatting2017-10-03T09:58:13Z<p>formatting</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 09:58, 3 October 2017</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 7:</td>
<td colspan="2" class="diff-lineno">Line 7:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Merge the ''alpha'' (transparency) and color channels from the source video clips into the output video clip.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Merge the ''alpha'' (transparency) and color channels from the source video clips into the output video clip.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{{<del class="diffchange diffchange-inline">FuncArg</del>|clipA}} <del class="diffchange diffchange-inline">provides </del>the alpha data to merge into the output clip. For a [[YUV]] format clip, the data is taken from the ''Y'' (luma) channel. For an [[RGB32]] format clip, the data is taken from the ''A'' (alpha) channel. [[RGB24]] clips cannot be used.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">:</ins>{{<ins class="diffchange diffchange-inline">Par2</ins>|clipA<ins class="diffchange diffchange-inline">|clip|</ins>}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">::Provides </ins>the alpha data to merge into the output clip.  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">::* </ins>For a [[YUV]] format clip, the data is taken from the ''Y'' (luma) channel.  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">::* </ins>For an [[RGB32]] format clip, the data is taken from the ''A'' (alpha) channel.  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">::* </ins>[[RGB24]] clips cannot be used.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{{<del class="diffchange diffchange-inline">FuncArg</del>|<del class="diffchange diffchange-inline">cliprR</del>}}<del class="diffchange diffchange-inline">, </del>{{<del class="diffchange diffchange-inline">FuncArg</del>|clipG}} <del class="diffchange diffchange-inline">and </del>{{<del class="diffchange diffchange-inline">FuncArg</del>|clipB}} <del class="diffchange diffchange-inline">provide </del>the ''R'', ''G'' and ''B'' data respectively to merge into the output clip. For [[YUV]] format clips, the data is taken from the ''Y'' (luma) channel. For [[RGB]] format clips, the data is taken from the respective source channel<del class="diffchange diffchange-inline">&mdash;</del>''R'' to ''R'', ''G'' to ''G''<del class="diffchange diffchange-inline">, </del>''B'' to ''B''<del class="diffchange diffchange-inline">. The unused chroma or color channels of the input clips are ignored</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">:</ins>{{<ins class="diffchange diffchange-inline">Par2|clipR|clip</ins>|}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">:</ins>{{<ins class="diffchange diffchange-inline">Par2</ins>|clipG<ins class="diffchange diffchange-inline">|clip|</ins>}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">:</ins>{{<ins class="diffchange diffchange-inline">Par2</ins>|clipB<ins class="diffchange diffchange-inline">|clip|</ins>}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">::Provide </ins>the ''R'', ''G'' and ''B'' data respectively to merge into the output clip. <ins class="diffchange diffchange-inline">Input clips may be a mixture of all formats. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">::* </ins>For [[YUV]] format clips, the data is taken from the ''Y'' (luma) channel. <ins class="diffchange diffchange-inline">Source data should be full range (0{{D}}-255{{D}}).</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">::* </ins>For [[RGB]] format clips, the data is taken from the respective source channel<ins class="diffchange diffchange-inline">: </ins>''R'' to ''R'', ''G'' to ''G'' <ins class="diffchange diffchange-inline">and </ins>''B'' to ''B''.  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">All YUV luma pixel data is assumed to be pc-range (0</del>{{<del class="diffchange diffchange-inline">D</del>}}<del class="diffchange diffchange-inline">-255</del>{{<del class="diffchange diffchange-inline">D</del>}}<del class="diffchange diffchange-inline">); there is no tv-range (16{{D}}-235{{D}}) scaling. Chroma data from YUV clips is ignored. Input clips may be a mixture of all formats. [[YV12]] is the most efficient format for transporting single channels thru any required filter chains.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">:</ins>{{<ins class="diffchange diffchange-inline">Par2|pixel_type|string|"RGB32"</ins>}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">::Specifies the output pixel format. Valid values are "RGB32", "RGB24".</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">::</ins>{{<ins class="diffchange diffchange-inline">AvsPluscon</ins>}} <ins class="diffchange diffchange-inline">also supports "RGB48", "RGB64"</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">{{FuncArg|pixel_type}} (default "RGB32", optionally "RGB24") specifies </del>the <del class="diffchange diffchange-inline">output pixel format</del>.<del class="diffchange diffchange-inline"><br></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">The unused channels of </ins>the <ins class="diffchange diffchange-inline">input clips are ignored</ins>. Audio, [[Clip_properties|FrameRate]] and [[Clip_properties|FrameCount]] are taken from the first clip.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">{{AvsPluscon}} also supports "RGB48", "RGB64"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Audio, [[Clip_properties|FrameRate]] and [[Clip_properties|FrameCount]] are taken from the first clip.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Examples ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Examples ===</div></td></tr>
</table>Raffriff42http://avisynth.nl/index.php?title=MergeRGB&diff=9796&oldid=prevRaffriff42: note AVS+ differences2017-04-28T21:03:55Z<p>note AVS+ differences</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 21:03, 28 April 2017</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{FuncArg|cliprR}}, {{FuncArg|clipG}} and {{FuncArg|clipB}} provide the ''R'', ''G'' and ''B'' data respectively to merge into the output clip. For [[YUV]] format clips, the data is taken from the ''Y'' (luma) channel. For [[RGB]] format clips, the data is taken from the respective source channel&mdash;''R'' to ''R'', ''G'' to ''G'', ''B'' to ''B''. The unused chroma or color channels of the input clips are ignored.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{FuncArg|cliprR}}, {{FuncArg|clipG}} and {{FuncArg|clipB}} provide the ''R'', ''G'' and ''B'' data respectively to merge into the output clip. For [[YUV]] format clips, the data is taken from the ''Y'' (luma) channel. For [[RGB]] format clips, the data is taken from the respective source channel&mdash;''R'' to ''R'', ''G'' to ''G'', ''B'' to ''B''. The unused chroma or color channels of the input clips are ignored.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>All YUV luma pixel data is assumed to be pc-range (0<del class="diffchange diffchange-inline">..</del>255); there is no tv-range (16<del class="diffchange diffchange-inline">..</del>235) scaling. Chroma data from YUV clips is ignored. Input clips may be a mixture of all formats. [[YV12]] is the most efficient format for transporting single channels thru any required filter chains.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>All YUV luma pixel data is assumed to be pc-range (0<ins class="diffchange diffchange-inline">{{D}}-</ins>255<ins class="diffchange diffchange-inline">{{D}}</ins>); there is no tv-range (16<ins class="diffchange diffchange-inline">{{D}}-</ins>235<ins class="diffchange diffchange-inline">{{D}}</ins>) scaling. Chroma data from YUV clips is ignored. Input clips may be a mixture of all formats. [[YV12]] is the most efficient format for transporting single channels thru any required filter chains.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{{FuncArg|pixel_type}} (default "RGB32", optionally "RGB24") specifies the output pixel format.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>{{FuncArg|pixel_type}} (default "RGB32", optionally "RGB24") specifies the output pixel format.<ins class="diffchange diffchange-inline"><br></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">{{AvsPluscon}} also supports "RGB48", "RGB64"</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Audio, [[Clip_properties|FrameRate]] and [[Clip_properties|FrameCount]] are taken from the first clip.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Audio, [[Clip_properties|FrameRate]] and [[Clip_properties|FrameCount]] are taken from the first clip.</div></td></tr>
</table>Raffriff42http://avisynth.nl/index.php?title=MergeRGB&diff=8747&oldid=prevRaffriff42: formatting2016-02-28T09:27:03Z<p>formatting</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 09:27, 28 February 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{{<del class="diffchange diffchange-inline">Template:</del>Func2Def</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><div style="max-width:62em" ></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>{{Func2Def</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|MergeARGB(clip ''clipA'', clip ''clipR'', clip ''clipG'', clip ''clipB'')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|MergeARGB(clip ''clipA'', clip ''clipR'', clip ''clipG'', clip ''clipB'')</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|MergeRGB(clip ''clipR'', clip ''clipG'', clip ''clipB'' [, string ''pixel_type'' ] )</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|MergeRGB(clip ''clipR'', clip ''clipG'', clip ''clipB'' [, string ''pixel_type'' ] )</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 44:</td>
<td colspan="2" class="diff-lineno">Line 45:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>| Initial release.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>| Initial release.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></div></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Internal filters]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Internal filters]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Levels_and_Chroma_filters]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Levels_and_Chroma_filters]]</div></td></tr>
</table>Raffriff42http://avisynth.nl/index.php?title=MergeRGB&diff=8454&oldid=prevRaffriff42: one more touch-up2016-01-24T18:38:30Z<p>one more touch-up</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:38, 24 January 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 8:</td>
<td colspan="2" class="diff-lineno">Line 8:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{FuncArg|clipA}} provides the alpha data to merge into the output clip. For a [[YUV]] format clip, the data is taken from the ''Y'' (luma) channel. For an [[RGB32]] format clip, the data is taken from the ''A'' (alpha) channel. [[RGB24]] clips cannot be used.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{FuncArg|clipA}} provides the alpha data to merge into the output clip. For a [[YUV]] format clip, the data is taken from the ''Y'' (luma) channel. For an [[RGB32]] format clip, the data is taken from the ''A'' (alpha) channel. [[RGB24]] clips cannot be used.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{{FuncArg|cliprR}}, {{FuncArg|clipG}} and {{FuncArg|clipB}} provide the ''R'', ''G'' and ''B'' data respectively to merge into the output clip. For [[YUV]] format clips, the data is taken from the ''Y'' (luma) channel. For [[RGB]] format clips, the data is taken from the respective source channel&<del class="diffchange diffchange-inline">ndash</del>;<del class="diffchange diffchange-inline">i.e. </del>''R'' to ''R'', ''G'' to ''G'', ''B'' to ''B''. The unused chroma or color channels of the input clips are ignored.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>{{FuncArg|cliprR}}, {{FuncArg|clipG}} and {{FuncArg|clipB}} provide the ''R'', ''G'' and ''B'' data respectively to merge into the output clip. For [[YUV]] format clips, the data is taken from the ''Y'' (luma) channel. For [[RGB]] format clips, the data is taken from the respective source channel&<ins class="diffchange diffchange-inline">mdash</ins>;''R'' to ''R'', ''G'' to ''G'', ''B'' to ''B''. The unused chroma or color channels of the input clips are ignored.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>All YUV luma pixel data is assumed to be pc-range (0..255); there is no tv-range (16..235) scaling. Chroma data from YUV clips is ignored. Input clips may be a mixture of all formats. [[YV12]] is the most efficient format for transporting single channels thru any required filter chains.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>All YUV luma pixel data is assumed to be pc-range (0..255); there is no tv-range (16..235) scaling. Chroma data from YUV clips is ignored. Input clips may be a mixture of all formats. [[YV12]] is the most efficient format for transporting single channels thru any required filter chains.</div></td></tr>
</table>Raffriff42http://avisynth.nl/index.php?title=MergeRGB&diff=8453&oldid=prevRaffriff42: typo2016-01-24T18:36:50Z<p>typo</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:36, 24 January 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 8:</td>
<td colspan="2" class="diff-lineno">Line 8:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{FuncArg|clipA}} provides the alpha data to merge into the output clip. For a [[YUV]] format clip, the data is taken from the ''Y'' (luma) channel. For an [[RGB32]] format clip, the data is taken from the ''A'' (alpha) channel. [[RGB24]] clips cannot be used.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{FuncArg|clipA}} provides the alpha data to merge into the output clip. For a [[YUV]] format clip, the data is taken from the ''Y'' (luma) channel. For an [[RGB32]] format clip, the data is taken from the ''A'' (alpha) channel. [[RGB24]] clips cannot be used.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{{FuncArg|cliprR}}, {{FuncArg|clipG}} and {{FuncArg|clipB}} provide the ''R'', ''G'' and ''B'' data respectively to merge into the output clip. For [[YUV]] format clips, the data is taken from the ''Y'' (luma) channel. For [[RGB]] format clips, the data is taken from the respective source channel&<del class="diffchange diffchange-inline">ndashi</del>.e. ''R'' to ''R'', ''G'' to ''G'', ''B'' to ''B''. The unused chroma or color channels of the input clips are ignored.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>{{FuncArg|cliprR}}, {{FuncArg|clipG}} and {{FuncArg|clipB}} provide the ''R'', ''G'' and ''B'' data respectively to merge into the output clip. For [[YUV]] format clips, the data is taken from the ''Y'' (luma) channel. For [[RGB]] format clips, the data is taken from the respective source channel&<ins class="diffchange diffchange-inline">ndash;i</ins>.e. ''R'' to ''R'', ''G'' to ''G'', ''B'' to ''B''. The unused chroma or color channels of the input clips are ignored.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>All YUV luma pixel data is assumed to be pc-range (0..255); there is no tv-range (16..235) scaling. Chroma data from YUV clips is ignored. Input clips may be a mixture of all formats. [[YV12]] is the most efficient format for transporting single channels thru any required filter chains.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>All YUV luma pixel data is assumed to be pc-range (0..255); there is no tv-range (16..235) scaling. Chroma data from YUV clips is ignored. Input clips may be a mixture of all formats. [[YV12]] is the most efficient format for transporting single channels thru any required filter chains.</div></td></tr>
</table>Raffriff42http://avisynth.nl/index.php?title=MergeRGB&diff=8448&oldid=prevRaffriff42: formatting, links, phrasing2016-01-24T16:11:44Z<p>formatting, links, phrasing</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 16:11, 24 January 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{{Template:Func2Def|MergeARGB(clip ''clipA'', clip ''clipR'', clip ''clipG'', clip ''clipB'')|MergeRGB(clip ''clipR'', clip ''clipG'', clip ''clipB'' [, string ''pixel_type''])}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>{{Template:Func2Def</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>|MergeARGB(clip ''clipA'', clip ''clipR'', clip ''clipG'', clip ''clipB'')</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>|MergeRGB(clip ''clipR'', clip ''clipG'', clip ''clipB'' [, string ''pixel_type'' ] )</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">These filters makes it possible to merge </del>the alpha and color channels from the source <del class="diffchange diffchange-inline">videoclips </del>into the output <del class="diffchange diffchange-inline">videoclip</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Merge </ins>the <ins class="diffchange diffchange-inline">''</ins>alpha<ins class="diffchange diffchange-inline">'' (transparency) </ins>and color channels from the source <ins class="diffchange diffchange-inline">video clips </ins>into the output <ins class="diffchange diffchange-inline">video clip</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">''</del>clipA<del class="diffchange diffchange-inline">'' is the clip that provided </del>the alpha data to merge into the output clip. For a YUV format <del class="diffchange diffchange-inline">input </del>clip the data is taken from the <del class="diffchange diffchange-inline">Luma </del>channel. For <del class="diffchange diffchange-inline">a </del>RGB32 format <del class="diffchange diffchange-inline">input </del>clip the data is taken from the <del class="diffchange diffchange-inline">Alpha </del>channel. <del class="diffchange diffchange-inline">It may not be in </del>RGB24 <del class="diffchange diffchange-inline">format</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">{{FuncArg|</ins>clipA<ins class="diffchange diffchange-inline">}} provides </ins>the alpha data to merge into the output clip. For a <ins class="diffchange diffchange-inline">[[</ins>YUV<ins class="diffchange diffchange-inline">]] </ins>format clip<ins class="diffchange diffchange-inline">, </ins>the data is taken from the <ins class="diffchange diffchange-inline">''Y'' (luma) </ins>channel. For <ins class="diffchange diffchange-inline">an [[</ins>RGB32<ins class="diffchange diffchange-inline">]] </ins>format clip<ins class="diffchange diffchange-inline">, </ins>the data is taken from the <ins class="diffchange diffchange-inline">''A'' (alpha) </ins>channel. <ins class="diffchange diffchange-inline">[[</ins>RGB24<ins class="diffchange diffchange-inline">]] clips cannot be used</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>''<del class="diffchange diffchange-inline">clipR</del>'', ''<del class="diffchange diffchange-inline">clipG</del>'' and ''<del class="diffchange diffchange-inline">clipB</del>'' <del class="diffchange diffchange-inline">are the clips that provided the R, G and B </del>data respectively to merge into the output clip. For YUV format <del class="diffchange diffchange-inline">input </del>clips the data is taken from the <del class="diffchange diffchange-inline">Luma </del>channel. For RGB format <del class="diffchange diffchange-inline">input </del>clips the data is taken from the respective source channel<del class="diffchange diffchange-inline">. i</del>.e. R to R, G to G, B to B. The unused chroma or color channels of the input clips are ignored.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">{{FuncArg|cliprR}}, {{FuncArg|clipG}} and {{FuncArg|clipB}} provide the </ins>''<ins class="diffchange diffchange-inline">R</ins>'', ''<ins class="diffchange diffchange-inline">G</ins>'' and ''<ins class="diffchange diffchange-inline">B</ins>'' data respectively to merge into the output clip. For <ins class="diffchange diffchange-inline">[[</ins>YUV<ins class="diffchange diffchange-inline">]] </ins>format clips<ins class="diffchange diffchange-inline">, </ins>the data is taken from the <ins class="diffchange diffchange-inline">''Y'' (luma) </ins>channel. For <ins class="diffchange diffchange-inline">[[</ins>RGB<ins class="diffchange diffchange-inline">]] </ins>format clips<ins class="diffchange diffchange-inline">, </ins>the data is taken from the respective source channel<ins class="diffchange diffchange-inline">&ndashi</ins>.e. <ins class="diffchange diffchange-inline">''</ins>R<ins class="diffchange diffchange-inline">'' </ins>to <ins class="diffchange diffchange-inline">''</ins>R<ins class="diffchange diffchange-inline">''</ins>, <ins class="diffchange diffchange-inline">''</ins>G<ins class="diffchange diffchange-inline">'' </ins>to <ins class="diffchange diffchange-inline">''</ins>G<ins class="diffchange diffchange-inline">''</ins>, <ins class="diffchange diffchange-inline">''</ins>B<ins class="diffchange diffchange-inline">'' </ins>to <ins class="diffchange diffchange-inline">''</ins>B<ins class="diffchange diffchange-inline">''</ins>. The unused chroma or color channels of the input clips are ignored.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>All YUV luma pixel data is assumed to be pc-range<del class="diffchange diffchange-inline">, [</del>0..255<del class="diffchange diffchange-inline">], </del>there is no tv-range<del class="diffchange diffchange-inline">, [</del>16..235<del class="diffchange diffchange-inline">], </del>scaling. Chroma data from YUV clips is ignored. Input clips may be a mixture of all formats. YV12 is the most efficient format for transporting single channels thru any required filter chains.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>All YUV luma pixel data is assumed to be pc-range <ins class="diffchange diffchange-inline">(</ins>0..255<ins class="diffchange diffchange-inline">); </ins>there is no tv-range <ins class="diffchange diffchange-inline">(</ins>16..235<ins class="diffchange diffchange-inline">) </ins>scaling. Chroma data from YUV clips is ignored. Input clips may be a mixture of all formats. <ins class="diffchange diffchange-inline">[[</ins>YV12<ins class="diffchange diffchange-inline">]] </ins>is the most efficient format for transporting single channels thru any required filter chains.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">''</del>pixel_type<del class="diffchange diffchange-inline">'' </del>default RGB32, optionally RGB24<del class="diffchange diffchange-inline">, </del>specifies the output pixel format.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">{{FuncArg|</ins>pixel_type<ins class="diffchange diffchange-inline">}} (</ins>default <ins class="diffchange diffchange-inline">"</ins>RGB32<ins class="diffchange diffchange-inline">"</ins>, optionally <ins class="diffchange diffchange-inline">"</ins>RGB24<ins class="diffchange diffchange-inline">") </ins>specifies the output pixel format.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">The audio</del>, <del class="diffchange diffchange-inline">framerate </del>and <del class="diffchange diffchange-inline">framecount </del>are taken from the first clip.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Audio</ins>, <ins class="diffchange diffchange-inline">[[Clip_properties|FrameRate]] </ins>and <ins class="diffchange diffchange-inline">[[Clip_properties|FrameCount]] </ins>are taken from the first clip.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">'''</del>Examples<del class="diffchange diffchange-inline">:'''</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">=== </ins>Examples <ins class="diffchange diffchange-inline">===</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><div {{BoxWidthIndent|46|0}} ></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  # <del class="diffchange diffchange-inline">This will only blur </del>the Green channel.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  # <ins class="diffchange diffchange-inline">Blur </ins>the Green channel <ins class="diffchange diffchange-inline">only</ins>.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  <del class="diffchange diffchange-inline">MPEG2source</del>("<del class="diffchange diffchange-inline">c:\apps\avisynth\</del>main.d2v")</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  <ins class="diffchange diffchange-inline">[[DGDecode/MPEG2Source|MPEG2Source]]</ins>("main.d2v")</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  [[ConvertToRGB24]]()</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  [[ConvertToRGB24]]()</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  MergeRGB(Last, Blur(0.5), Last)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  MergeRGB(Last, <ins class="diffchange diffchange-inline">[[</ins>Blur<ins class="diffchange diffchange-inline">]]</ins>(0.5), Last)</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"></div></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  # <del class="diffchange diffchange-inline">This will swap </del>the red and blue channels <del class="diffchange diffchange-inline">and</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><div {{BoxWidthIndent|46|0}} ></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  # load the alpha from a second <del class="diffchange diffchange-inline">video sources</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  # <ins class="diffchange diffchange-inline">Swap </ins>the red and blue channels<ins class="diffchange diffchange-inline">;</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  vid1 = [[AviSource]]("<del class="diffchange diffchange-inline">c:\apps\avisynth\</del>main.avi")</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  # load the alpha from a second <ins class="diffchange diffchange-inline">source</ins>.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  vid2 = AviSource("<del class="diffchange diffchange-inline">c:\apps\avisynth\</del>alpha.avi")</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  vid1 = [[AviSource]]("main.avi")</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  MergeARGB(vid2, vid1.[[ShowBlue]]("YV12"), vid1, vid1.[[ShowRed]]("YV12"))</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  vid2 = AviSource("alpha.avi")</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  MergeARGB(</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> \    </ins>vid2,  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> \    </ins>vid1.[[ShowBlue]]("YV12"),  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> \    </ins>vid1,  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> \    </ins>vid1.[[ShowRed]]("YV12")</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> \ </ins>)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  [[AudioDub]](vid1)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  [[AudioDub]](vid1)</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></div></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">'''</del>Changelog<del class="diffchange diffchange-inline">:'''</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">=== </ins>Changelog <ins class="diffchange diffchange-inline">===</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{| border="1"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{| border="1"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-  </div></td></tr>
</table>Raffriff42http://avisynth.nl/index.php?title=MergeRGB&diff=6828&oldid=prevRaffriff42: added category2015-11-08T14:44:23Z<p>added category</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 14:44, 8 November 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 36:</td>
<td colspan="2" class="diff-lineno">Line 36:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Internal filters]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Internal filters]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category:Levels_and_Chroma_filters]]</ins></div></td></tr>
</table>Raffriff42http://avisynth.nl/index.php?title=MergeRGB&diff=371&oldid=prevAdmin: 1 revision2013-05-09T15:02:22Z<p>1 revision</p>
<table class='diff diff-contentalign-left'>
<tr valign='top'>
<td colspan='1' style="background-color: white; color:black;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black;">Revision as of 15:02, 9 May 2013</td>
</tr></table>Adminhttp://avisynth.nl/index.php?title=MergeRGB&diff=370&oldid=prevWilbert: typo2008-04-12T15:52:40Z<p>typo</p>
<p><b>New page</b></p><div>{{Template:Func2Def|MergeARGB(clip ''clipA'', clip ''clipR'', clip ''clipG'', clip ''clipB'')|MergeRGB(clip ''clipR'', clip ''clipG'', clip ''clipB'' [, string ''pixel_type''])}}<br />
<br />
These filters makes it possible to merge the alpha and color channels from the source videoclips into the output videoclip.<br />
<br />
''clipA'' is the clip that provided the alpha data to merge into the output clip. For a YUV format input clip the data is taken from the Luma channel. For a RGB32 format input clip the data is taken from the Alpha channel. It may not be in RGB24 format.<br />
<br />
''clipR'', ''clipG'' and ''clipB'' are the clips that provided the R, G and B data respectively to merge into the output clip. For YUV format input clips the data is taken from the Luma channel. For RGB format input clips the data is taken from the respective source channel. i.e. R to R, G to G, B to B. The unused chroma or color channels of the input clips are ignored.<br />
<br />
All YUV luma pixel data is assumed to be pc-range, [0..255], there is no tv-range, [16..235], scaling. Chroma data from YUV clips is ignored. Input clips may be a mixture of all formats. YV12 is the most efficient format for transporting single channels thru any required filter chains.<br />
<br />
''pixel_type'' default RGB32, optionally RGB24, specifies the output pixel format.<br />
<br />
The audio, framerate and framecount are taken from the first clip.<br />
<br />
'''Examples:'''<br />
<br />
# This will only blur the Green channel.<br />
MPEG2source("c:\apps\avisynth\main.d2v")<br />
[[ConvertToRGB24]]()<br />
MergeRGB(Last, Blur(0.5), Last)<br />
<br />
# This will swap the red and blue channels and<br />
# load the alpha from a second video sources.<br />
vid1 = [[AviSource]]("c:\apps\avisynth\main.avi")<br />
vid2 = AviSource("c:\apps\avisynth\alpha.avi")<br />
MergeARGB(vid2, vid1.[[ShowBlue]]("YV12"), vid1, vid1.[[ShowRed]]("YV12"))<br />
[[AudioDub]](vid1)<br />
<br />
'''Changelog:'''<br />
{| border="1"<br />
|- <br />
| v2.56<br />
| Initial release.<br />
|}<br />
<br />
<br />
[[Category:Internal filters]]</div>Wilbert