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

Export cut to DavinciResolve

Tags: None
(comma "," separated)
chrpie
Registered Member
Posts
3
Karma
0

Export cut to DavinciResolve

Wed Mar 18, 2020 5:10 pm
Hi!
I'm searching any possibility to export my timeline to davici resolve. Is there any way to do that? Or no chance?

Davinci can import EDL e.g. How can I try to export EDL with kdenlive?

Thanks!
User avatar
bartoloni
Moderator
Posts
1510
Karma
4
OS

Re: Export cut to DavinciResolve

Wed Mar 18, 2020 6:41 pm
for now Kdenlive can export only .Kdenlive native file format project.
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: Export cut to DavinciResolve

Wed Mar 18, 2020 10:02 pm
Hehe, not true: I have written an OpenTimelineIO adapter, which means you can convert from+to any format supported by OTIO, FinalCut XML among them which is opened by Première and others (Resolve?).
To get it, try "sudo pip install opentimelineio"
Then "otioconvert project.kdenlive project.fcpxml" (in 20.04 release, if Kdenlive finds OTIO you can Import/Export projects from the File menu)
Note that OTIO has almost no support for effects & transitions (difficult mapping problem), so you can only transfer the cuts...
User avatar
bartoloni
Moderator
Posts
1510
Karma
4
OS

Re: Export cut to DavinciResolve

Thu Mar 19, 2020 8:09 am
Great! :) thank you for that Vincent!
chrpie
Registered Member
Posts
3
Karma
0

Re: Export cut to DavinciResolve

Thu Mar 19, 2020 5:50 pm
Thanks very much. If I try to convert it, otio outputs a project.fcpxml with no information:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fcpxml>

<fcpxml version="1.8">
<resources>
<format frameDuration="" id="r1" name=""/>
</resources>
<project name="Kdenlive imported timeline" uid="">
<sequence duration="0s" format="r1">
<spine/>
</sequence>
</project>
</fcpxml>

What am I doing wrong?
tochka
Registered Member
Posts
5
Karma
0

Re: Export cut to DavinciResolve

Thu Apr 16, 2020 12:00 pm
Hey I'm interested also, I desesperatly try to export timeline in .fcp, .fcpx, .fcpxml, I finally have a document fcpxml by OTIO but the mounting is not there to read, apparently the tracks are there but without cuts. My friend is using FinalCut and she had a error message, "the version DTD is not known", do you have please any explanations?
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: Export cut to DavinciResolve

Thu Apr 16, 2020 2:25 pm
Wow, an OTIO user!
This script hasn't been tested a lot.
If the problem is in the xml created by OTIO, there is nothing much we can do from kdenlive side...
If it is just a file header problem, maybe it could be copied from a valid file, but that is surprising.
tochka
Registered Member
Posts
5
Karma
0

Re: Export cut to DavinciResolve

Sat Apr 18, 2020 8:34 pm
Yeah thank you!!

I don't really know... but very happy to find a hope that maybe one day, I could share my timeline !!! :D
I will change with 20.04 version? "in 20.04 release, if Kdenlive finds OTIO you can Import/Export projects from the File menu"
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: Export cut to DavinciResolve

Sat Apr 18, 2020 9:25 pm
How did you convert then?
20.04 just offers the File/Import-Export menu items to call otioconvert in the background.
The converter hasn't evolved for 1 month, but maybe will evolve a bit, no plan at the moment...
tochka
Registered Member
Posts
5
Karma
0

Re: Export cut to DavinciResolve

Sun Apr 19, 2020 11:38 am
hum, it was a long way. With some free geeks who helped me.

We did different manip,
otioconvert -i ~/Bureau/Programme\ have\ fun\ today/montage\ animatrice.kdenlive -o ~/Bureau/Programme\ have\ fun\ today/project.fcpxml

also we copie with cd, we copy the file "have fun today" in "moani"
so ~/Bureau/Programme\ have\ fun\ today/montage\ animatrice.kdenlive" and "~/moani.kdenlive"

It seems that the tracks are there, but without cuts, maybe because some adapteurs in Python are missing. Maybe it is just missing the good "INPUT_ADAPTER".
Effectively, my friend using FinalCut couldn't open it... maybe I could show you my file?

When I go on my xml document, it is written:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fcpxml>

