Bug 429798 - Kdenlive has trouble opening projects that contain image sequences
Summary: Kdenlive has trouble opening projects that contain image sequences
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 20.08.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-29 10:20 UTC by Paul Brown
Modified: 2020-12-04 11:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Kdenlive file with imagesequence (12.33 KB, application/x-kdenlive)
2020-12-03 21:45 UTC, Paul Brown
Details
Missing files dialogue (35.65 KB, image/png)
2020-12-03 21:46 UTC, Paul Brown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Brown 2020-11-29 10:20:12 UTC
SUMMARY

When opening projects that contain sequences of images, Kdenlive will complain that the sequences are missing and show the dialogue that lets you search for the sequences. Even when the dialogue is pointing to the correct directory, Kdenlive will be unable to find the sequence.

STEPS TO REPRODUCE

1. Open a project containing a sequence of images.

OBSERVED RESULT

Kdenlive will be unable to find the sequence and show a dialogue to help the user find it in their tree of directories.

EXPECTED RESULT

As long as the sequence has not been moved or deleted, Kdenlive should open the project without a problem.

SOFTWARE/OS VERSIONS

Operating System: Manjaro Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.9.11-2-MANJARO

ADDITIONAL INFORMATION

There is a workaround: ignore the offer to search for the sequence and click on "Use placeholders for missing clips". This will load the project correctly.
Comment 1 Jean-Baptiste Mardelle 2020-12-02 16:43:28 UTC
Thanks for your report. I am unable to reproduce. Could you attach the .kdenlive project file, or at least part of it (if you open it in a text editor), look for something like this, it is what I need to understand (a <producer> tag with the property "resource" pointing to your image sequence folder):
______________________________________________________________

<producer id="producer0" in="00:00:00.000" out="00:01:04.960">
  <property name="length">00:01:05.000</property>
  <property name="eof">pause</property>
  <property name="resource">/home/$USER/Pictures/.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="meta.media.width">1920</property>
  <property name="meta.media.height">419</property>
  <property name="mlt_service">qimage</property>
  <property name="kdenlive:clipname">Image Sequence</property>
  <property name="animation"/>
  <property name="luma_file"/>
  <property name="luma_duration">25</property>
  <property name="fade">0</property>
  <property name="crop">0</property>
  <property name="softness">0</property>
  <property name="loop">0</property>
  <property name="kdenlive:duration">00:01:05.000</property>
  <property name="kdenlive:folderid">-1</property>
  <property name="kdenlive:id">2</property>
  <property name="kdenlive:file_hash">c18a94ecfeef4666987215cf3d945a67</property>
  <property name="global_feed">1</property>
 </producer>
