![更新](https://linux22.com/image/221065/%E6%9B%B4%E6%96%B0.png)
当我通过大学访问 Final Cut Pro 时,我在 Final Cut Pro 中创建了视频项目,现在我想将它们迁移到 Ubuntu 上的 Kdenlive。我安装了 Kdenlive 22(版本 23 总是会崩溃),在系统范围内安装 OpenTimelineIO,将 Final Cut Pro 中的项目导出为 XML,并将src
源文件上的更改为:
src="file:///Volumes/some_drive/Final%20Cut%20Pro/some_project/Original%20Media/some%20take.mp4"
到
src="/media/some_drive/Final Cut Pro/some_project/Original Media/some take.mp4"
我收到一个出现此错误的窗口:
Traceback (most recent call last):
File "/usr/local/bin/otioconvert", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio/console/otioconvert.py", line 243, in main
result_tl = otio.adapters.read_from_file(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio/adapters/__init__.py", line 137, in read_from_file
return adapter.read_from_file(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio/adapters/adapter.py", line 119, in read_from_file
result = self._execute_function(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio/plugins/python_plugin.py", line 153, in _execute_function
return (getattr(self.module(), func_name)(**kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio_contrib/adapters/fcpx_xml.py", line 1147, in read_from_string
return FcpxXml(input_str).to_otio()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio_contrib/adapters/fcpx_xml.py", line 774, in to_otio
return self._from_library()
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio_contrib/adapters/fcpx_xml.py", line 785, in _from_library
return self._from_event(self.fcpx_xml.find("./library/event"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio_contrib/adapters/fcpx_xml.py", line 792, in _from_event
container.append(self._from_project(project))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio_contrib/adapters/fcpx_xml.py", line 797, in _from_project
timeline.tracks = self._squence_to_stack(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio_contrib/adapters/fcpx_xml.py", line 835, in _squence_to_stack
offset, lane = self._offset_and_lane(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio_contrib/adapters/fcpx_xml.py", line 951, in _offset_and_lane
parent_format_id = self._format_id_for_clip(parent, default_format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/opentimelineio_contrib/adapters/fcpx_xml.py", line 1000, in _format_id_for_clip
).find("sequence")
^^^^
AttributeError: 'NoneType' object has no attribute 'find'
OpenTimelineIO 适配器似乎无法找到 Final Cut Pro 库事件,那么我是否需要从 Final Cut Pro 导出更多内容?如何找到引发此问题的曲目或媒体项目?或者我如何告诉 Kdenlive 忽略有问题的文件并尽力导入项目?