Skip to content

Final Cut Pro mishandles format of PDF files in FCPXML #523

Description

@latenitefilms

Apple Feedback Assistant ID: FB22046427

DESCRIBE THE BUG:
Final Cut Pro v12.0.0 can incorrectly output invalid FCPXML, that does not pass its own Document Type Definition (DTD), when working with PDF files.

This has been reported by a user of ScriptStar:

latenitefilms/ScriptStar#7

We are also tracking it in our own FCPXMLKit bug tracker:

https://github.com/CommandPost/FCPXMLKit/issues/67

I have sent the following information to Apple via FB22046427 and have chased up the Final Cut Pro team directly:

One of our customers has sent us a FCPXML exported from a Final Cut Pro v12 library, which has a very unexpected output.

This FCPXML doesn’t seem to be able to be reimported into Final Cut Pro.

When attempting to import we get:

The XML document sent from application “Final Cut Pro” could not be imported.

The media file cannot be imported. An offline clip was not created because of insufficient data. (frameDuration=<empty>: /fcpxml[1]/resources[1]/format[16])

No such file or directory

There’s a few weird things in it, for example - looking at the formats:

<format id="r2" name="FFVideoFormat3840x2160p30" frameDuration="100/3000s" width="3840" height="2160" colorSpace="1-1-1 (Rec. 709)"/>
<format id="r4" name="FFVideoFormat1080p2997" frameDuration="1001/30000s" width="1920" height="1080" colorSpace="1-1-1 (Rec. 709)"/>
<format id="r6" name="FFVideoFormat1080p30" frameDuration="1/30s" width="1920" height="1080" colorSpace="1-1-1 (Rec. 709)"/>
<format id="r8" name="FFVideoFormat4096x2160p30" frameDuration="1/30s" width="4096" height="2160" colorSpace="6-1-6 (Rec. 601 (NTSC))"/>
<format id="r9" name="FFVideoFormat720p30" frameDuration="100/3000s" width="1280" height="720" colorSpace="1-1-1 (Rec. 709)"/>
<format id="r11" name="FFVideoFormat3840x2160p30" frameDuration="20/600s" width="3840" height="2160" colorSpace="1-1-6"/>
<format id="r13" name="FFVideoFormat3840x2160p24" frameDuration="100/2400s" width="3840" height="2160" colorSpace="1-1-1 (Rec. 709)"/>
<format id="r16" name="FFVideoFormat5120x2700p24" frameDuration="100/2400s" width="5120" height="2700" colorSpace="1-1-1 (Rec. 709)"/>
<format id="r46" name="FFVideoFormat4096x2160p2398" frameDuration="1001/24000s" width="4096" height="2160" colorSpace="1-1-1 (Rec. 709)"/>
<format id="r98" frameDuration="1001/60000s" width="2704" height="1520" colorSpace="1-1-1 (Rec. 709)"/>
<format id="r114" name="FFVideoFormat3840x2160p2398" frameDuration="1001/24000s" width="3840" height="2160" colorSpace="1-1-1 (Rec. 709)"/>
<format id="r152" frameDuration="1001/60000s" width="1520" height="2704" colorSpace="1-1-1 (Rec. 709)"/>
<format id="r169" name="FFVideoFormatRateUndefined"/>
<format id="r187" frameDuration="1s" width="960" height="540" colorSpace="1-13-1"/>
<format id="r196" name="FFVideoFormatRateUndefined" width="2401" height="3600"/>
<format id="r200" name="FFVideoFormatRateUndefined" width="595.276" height="841.89" colorSpace="1-13-1"/>
<format id="r205" frameDuration="1s" width="612" height="792" colorSpace="1-13-1"/>
<format id="r214" name="FFVideoFormatRateUndefined" width="800" height="800" colorSpace="1-13-1"/>
<format id="r217" name="FFVideoFormatRateUndefined" width="3841" height="2161" colorSpace="1-13-1"/>
<format id="r220" name="FFVideoFormatRateUndefined" width="1472" height="704"/>
<format id="r222" name="FFVideoFormatRateUndefined" width="3600" height="2400"/>
<format id="r228" name="FFVideoFormat4096x2160p2997" frameDuration="1001/30000s" width="4096" height="2160" colorSpace="1-1-1 (Rec. 709)"/>

It seems there might be bugs/regressions in the FCPXML handling of PDFs?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions