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

Images in Slideshow Clip suddenly aligned to the left

Tags: None
(comma "," separated)
mpollmeier
Registered Member
Posts
3
Karma
0
Is it possible that the behaviour of portrait images in Slideshow Clips changed? They used to be centered (which makes sense IMO), however since I recently updated to the latest version, both portrait and landscape images are always aligned to the left and leave a black bar on the right.

Was that an intended change? Is there any way I can get the old behaviour back?

Many thanks
Michael

Last edited by mpollmeier on Fri Oct 21, 2016 12:39 pm, edited 1 time in total.
mpollmeier
Registered Member
Posts
3
Karma
0
If I open an old project file and render the video, everything is fine, like it used to be: images are centered.
When I add the same directory as a Slideshow Clip to a new project and then diff the relevant `producer` element it does show some changes. Showing old as '<' and new as '>':

< <property name="length">00:00:30:00</property>
---
> <property name="length">900</property>

< <property name="meta.media.width">4000</property>
< <property name="meta.media.height">2992</property>
---
> <property name="meta.media.width">3024</property>
> <property name="meta.media.height">4032</property>

> <property name="kdenlive:folderid">-1</property>
> <property name="kdenlive:duration">900</property>

When I copy those values over to my new project file it does not render images centered though... I tried to spot other differences in the project, but I didn't find the element causing this.
vpinon
KDE Developer
Posts
708
Karma
6
OS
Hello,

I guess MLT version is also different in both cases?
MLT is responsible for the actual rendering behind Kdenlive GUI, so the different behavior is to track here.
If you play the new project with the old MLT ("/path/to/old/melt project.kdenlive") and vis-versa, I guess the behaviors are reversed?

Slideshows are qimage producers, which code had only a slight change this year. Maybe Qt Image handling has changed?
Maybe compile options? What are the diff between both "melt -query" outputs?
mpollmeier
Registered Member
Posts
3
Karma
0
Not sure which one was the last version that worked, would have to try out by downgrading my packages. That was only a guess.
I still think the problem is how kdenlive constructs the project file. With the latest version of kdenlive/mlt I can still render the old file and get the same (good) result, i.e. centered images.

I have just simplified my old and new project so that both only contain the one slideshow but can't spot the problem. Randomly copying over attributes from the old to the new one didn't help. This is the project that was created with the old version of kdenlive that still works fine even when rendered with a new version:

