Bug 422135 - mp4 file is misplaced when archived
Summary: mp4 file is misplaced when archived
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 20.04.1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-27 11:57 UTC by jin
Modified: 2020-06-05 07:55 UTC (History)
0 users

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


Attachments
as mentioned in the description. (28.42 KB, application/zip)
2020-05-27 11:57 UTC, jin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jin 2020-05-27 11:57:49 UTC
Created attachment 128837 [details]
as mentioned in the description.

SUMMARY

Archiving my project seems to misplace a mp4 file into Photos, not in videos, according to the kdenlive file. And the file name is 'out.mp4'

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18, AppImage

ADDITIONAL INFORMATION
I am attaching the problematic kdenlive files: the original one and the 
 problematic archived one.
Comment 1 jin 2020-05-27 12:09:51 UTC
Opening the archived kdenlive project complains about the missing out.mp4 file which is in 'videos' folder. To avoid this error with the easiest measure on my end is to make a folder 'Photos' and copy this 'videos/out.mp4' to 'Photos/out.mp4', just so you know
Comment 2 Jean-Baptiste Mardelle 2020-05-28 07:44:32 UTC
Thanks a lot for your report and attached project files. In fact the source of this problem is in the original project file, not in the archive feature.

In fact your clip "out.mp4" is used in several places in the project, and at one place, it has a speed effect applied. For some reason, the clip with the speed effect uses "Photos/out.mp4" instead of "videos/out.mp4" which should not happen. You probably have a copy of this "out.mp4" clip both in "videos" and "Photos" folders in your original folders.

I see that the original project was created in Kdenlive 19.12.3, maybe there was a bug here. Anyways, I think I will add a check on project opening to ensure that clips with speed effect cannot point to another source clip.

Will get back at you once done!
Comment 3 Jean-Baptiste Mardelle 2020-05-28 16:22:15 UTC
Git commit 6dca5a8836ac9be73af0ee67a7b5e4f1ab1e19d2 by Jean-Baptiste Mardelle.
Committed on 28/05/2020 at 16:22.
Pushed by mardelle into branch 'master'.

Archive project: fix clip with speed effect url not updated, resulting in missing clip message.

M  +11   -1    src/project/dialogs/archivewidget.cpp

https://invent.kde.org/multimedia/kdenlive/commit/6dca5a8836ac9be73af0ee67a7b5e4f1ab1e19d2
Comment 4 Jean-Baptiste Mardelle 2020-06-05 07:55:05 UTC
Git commit 63175b60f97f73ce827b234effaa53ce731a4c8e by Jean-Baptiste Mardelle.
Committed on 05/06/2020 at 06:06.
Pushed by mardelle into branch 'release/20.04'.

Archive project: fix clip with speed effect url not updated, resulting in missing clip message.

M  +11   -1    src/project/dialogs/archivewidget.cpp

https://invent.kde.org/multimedia/kdenlive/commit/63175b60f97f73ce827b234effaa53ce731a4c8e