Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error While Exporting to FCPX XML #90

Open
kedar264 opened this issue Feb 23, 2022 · 1 comment
Open

Error While Exporting to FCPX XML #90

kedar264 opened this issue Feb 23, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@kedar264
Copy link

kedar264 commented Feb 23, 2022

While exporting to FCPX XML i managed to get the file but ,upon opening i got this error "The XML document could not be imported.DTD validation failed. (The data couldn’t be read because it isn’t in the correct format.)"

Screenshot 2022-02-24 at 12 03 04 AM

Looks like there's some issue with the FCPXML File, Here's the file content

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE fcpxml><fcpxml version="1.9"><resources><format id="r0" frameDuration="1/60s"/><asset id="r1" duration="366/5s" hasVideo="1" hasAudio="1"><media-rep kind="original-media" src="2022-02-16 14-48-07.mov"/></asset></resources><library><event name="Timeline 1"><project name="Timeline 1"><sequence format="r0"><spine><asset-clip ref="r1" start="11/10s" duration="619/30s" offset="3600/1s"/><asset-clip ref="r1" start="2029/60s" duration="269/30s" offset="108619/30s"/><asset-clip ref="r1" start="2639/60s" duration="299/60s" offset="18148/5s"/><asset-clip ref="r1" start="51/1s" duration="41/15s" offset="43615/12s"/><asset-clip ref="r1" start="3373/60s" duration="589/60s" offset="218239/60s"/></spine></sequence></project></event></library></fcpxml>

i attached Example of correct file which works with final-cut

combined copy.fcpxml.zip

i hope you can fix it soon

@kedar264 kedar264 added the bug Something isn't working label Feb 23, 2022
@pietrop
Copy link
Owner

pietrop commented Sep 1, 2023

The issue is likely with https://github.com/pietrop/fcpx-xml-composer

Probl generating an invalid output. It might be good to try and reproduce by exporting the paper edit as a json, if I remember correctly, that could then be used in isolation with the fcpx xml compose module to determine what might be breaking.

It could also be that fpcx might have changed their specs in subsequent versions since the module was made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants