This forum has been archived. All content is frozen. Please use KDE Discuss instead.

I don't understand "alphaxor"

Tags: None
(comma "," separated)
Zmogas
Registered Member
Posts
2
Karma
0

I don't understand "alphaxor"

Fri May 26, 2017 7:31 pm
Hello,

I tried tutorial Basic masking in Kdenlive: a useful trick in Kdenlive from Master branch (also tied Stable):
  • added color clip with red color in to bottom track ;
  • added clip created from image in to middle track; image contains horizontal gradient from white to full transparency;
  • added color clip with blue color in to upper track;
  • applied "Cairo Blend" transition onto middle track;
  • applied "alphaxor" transition onto upper track.
After that I got strange result (I think):
Image
I think that result should be a gradient from red to blue. But now I get double gradient, why?

There is mentioned image with gradient.
This is project:
Code: Select all
<?xml version='1.0' encoding='utf-8'?>
<mlt title="Anonymous Submission" version="6.4.1" root="/home/senbuvis/Dokumentai" producer="main bin" LC_NUMERIC="lt_LT.UTF-8">
 <profile width="1920" frame_rate_den="1001" height="1080" display_aspect_num="16" display_aspect_den="9" frame_rate_num="30000" colorspace="709" sample_aspect_den="1" description="HD 1080p 29.97 fps" progressive="1" sample_aspect_num="1"/>
 <producer id="4" out="149" in="0">
  <property name="length">150</property>
  <property name="eof">pause</property>
  <property name="resource">0x0000ffff</property>
  <property name="aspect_ratio">1</property>
  <property name="mlt_service">color</property>
  <property name="kdenlive:clipname">Color Clip</property>
  <property name="kdenlive:folderid">-1</property>
  <property name="kdenlive:duration">150</property>
  <property name="kdenlive:file_hash">d4ead69fc733e097e14aa8aeb7f3c563</property>
 </producer>
 <producer id="5" out="149" in="0">
  <property name="length">150</property>
  <property name="eof">pause</property>
  <property name="resource">0xff0000ff</property>
  <property name="aspect_ratio">1</property>
  <property name="mlt_service">color</property>
  <property name="kdenlive:clipname">Color Clip</property>
  <property name="kdenlive:folderid">-1</property>
  <property name="kdenlive:duration">150</property>
  <property name="kdenlive:file_hash">a4ff63d46e5193b5ac9b230b6a0d11a0</property>
 </producer>
 <producer id="6" title="Anonymous Submission" out="149" in="0">
  <property name="length">150</property>
  <property name="eof">pause</property>
  <property name="resource">Nepavadinta.png</property>
  <property name="ttl">25</property>
  <property name="aspect_ratio">1</property>
  <property name="progressive">1</property>
  <property name="seekable">1</property>
  <property name="loop">1</property>
  <property name="meta.media.width">400</property>
  <property name="meta.media.height">225</property>
  <property name="mlt_service">pixbuf</property>
  <property name="kdenlive:folderid">-1</property>
  <property name="kdenlive:duration">150</property>
  <property name="kdenlive:file_size">15088</property>
  <property name="kdenlive:file_hash">9813b2d714aebc3e3fc9ce36f77ecbf1</property>
  <property name="global_feed">1</property>
 </producer>
 <playlist id="main bin">
  <property name="kdenlive:docproperties.audiotargettrack">2</property>
  <property name="kdenlive:docproperties.decimalPoint">,</property>
  <property name="kdenlive:docproperties.dirtypreviewchunks"/>
  <property name="kdenlive:docproperties.disablepreview">0</property>
  <property name="kdenlive:docproperties.documentid">1495820588377</property>
  <property name="kdenlive:docproperties.enableproxy">0</property>
  <property name="kdenlive:docproperties.generateimageproxy">0</property>
  <property name="kdenlive:docproperties.generateproxy">0</property>
  <property name="kdenlive:docproperties.kdenliveversion">16.12.3</property>
  <property name="kdenlive:docproperties.position">57</property>
  <property name="kdenlive:docproperties.previewchunks"/>
  <property name="kdenlive:docproperties.previewextension"/>
  <property name="kdenlive:docproperties.previewparameters"/>
  <property name="kdenlive:docproperties.profile">atsc_1080p_2997</property>
  <property name="kdenlive:docproperties.proxyextension">mpg</property>
  <property name="kdenlive:docproperties.proxyimageminsize">2000</property>
  <property name="kdenlive:docproperties.proxyminsize">1000</property>
  <property name="kdenlive:docproperties.proxyparams">-s 640x480 -g 5 -qscale 6 -ab 128k -vcodec mpeg2video -acodec mp2</property>
  <property name="kdenlive:docproperties.version">0.95</property>
  <property name="kdenlive:docproperties.verticalzoom">1</property>
  <property name="kdenlive:docproperties.videotargettrack">3</property>
  <property name="kdenlive:docproperties.zonein">0</property>
  <property name="kdenlive:docproperties.zoneout">100</property>
  <property name="kdenlive:docproperties.zoom">4</property>
  <property name="kdenlive:documentnotes"/>
  <property name="kdenlive:clipgroups"/>
  <property name="xml_retain">1</property>
  <entry out="149" producer="4" in="0"/>
  <entry out="149" producer="5" in="0"/>
  <entry out="149" producer="6" in="0"/>
 </playlist>
 <producer id="black" out="500" in="0">
  <property name="length">15000</property>
  <property name="eof">pause</property>
  <property name="resource">black</property>
  <property name="aspect_ratio">0</property>
  <property name="mlt_service">colour</property>
  <property name="set.test_audio">0</property>
 </producer>
 <playlist id="black_track">
  <entry out="150" producer="black" in="0"/>
 </playlist>
 <playlist id="playlist1">
  <property name="kdenlive:track_name">Audio 2</property>
  <property name="kdenlive:audio_track">1</property>
 </playlist>
 <playlist id="playlist2">
  <property name="kdenlive:track_name">Audio 1</property>
  <property name="kdenlive:audio_track">1</property>
 </playlist>
 <playlist id="playlist3">
  <property name="kdenlive:track_name">Video 1</property>
  <entry out="149" producer="5" in="0"/>
 </playlist>
 <playlist id="playlist4">
  <property name="kdenlive:track_name">Video 2</property>
  <entry out="149" producer="6" in="0"/>
 </playlist>
 <playlist id="playlist5">
  <property name="kdenlive:track_name">Video 3</property>
  <entry out="149" producer="4" in="0"/>
 </playlist>
 <tractor id="maintractor" title="Anonymous Submission" global_feed="1" out="150" in="0">
  <track producer="black_track"/>
  <track producer="playlist1" hide="video"/>
  <track producer="playlist2" hide="video"/>
  <track producer="playlist3"/>
  <track producer="playlist4"/>
  <track producer="playlist5"/>
  <transition id="transition0">
   <property name="a_track">0</property>
   <property name="b_track">1</property>
   <property name="mlt_service">mix</property>
   <property name="always_active">1</property>
   <property name="combine">1</property>
   <property name="internal_added">237</property>
  </transition>
  <transition id="transition1">
   <property name="a_track">0</property>
   <property name="b_track">2</property>
   <property name="mlt_service">mix</property>
   <property name="always_active">1</property>
   <property name="combine">1</property>
   <property name="internal_added">237</property>
  </transition>
  <transition id="transition2">
   <property name="a_track">0</property>
   <property name="b_track">3</property>
   <property name="mlt_service">mix</property>
   <property name="always_active">1</property>
   <property name="combine">1</property>
   <property name="internal_added">237</property>
  </transition>
  <transition id="transition3">
   <property name="a_track">0</property>
   <property name="b_track">4</property>
   <property name="mlt_service">mix</property>
   <property name="always_active">1</property>
   <property name="combine">1</property>
   <property name="internal_added">237</property>
  </transition>
  <transition id="transition4">
   <property name="a_track">0</property>
   <property name="b_track">5</property>
   <property name="mlt_service">mix</property>
   <property name="always_active">1</property>
   <property name="combine">1</property>
   <property name="internal_added">237</property>
  </transition>
  <transition id="transition5" out="149">
   <property name="a_track">4</property>
   <property name="b_track">5</property>
   <property name="version">0,2</property>
   <property name="mlt_service">frei0r.alphaxor</property>
   <property name="automatic">1</property>
   <property name="force_track">0</property>
  </transition>
  <transition id="transition6" out="149">
   <property name="a_track">3</property>
   <property name="b_track">4</property>
   <property name="version">0,9</property>
   <property name="mlt_service">frei0r.cairoblend</property>
   <property name="automatic">1</property>
   <property name="kdenlive_id">frei0r.cairoblend</property>
   <property name="force_track">0</property>
   <property name="0">0=1</property>
   <property name="1">normal</property>
  </transition>
  <transition id="transition7">
   <property name="a_track">0</property>
   <property name="b_track">3</property>
   <property name="compositing">0</property>
   <property name="distort">0</property>
   <property name="mlt_service">qtblend</property>
   <property name="internal_added">237</property>
  </transition>
  <transition id="transition8">
   <property name="a_track">0</property>
   <property name="b_track">4</property>
   <property name="compositing">0</property>
   <property name="distort">0</property>
   <property name="mlt_service">qtblend</property>
   <property name="internal_added">237</property>
  </transition>
  <transition id="transition9">
   <property name="a_track">0</property>
   <property name="b_track">5</property>
   <property name="compositing">0</property>
   <property name="distort">0</property>
   <property name="mlt_service">qtblend</property>
   <property name="internal_added">237</property>
  </transition>
 </tractor>
</mlt>

Using Kdenlive 17.07.70 in Kubuntu 17.04.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]