Jump to content

Archive:Kdenlive/Manual/Effects/Alpha manipulation: Difference between revisions

From KDE Wiki Sandbox
Yurchor (talk | contribs)
m add translation tags
Yurchor (talk | contribs)
Marked this version for translation
Line 2: Line 2:


<translate>
<translate>
== Effects - Alpha manipulation ==
== Effects - Alpha manipulation == <!--T:1-->


=== General Information about Alpha Manipulation  ===
=== General Information about Alpha Manipulation  === <!--T:2-->


<!--T:3-->
As far as I am aware Alpha Manipulation effects are always used in combination with a [[Special:myLanguage/Kdenlive/Manual/Transitions/Composite|composite transition]]. This because Alpha Manipulation is to do with manipulating the so called "alpha-channel" of images and videos. The Alpha channel is data that describes how two images are to be combined (or composited) into one. So you need a composite transition on the timeline to tell '''Kdenlive''' that you are compositing the videos from two different tracks into one image.  
As far as I am aware Alpha Manipulation effects are always used in combination with a [[Special:myLanguage/Kdenlive/Manual/Transitions/Composite|composite transition]]. This because Alpha Manipulation is to do with manipulating the so called "alpha-channel" of images and videos. The Alpha channel is data that describes how two images are to be combined (or composited) into one. So you need a composite transition on the timeline to tell '''Kdenlive''' that you are compositing the videos from two different tracks into one image.  


<!--T:4-->
{|
{|
|[[File:Two tracks no transition.png|left]]||This image shows two video tracks with no transition.<br />The project monitor shows how the upper track takes precedence when no transition is in play.
|[[File:Two tracks no transition.png|left]]||This image shows two video tracks with no transition.<br />The project monitor shows how the upper track takes precedence when no transition is in play.
|}
|}


<!--T:5-->
{|
{|
|[[File:Two tracks composite transition no alpha info.png|400px|left]]||This image shows two video tracks with a composite transition in place but with no Alpha information to tell '''Kdenlive''' how to combine the images.<br />With composite transition but no alpha info to describe how to composite the picture the top track still takes precedence.
|[[File:Two tracks composite transition no alpha info.png|400px|left]]||This image shows two video tracks with a composite transition in place but with no Alpha information to tell '''Kdenlive''' how to combine the images.<br />With composite transition but no alpha info to describe how to composite the picture the top track still takes precedence.
|}
|}


<!--T:6-->
{|
{|
|[[File:Two tracks composite transition with alpha info.png|400px|left]]||This image shows the situation with Alpha info now added via the blue screen method.<br />The blue screen effect is also known as "Color to alpha" [http://www.mltframework.org/bin/view/MLT/FilterFrei0r-bluescreen0r] and all the blue screen effect does is say that where the video is blue the alpha value is 0 (i.e. transparent).<br />So now that we have alpha information the second tracks image now shows through where the alpha channel says the image should be transparent.  
|[[File:Two tracks composite transition with alpha info.png|400px|left]]||This image shows the situation with Alpha info now added via the blue screen method.<br />The blue screen effect is also known as "Color to alpha" [http://www.mltframework.org/bin/view/MLT/FilterFrei0r-bluescreen0r] and all the blue screen effect does is say that where the video is blue the alpha value is 0 (i.e. transparent).<br />So now that we have alpha information the second tracks image now shows through where the alpha channel says the image should be transparent.  
|}
|}


<!--T:7-->
Once you have some alpha channel data in play you can alter the settings in your [[Special:myLanguage/Kdenlive/Manual/Transitions/Composite|composite transition]] to change how the images will combine. See [[Special:myLanguage/Kdenlive/Manual/Transitions/Composite|composite transition]] page for details.
Once you have some alpha channel data in play you can alter the settings in your [[Special:myLanguage/Kdenlive/Manual/Transitions/Composite|composite transition]] to change how the images will combine. See [[Special:myLanguage/Kdenlive/Manual/Transitions/Composite|composite transition]] page for details.


<!--T:8-->
You can also combine two video tracks together using the [[Special:myLanguage/Kdenlive/Manual/Transitions/screen|screen]] transition (if one of them is filmed on a black background).
You can also combine two video tracks together using the [[Special:myLanguage/Kdenlive/Manual/Transitions/screen|screen]] transition (if one of them is filmed on a black background).


=== Hint for previewing the alpha manipulation effects ===
=== Hint for previewing the alpha manipulation effects === <!--T:9-->


<!--T:10-->
The preview in Project monitor goes all strange when you select the composite transition in the time line or the video 1 in the time line.
The preview in Project monitor goes all strange when you select the composite transition in the time line or the video 1 in the time line.


<!--T:11-->
[[File:Weird preview look.png|400px|left]]
[[File:Weird preview look.png|400px|left]]
What the project monitor looks like when you have just selected the composite transition in the time line. This is not what the rendered video will look like.
What the project monitor looks like when you have just selected the composite transition in the time line. This is not what the rendered video will look like.
Line 33: Line 41:
<br style="clear: both;"/>
<br style="clear: both;"/>


<!--T:12-->
[[File:Two tracks composite transition with alpha info.png|400px|left]] What the preview looks like once you select Video 2 in the timeline. This is what the rendered file will look like
[[File:Two tracks composite transition with alpha info.png|400px|left]] What the preview looks like once you select Video 2 in the timeline. This is what the rendered file will look like
<br style="clear: both;"/>
<br style="clear: both;"/>
<br />
<br />


=== Effects in the Alpha Manipulation Category ===
=== Effects in the Alpha Manipulation Category === <!--T:13-->


<!--T:14-->
# [[Special:myLanguage/Kdenlive/Manual/Effects/Alpha manipulation/Alpha gradient|Alpha gradient]]
# [[Special:myLanguage/Kdenlive/Manual/Effects/Alpha manipulation/Alpha gradient|Alpha gradient]]
# [[Special:myLanguage/Kdenlive/Manual/Effects/Alpha manipulation/Alpha operations|Alpha operations]]
# [[Special:myLanguage/Kdenlive/Manual/Effects/Alpha manipulation/Alpha operations|Alpha operations]]
Line 47: Line 57:
# [[Special:myLanguage/Kdenlive/Manual/Effects/Alpha manipulation/Rotoscoping|Rotoscoping]]
# [[Special:myLanguage/Kdenlive/Manual/Effects/Alpha manipulation/Rotoscoping|Rotoscoping]]


=== Compositing Reference Material ===
=== Compositing Reference Material === <!--T:15-->


<!--T:16-->
For some background the Wikipedia article in [http://en.wikipedia.org/wiki/Alpha_compositing alpha compositing] is usefull. See also Porter, Thomas; Tom Duff (1984). "Compositing Digital Images". Computer Graphics 18 (3): p253–259 1984 [http://keithp.com/~keithp/porterduff/p253-porter.pdf pdf]
For some background the Wikipedia article in [http://en.wikipedia.org/wiki/Alpha_compositing alpha compositing] is usefull. See also Porter, Thomas; Tom Duff (1984). "Compositing Digital Images". Computer Graphics 18 (3): p253–259 1984 [http://keithp.com/~keithp/porterduff/p253-porter.pdf pdf]


<!--T:17-->
{{Prevnext2
{{Prevnext2
| prevpage=Special:MyLanguage/Kdenlive/Manual/Effects| nextpage=Special:MyLanguage/Kdenlive/Manual/Effects/Audio
| prevpage=Special:MyLanguage/Kdenlive/Manual/Effects| nextpage=Special:MyLanguage/Kdenlive/Manual/Effects/Audio
Line 57: Line 69:
}}
}}


<!--T:18-->
[[Category:Kdenlive]]
[[Category:Kdenlive]]
</translate>
</translate>

Revision as of 17:14, 30 October 2012

Effects - Alpha manipulation

General Information about Alpha Manipulation

As far as I am aware Alpha Manipulation effects are always used in combination with a composite transition. This because Alpha Manipulation is to do with manipulating the so called "alpha-channel" of images and videos. The Alpha channel is data that describes how two images are to be combined (or composited) into one. So you need a composite transition on the timeline to tell Kdenlive that you are compositing the videos from two different tracks into one image.

This image shows two video tracks with no transition.
The project monitor shows how the upper track takes precedence when no transition is in play.
This image shows two video tracks with a composite transition in place but with no Alpha information to tell Kdenlive how to combine the images.
With composite transition but no alpha info to describe how to composite the picture the top track still takes precedence.
This image shows the situation with Alpha info now added via the blue screen method.
The blue screen effect is also known as "Color to alpha" [1] and all the blue screen effect does is say that where the video is blue the alpha value is 0 (i.e. transparent).
So now that we have alpha information the second tracks image now shows through where the alpha channel says the image should be transparent.

Once you have some alpha channel data in play you can alter the settings in your composite transition to change how the images will combine. See composite transition page for details.

You can also combine two video tracks together using the screen transition (if one of them is filmed on a black background).

Hint for previewing the alpha manipulation effects

The preview in Project monitor goes all strange when you select the composite transition in the time line or the video 1 in the time line.

What the project monitor looks like when you have just selected the composite transition in the time line. This is not what the rendered video will look like. To get a look at what the video will render as you need to click Video 1 and then Video 2 in the timeline.

What the preview looks like once you select Video 2 in the timeline. This is what the rendered file will look like



Effects in the Alpha Manipulation Category

  1. Alpha gradient
  2. Alpha operations
  3. Alpha shapes
  4. Blue Screen
  5. Color Selection
  6. Mask0Mate
  7. Rotoscoping

Compositing Reference Material

For some background the Wikipedia article in alpha compositing is usefull. See also Porter, Thomas; Tom Duff (1984). "Compositing Digital Images". Computer Graphics 18 (3): p253–259 1984 pdf