Code: Select all
<?xml version='1.0' encoding='utf-8'?>
<mlt title="Anonymous Submission" version="6.2.0" root="/home/mp" producer="main bin" LC_NUMERIC="en_NZ.utf8">
 <profile width="1920" frame_rate_den="1" height="1080" display_aspect_num="16" display_aspect_den="9" frame_rate_num="30" colorspace="709" sample_aspect_den="1" description="HD 1080i 30 fps" progressive="0" sample_aspect_num="1"/>
 <producer id="21" title="Anonymous Submission" out="899" in="0">
  <property name="length">00:00:30:00</property>
  <property name="eof">pause</property>
  <property name="resource">Karlotta/Compilations/7/img/1/.all.jpg</property>
  <property name="ttl">150</property>
  <property name="aspect_ratio">1</property>
  <property name="progressive">1</property>
  <property name="seekable">1</property>
  <property name="loop">0</property>
  <property name="meta.media.width">2992</property>
  <property name="meta.media.height">4000</property>
  <property name="mlt_service">pixbuf</property>
  <property name="animation">Pan and zoom, low-pass</property>
  <property name="crop">0</property>
  <property name="fade">1</property>
  <property name="kdenlive:clipname">Slideshow Clip</property>
  <property name="luma_duration">00:00:01:00</property>
  <property name="luma_file"/>
  <property name="softness">0</property>
  <property name="kdenlive:file_hash">5eb11953245bd28ba311d5d70bc212a8</property>
  <property name="global_feed">1</property>
  <property name="kdenlive:zone_in">0</property>
  <property name="kdenlive:zone_out">900</property>
  <filter id="filter6">
   <property name="start">2</property>
   <property name="hori">1</property>
   <property name="vert">1</property>
   <property name="mlt_service">boxblur</property>
  </filter>
  <filter id="filter7">
   <property name="background">colour:0</property>
   <property name="mlt_service">affine</property>
   <property name="transition.geometry">0=0/0:100%x100%;149=-14%/-14%:120%x120%;150=-5%/-5%:110%x110%;299=0/0:110%x110%;300=0/-5%:110%x110%;449=-5%/0:110%x110%</property>
   <property name="transition.cycle">450</property>
  </filter>
  <filter id="filter8">
   <property name="mlt_service">luma</property>
   <property name="cycle">150</property>
   <property name="duration">0</property>
  </filter>
 </producer>
 <playlist id="main bin">
  <property name="kdenlive:docproperties.documentid">1470821051857</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.08.1</property>
  <property name="kdenlive:docproperties.position">900</property>
  <property name="kdenlive:docproperties.profile">atsc_1080i_60</property>
  <property name="kdenlive:docproperties.projectfolder">Karlotta/Compilations/7</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.zonein">0</property>
  <property name="kdenlive:docproperties.zoneout">100</property>
  <property name="kdenlive:docproperties.zoom">7</property>
  <property name="kdenlive:documentnotes"/>
  <property name="kdenlive:docproperties.renderaudioquality">160</property>
  <property name="kdenlive:docproperties.rendercategory">Ultra-High Definition (4K)</property>
  <property name="kdenlive:docproperties.renderendguide">-1</property>
  <property name="kdenlive:docproperties.renderexportaudio">0</property>
  <property name="kdenlive:docproperties.renderguide">0</property>
  <property name="kdenlive:docproperties.renderplay">0</property>
  <property name="kdenlive:docproperties.renderprofile">MP4-H265 (HEVC)</property>
  <property name="kdenlive:docproperties.renderquality">20</property>
  <property name="kdenlive:docproperties.renderratio">1</property>
  <property name="kdenlive:docproperties.renderrescale">0</property>
  <property name="kdenlive:docproperties.renderrescaleheight">450</property>
  <property name="kdenlive:docproperties.renderrescalewidth">800</property>
  <property name="kdenlive:docproperties.renderscanning">0</property>
  <property name="kdenlive:docproperties.renderspeed">2</property>
  <property name="kdenlive:docproperties.renderstartguide">-1</property>
  <property name="kdenlive:docproperties.rendertcoverlay">0</property>
  <property name="kdenlive:docproperties.rendertctype">0</property>
  <property name="kdenlive:docproperties.rendertwopass">0</property>
  <property name="kdenlive:docproperties.renderurl">7.mp4</property>
  <property name="kdenlive:docproperties.renderzone">0</property>
  <property name="kdenlive:docproperties.audiotargettrack">-1</property>
  <property name="kdenlive:docproperties.dirtypreviewchunks"/>
  <property name="kdenlive:docproperties.disablepreview">0</property>
  <property name="kdenlive:docproperties.previewchunks"/>
  <property name="kdenlive:docproperties.previewextension"/>
  <property name="kdenlive:docproperties.previewparameters"/>
  <property name="kdenlive:docproperties.videotargettrack">-1</property>
  <property name="xml_retain">1</property>
  <entry out="899" producer="21" 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="900" 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="899" producer="21" in="0"/>
 </playlist>
 <playlist id="playlist4">
  <property name="kdenlive:track_name">Video 2</property>
 </playlist>
 <tractor id="maintractor" title="Anonymous Submission" global_feed="1" out="900" in="0">
  <track producer="black_track"/>
  <track producer="playlist1" hide="video"/>
  <track producer="playlist2" hide="video"/>
  <track producer="playlist3"/>
  <track producer="playlist4"/>
  <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="transition8" out="3656" in="3613">
   <property name="a_track">3</property>
   <property name="b_track">4</property>
   <property name="factory">loader</property>
   <property name="mlt_service">luma</property>
   <property name="automatic">1</property>
   <property name="kdenlive_id">dissolve</property>
   <property name="force_track">0</property>
   <property name="reverse">0</property>
  </transition>
  <transition id="transition9" out="4123" in="4077">
   <property name="a_track">3</property>
   <property name="b_track">4</property>
   <property name="factory">loader</property>
   <property name="mlt_service">luma</property>
   <property name="automatic">1</property>
   <property name="kdenlive_id">dissolve</property>
   <property name="force_track">0</property>
   <property name="reverse">1</property>
  </transition>
  <transition id="transition10" out="4924" in="4876">
   <property name="a_track">3</property>
   <property name="b_track">4</property>
   <property name="factory">loader</property>
   <property name="mlt_service">luma</property>
   <property name="automatic">1</property>
   <property name="kdenlive_id">dissolve</property>
   <property name="force_track">0</property>
   <property name="reverse">0</property>
  </transition>
  <transition id="transition11" out="5659" in="5613">
   <property name="a_track">3</property>
   <property name="b_track">4</property>
   <property name="factory">loader</property>
   <property name="mlt_service">luma</property>
   <property name="automatic">1</property>
   <property name="kdenlive_id">dissolve</property>
   <property name="force_track">0</property>
   <property name="reverse">1</property>
  </transition>
  <transition id="transition12" out="6284" in="6235">
   <property name="a_track">3</property>
   <property name="b_track">4</property>
   <property name="factory">loader</property>
   <property name="mlt_service">luma</property>
   <property name="automatic">1</property>
   <property name="kdenlive_id">dissolve</property>
   <property name="force_track">0</property>
   <property name="reverse">0</property>
  </transition>
  <transition id="transition14" out="7954" in="7903">
   <property name="a_track">3</property>
   <property name="b_track">4</property>
   <property name="factory">loader</property>
   <property name="mlt_service">luma</property>
   <property name="automatic">1</property>
   <property name="kdenlive_id">dissolve</property>
   <property name="force_track">0</property>
   <property name="reverse">0</property>
  </transition>
  <transition id="transition15" out="8509" in="8463">
   <property name="a_track">3</property>
   <property name="b_track">4</property>
   <property name="factory">loader</property>
   <property name="mlt_service">luma</property>
   <property name="automatic">1</property>
   <property name="kdenlive_id">dissolve</property>
   <property name="force_track">0</property>
   <property name="reverse">1</property>
  </transition>
  <transition id="transition17" out="8981" in="8945">
   <property name="a_track">3</property>
   <property name="b_track">4</property>
   <property name="factory">loader</property>
   <property name="mlt_service">luma</property>
   <property name="automatic">1</property>
   <property name="kdenlive_id">dissolve</property>
   <property name="force_track">0</property>
   <property name="reverse">0</property>
  </transition>
 </tractor>
