[kdenlive] kdenlive 16.04 project file xml issue

Karl Kiniger karl.kiniger at med.ge.com
Tue Apr 12 14:02:17 UTC 2016


Dear kdenlive developers,

current git master and 16.04 branch are using xml namespace kdenlive
without proper declaration and perhaps unintentional. Hopefully the
situation can be rectified before next release.

I discovered this while playing around with a python script using lxml to
rename all video files after conversion from mpegts to mov because seeking
in mpegts from Panasonic camera caused frozen images up to 0.7 seconds in
the final movie.

-------

Create a new project (1080p50 in my case) and put some color on
a video track and save the project.

head -15 color1.kdenlive outputs:

<?xml version='1.0' encoding='utf-8'?>
<mlt title="Anonymous Submission" version="6.1.0" root="/u/opt/kdenlive-16.04/kdenlive/20160412" producer="main bin" LC_NUMERIC="en_US.UTF-8">
 <profile width="1920" frame_rate_den="1" height="1080" display_aspect_num="16" display_aspect_den="9" frame_rate_num="50" colorspace="709" sample_aspect_den="1" description="HD 1080p 50 fps" progressive="1" sample_aspect_num="1"/>
 <producer id="1" out="249" in="0">
  <property name="length">00:00:05:00</property>
  <property name="eof">pause</property>
  <property name="resource">0xff8000ff</property>
  <property name="aspect_ratio">1</property>
  <property name="mlt_service">color</property>
  <property name="kdenlive:clipname">Color Clip</property>
  <property name="kdenlive:file_hash">13e1c0b0876a622164d511aa95adea94</property>
 </producer>
 <playlist id="main bin" kdenlive:customeffects="<customeffects/>&#xa;">  <========= namespace  prefix used
  <property name="kdenlive:docproperties.documentid">1460414500091</property>
  <property name="kdenlive:docproperties.enableproxy">0</property>

------

This line is  using "kdenlive" as a namespace prefix (in contrast to
e.g. name="kdenlive:docproperties.documentid" just below which is just a
string) and I had to manually add some xmlns construct to be able to
process the file in python.

 <playlist id="main bin" kdenlive:customeffects="<customeffects/>&#xa;">

Perhaps this is just an accident and we could live without xml namespaces
---

Best wishes for the next release and many thanks for working on this fine
software - however we (my wife and I) have produced our Iran travel video
with kdenlive-0.9.10 because upgrading project data to 16.04 had too  many issues with
especially audio  and stability in general

I will try to generate a test case for one kind of audio problem which was most
annoying.

Greetings,
Karl

PS: kdenlive-0.9.10 also was not too terrific stable so I set up
git to frequently snapshot the project file(s) and we did not lose
any work thanks to git....


More information about the kdenlive mailing list