<fcpxml version="1.8">
<resources>
<format frameDuration="" id="r1" name=""/>
</resources>
<project name="Kdenlive imported timeline" uid="">
<sequence duration="0s" format="r1">
<spine/>
</sequence>
</project>
</fcpxml>

"Os" so there is nothing?

Sorry for my english and I am debutant with terminal etc..!

Last edited by tochka on Sun Apr 19, 2020 12:07 pm, edited 1 time in total.
tochka
Registered Member
Posts
5
Karma
0

Re: Export cut to DavinciResolve

Sun Apr 19, 2020 11:43 am
file:///tmp/mozilla_tochka0/Capture%20d%E2%80%99%C3%A9cran%20de%202020-04-10%2021-51-54.png

file:///tmp/mozilla_tochka0/Capture%20d%E2%80%99%C3%A9cran%20de%202020-04-10%2021-51-44.png

I suppose you can't access to my documents...

anyway, this my vidéo I totally realise with kdenlive :D hope you will enjoy!
[https://youtu.be/anmT1rU42bY]
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: Export cut to DavinciResolve

Sun Apr 19, 2020 12:08 pm
On peut passer sur le forum français si tu préfères :)
Ou plutôt https://t.me/kdenlivefr
tochka
Registered Member
Posts
5
Karma
0

Re: Export cut to DavinciResolve

Sun Apr 19, 2020 2:46 pm
Aha oui :D
mais il faut télégram, je l'ai installé...
mais c'est un site type Whattsapp? J'ai un pb de son sur mon ordi
kotlil
Registered Member
Posts
1
Karma
0

Re: Export cut to DavinciResolve

Sat Jun 13, 2020 6:14 am
Hello, thank you very much for this thread... i installed OTIO on 3 OS's, windows WSL, ubuntu, linux mint, still the same error in output...
Installed manually from git repo using setup.py, also with pip install, all the time same results

kotunpet@WL360905:~/openio/OpenTimelineIO$ otioconvert -i 11.kdenlive -o resolve11.fcpxml
Traceback (most recent call last):
File "/usr/local/bin/otioconvert", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/opentimelineio/console/otioconvert.py", line 232, in main
**read_adapter_arg_map
File "/usr/local/lib/python2.7/dist-packages/opentimelineio/adapters/__init__.py", line 144, in read_from_file
**adapter_argument_map
File "/usr/local/lib/python2.7/dist-packages/opentimelineio/adapters/adapter.py", line 133, in read_from_file
**adapter_argument_map
File "/usr/local/lib/python2.7/dist-packages/opentimelineio/plugins/python_plugin.py", line 174, in _execute_function
return (getattr(self.module(), func_name)(**kwargs))
File "/usr/local/lib/python2.7/dist-packages/opentimelineio_contrib/adapters/kdenlive.py", line 135, in read_from_string...
read_property(effect, 'level'), rate)}))
File "/usr/local/lib/python2.7/dist-packages/opentimelineio/core/_core_utils.py", line 70, in _value_to_any
d[k] = _value_to_any(v, ids)
File "/usr/local/lib/python2.7/dist-packages/opentimelineio/core/_core_utils.py", line 64, in _value_to_any
raise ValueError("key '{}' is not a string".format(k))
ValueError: key 'RationalTime(0, 50)' is not a string


i tried also different file....but source file was older kdenlive project (1 year old, not actualized) it has been done with this is output:

kotunpet@WL360905:~/openio/OpenTimelineIO$ cat resolve.fcpxml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fcpxml>

<fcpxml version="1.8">
<resources>
<format frameDuration="" id="r1" name=""/>
</resources>
<project name="Kdenlive imported timeline" uid="">
<sequence duration="0s" format="r1">
<spine/>
</sequence>
</project>
</fcpxml>
kotunpet@WL360905:~/openio/OpenTimelineIO$


it means that converter works somehow...but....what could be the problem....?
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: Export cut to DavinciResolve

Sat Jun 13, 2020 6:59 am
Hello,
Sorry I had a bug in an experimental support of keyframed volume/brightness effects. The fix is now merged in OTIO, but there have not been any OTIO release since then. So you must install from the git master, via : pip install https://github.com/PixarAnimationStudios/OpenTimelineIO
All this is still very experimental, thanks to report what you experience :)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar