Bug 504708 - Can't open clip when importing from savec OTIO timeline
Summary: Can't open clip when importing from savec OTIO timeline
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Project Bin & Import (other bugs)
Version First Reported In: 25.04.0
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-23 17:45 UTC by carkin
Modified: 2025-05-25 06:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 25.04.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carkin 2025-05-23 17:45:56 UTC
I created a very short edit in Kdenlive: a single clip (e.g. "clip0.mp4") and a couple of cuts, just to try the OTIO export. I exported the timeline as T1.otio, closed kdenlive, reopened it, imported "T1.otio" but got a message "Cannot open file /Users/mypc/Desktop/Transfert test/clip0.mp4"

System is Windows 11 home, 64 bits
Ryzen 5, 4600
GPU NVIDIA GTX 1650
Kdenlive 25.04.0 (and tested with 25.04.1)

Clip is from my phone : 30 fps (variable framerate), h264, 1920x1080
Tried with a transcoded version with constant framerate (with Handbrake or kdenlive own transcoding)
Comment 1 carkin 2025-05-24 19:22:16 UTC
(In reply to carkin from comment #0)
> I created a very short edit in Kdenlive: a single clip (e.g. "clip0.mp4")
> and a couple of cuts, just to try the OTIO export. I exported the timeline
> as T1.otio, closed kdenlive, reopened it, imported "T1.otio" but got a
> message "Cannot open file /Users/mypc/Desktop/Transfert test/clip0.mp4"
> 
> System is Windows 11 home, 64 bits
> Ryzen 5, 4600
> GPU NVIDIA GTX 1650
> Kdenlive 25.04.0 (and tested with 25.04.1)
> 
> Clip is from my phone : 30 fps (variable framerate), h264, 1920x1080
> Tried with a transcoded version with constant framerate (with Handbrake or
> kdenlive own transcoding)

Solved (sort of...). As I just poste don the forum, I discovered I didn't have that problem when thrying the same thing on my laptop. The difference I finally found bewteen the two is, on my laptop, both the kdelinve standalone files and the test files (mp4 and otio) were on C:, the only drive I have on the laptop. Whereas on the desktop, the test files were on C: but the kdenlive standalone files on D:
When I copied the kdenlive folder onto C: and triend again from there, it worked.

I still believe even though it was on D:, kdenlive should have found the file whose complete path was specified in the .otio file (target url : C:\users\blahblah\clip.mp4" or something like that).

Anyway, thank you very much for your time and work!
Comment 2 Jean-Baptiste Mardelle 2025-05-25 06:37:10 UTC
Git commit c16f7051caea228ba6266d3b50ed26a98aa8dffb by Jean-Baptiste Mardelle.
Committed on 25/05/2025 at 06:09.
Pushed by mardelle into branch 'release/25.04'.

Fix OTIO path issue on import, related to #1998
FIXED-IN: 25.04.2

M  +2    -2    src/otio/otioimport.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/c16f7051caea228ba6266d3b50ed26a98aa8dffb