</mlt>


And here's the project that was created with the latest version of kdenlive which has it's images left-aligned in the slideshow:
Code: Select all
<?xml version='1.0' encoding='utf-8'?>
<mlt title="Anonymous Submission" version="6.2.0" root="/home/mp" producer="main bin" LC_NUMERIC="en_NZ.utf8">
 <profile width="1920" frame_rate_den="1" height="1080" display_aspect_num="16" display_aspect_den="9" frame_rate_num="25" colorspace="709" sample_aspect_den="1" description="HD 1080p 25 fps" progressive="1" sample_aspect_num="1"/>
 <producer id="1" title="Anonymous Submission" out="249" in="0">
  <property name="length">250</property>
  <property name="eof">pause</property>
  <property name="resource">Events/2016/Heinzilation/test/.all.jpg</property>
  <property name="ttl">125</property>
  <property name="aspect_ratio">1</property>
  <property name="progressive">1</property>
  <property name="seekable">1</property>
  <property name="loop">0</property>
  <property name="meta.media.width">2992</property>
  <property name="meta.media.height">4000</property>
  <property name="mlt_service">pixbuf</property>
  <property name="animation">Pan and zoom, low-pass</property>
  <property name="crop">0</property>
  <property name="fade">1</property>
  <property name="kdenlive:clipname">Slideshow Clip</property>
  <property name="kdenlive:folderid">-1</property>
  <property name="luma_duration">00:00:01:00</property>
  <property name="luma_file"/>
  <property name="softness">0</property>
  <property name="kdenlive:duration">250</property>
  <property name="kdenlive:file_hash">08052edbb897750b7474684409421cdc</property>
  <property name="global_feed">1</property>
  <filter id="filter0">
   <property name="start">2</property>
   <property name="hori">1</property>
   <property name="vert">1</property>
   <property name="mlt_service">boxblur</property>
  </filter>
  <filter id="filter1">
   <property name="background">colour:0</property>
   <property name="mlt_service">affine</property>
   <property name="transition.geometry">0=0/0:100%x100%;124=-14%/-14%:120%x120%;125=-5%/-5%:110%x110%;249=0/0:110%x110%;250=0/-5%:110%x110%;374=-5%/0:110%x110%</property>
   <property name="transition.cycle">375</property>
  </filter>
  <filter id="filter2">
   <property name="mlt_service">luma</property>
   <property name="cycle">125</property>
   <property name="duration">0</property>
  </filter>
 </producer>
 <playlist id="main bin">
  <property name="kdenlive:docproperties.audiotargettrack">2</property>
  <property name="kdenlive:docproperties.dirtypreviewchunks"/>
  <property name="kdenlive:docproperties.disablepreview">0</property>
  <property name="kdenlive:docproperties.documentid">1477095180347</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.08.1</property>
  <property name="kdenlive:docproperties.position">198</property>
  <property name="kdenlive:docproperties.previewchunks"/>
  <property name="kdenlive:docproperties.previewextension"/>
  <property name="kdenlive:docproperties.previewparameters"/>
  <property name="kdenlive:docproperties.profile">atsc_1080p_25</property>
  <property name="kdenlive:docproperties.projectfolder">Events/2016/Heinzilation</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">7</property>
  <property name="kdenlive:documentnotes"/>
  <property name="xml_retain">1</property>
  <entry out="249" producer="1" 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="250" 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>
 </playlist>
 <playlist id="playlist4">
  <property name="kdenlive:track_name">Video 2</property>
  <entry out="249" producer="1" in="0"/>
 </playlist>
 <tractor id="maintractor" title="Anonymous Submission" global_feed="1" out="250" in="0">
  <track producer="black_track"/>
  <track producer="playlist1" hide="video"/>
  <track producer="playlist2" hide="video"/>
  <track producer="playlist3"/>
  <track producer="playlist4"/>
  <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">3</property>
   <property name="start">0/0:100%x100%</property>
   <property name="factory">loader</property>
   <property name="aligned">1</property>
   <property name="progressive">1</property>
   <property name="mlt_service">composite</property>
   <property name="internal_added">237</property>
  </transition>
  <transition id="transition4">
   <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="transition5">
   <property name="a_track">0</property>
   <property name="b_track">4</property>
   <property name="start">0/0:100%x100%</property>
   <property name="factory">loader</property>
   <property name="aligned">1</property>
   <property name="progressive">1</property>
   <property name="mlt_service">composite</property>
   <property name="internal_added">237</property>
  </transition>
 </tractor>
</mlt>


Bookmarks



Who is online

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