대학을 통해 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에게 문제가 있는 파일을 무시하고 최선을 다해 프로젝트를 가져오도록 지시하려면 어떻게 해야 합니까?
고쳐 쓰다
바라보다https://stackoverflow.com/questions/76725224/attributeerror-nonetype-object-has-no-attribute-find-when-converting-with해결책을 찾으세요.