-----------------------------------------------------------------
Comment 2 Paul Brown 2020-12-02 17:47:25 UTC
(In reply to Jean-Baptiste Mardelle from comment #1)
> Thanks for your report. I am unable to reproduce. Could you attach the
> .kdenlive project file, or at least part of it (if you open it in a text
> editor), look for something like this, it is what I need to understand (a
> <producer> tag with the property "resource" pointing to your image sequence
> folder):
> ______________________________________________________________
> 
> <producer id="producer0" in="00:00:00.000" out="00:01:04.960">
>   <property name="length">00:01:05.000</property>
>   <property name="eof">pause</property>
>   <property name="resource">/home/$USER/Pictures/.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="meta.media.width">1920</property>
>   <property name="meta.media.height">419</property>
>   <property name="mlt_service">qimage</property>
>   <property name="kdenlive:clipname">Image Sequence</property>
>   <property name="animation"/>
>   <property name="luma_file"/>
>   <property name="luma_duration">25</property>
>   <property name="fade">0</property>
>   <property name="crop">0</property>
>   <property name="softness">0</property>
>   <property name="loop">0</property>
>   <property name="kdenlive:duration">00:01:05.000</property>
>   <property name="kdenlive:folderid">-1</property>
>   <property name="kdenlive:id">2</property>
>   <property
> name="kdenlive:file_hash">c18a94ecfeef4666987215cf3d945a67</property>
>   <property name="global_feed">1</property>
>  </producer>
> -----------------------------------------------------------------


Yes, of course. Here you go:

-----------------------------------------------------------------
 <producer id="producer0" in="00:00:00.000" out="00:00:03.960">
  <property name="length">00:00:04.000</property>
  <property name="eof">pause</property>
  <property name="resource">/home/paul/Documents/Servicios_Editoriales/LNMUS/LM/240/Resources/Extension/Meanwhile/frame%03d.png</property>
  <property name="ttl">1</property>
  <property name="aspect_ratio">1</property>
  <property name="progressive">1</property>
  <property name="seekable">1</property>
  <property name="meta.media.width">1280</property>
  <property name="meta.media.height">720</property>
  <property name="mlt_service">qimage</property>
  <property name="kdenlive:clipname">frame</property>
  <property name="luma_duration">25</property>
  <property name="fade">0</property>
  <property name="crop">0</property>
  <property name="loop">0</property>
  <property name="kdenlive:duration">00:00:04.000</property>
  <property name="kdenlive:folderid">-1</property>
  <property name="kdenlive:id">2</property>
  <property name="kdenlive:file_hash">9590ea1fe85621a4696883f206e381e4</property>
  <property name="global_feed">1</property>
 </producer>
 <producer id="producer1" in="00:00:00.000" out="00:00:03.960">
  <property name="length">00:00:04.000</property>
  <property name="eof">pause</property>
  <property name="resource">/home/paul/Documents/Servicios_Editoriales/LNMUS/LM/240/Resources/Extension/Box_A/frame%03d.png</property>
  <property name="ttl">1</property>
  <property name="aspect_ratio">1</property>
  <property name="progressive">1</property>
  <property name="seekable">1</property>
  <property name="meta.media.width">4838</property>
  <property name="meta.media.height">2721</property>
  <property name="mlt_service">qimage</property>
  <property name="kdenlive:clipname">frame</property>
  <property name="luma_duration">25</property>
  <property name="fade">0</property>
  <property name="crop">0</property>
  <property name="loop">0</property>
  <property name="kdenlive:duration">00:00:04.000</property>
  <property name="kdenlive:folderid">-1</property>
  <property name="kdenlive:id">3</property>
  <property name="kdenlive:file_hash">2421ec30c154d3d336691035e5f27218</property>
  <property name="global_feed">1</property>
  <property name="kdenlive:orig_service">qimage</property>
 </producer>
-----------------------------------------------------------------

(I have to image sequences).
Comment 3 Jean-Baptiste Mardelle 2020-12-03 21:13:25 UTC
Hmm, everything looks normal in that part of the xml. Could you mail me or attach the full project file and a screenshot of the dialog saying the sequence is missing ?
Comment 4 Paul Brown 2020-12-03 21:45:35 UTC
Created attachment 133853 [details]
Kdenlive file with imagesequence

File giving the error. I have reproduced this in other files too.
Comment 5 Paul Brown 2020-12-03 21:46:43 UTC
Created attachment 133854 [details]
Missing files dialogue
Comment 6 Paul Brown 2020-12-03 21:47:25 UTC
(In reply to Jean-Baptiste Mardelle from comment #3)
> Hmm, everything looks normal in that part of the xml. Could you mail me or
> attach the full project file and a screenshot of the dialog saying the
> sequence is missing ?

I have attached the two requested files to this report.

Thanks!
Comment 7 Jean-Baptiste Mardelle 2020-12-03 23:53:46 UTC
Git commit 516ae4236081dde44cd9063b7f4cb8a66987f168 by Jean-Baptiste Mardelle.
Committed on 03/12/2020 at 23:52.
Pushed by mardelle into branch 'release/20.12'.

Fix image sequences broken on project opening.

M  +1    -1    src/doc/documentchecker.cpp

https://invent.kde.org/multimedia/kdenlive/commit/516ae4236081dde44cd9063b7f4cb8a66987f168
Comment 8 Paul Brown 2020-12-04 11:07:44 UTC
(In reply to Jean-Baptiste Mardelle from comment #7)
> Git commit 516ae4236081dde44cd9063b7f4cb8a66987f168 by Jean-Baptiste
> Mardelle.
> Committed on 03/12/2020 at 23:52.
> Pushed by mardelle into branch 'release/20.12'.
> 
> Fix image sequences broken on project opening.
> 
> M  +1    -1    src/doc/documentchecker.cpp
> 
> https://invent.kde.org/multimedia/kdenlive/commit/
> 516ae4236081dde44cd9063b7f4cb8a66987f168

Thank you Jean-Baptiste!