Page 1 of 1

DR16b3 export to FCPX references BRAW not loadable by FCPx.

PostPosted: Sun Jun 02, 2019 5:44 am
by Harold Tomlinson
I am not sure how to fix this. I have two issues: (1) the generated xml includes attributes for text effects that FCPX does not recognize; and (2) the xml makes reference to the original BRAW files which FCPX would not be able to read.

Am I doing something wrong with the export or import?

The project is about an hour from two BMPCC4k cameras in DCI 4k raw (BRAW). I have some text (lower thirds) and also some JPEG overlays at a few points. I am trying to export an XML project to FCPx so that I can add chapter markers before rendering to a Blu-ray Disc. (I wish I could just do this in Resolve.)

I am using the "Final Cut Pro X" presets of QuickTime, Apple ProRes, 422 HQ, and 4096x2160 DCI.

Issue 1: After the export, I try to launch the generated fcpxml file but I get the following message:
[quote] DTD validation failed. No declaration for attribute roll-up-height of element text.[/quote]
[code]<text roll-up-height="0">[/code]
I can remove (and have removed) the roll-up-height="0" to get past the issue.

Issue 2: After removing the roll-up-height from the xml and relaunching the fcpxml file, I get the following message:
[quote] The item could not be read. [/quote]
[code](src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/A022_05121609_C006.braw": /fcpxml[1]/resources[1]/asset[1]/@src)[/code]

That path is where the original files are, not the export location and the export location has no braw files, just .mov.

Am I doing something wrong? Is there something I need to do to get the xml to stop referring to the braw files?


Here is one of the offending lines in the fcpxml file:
[code] <asset duration="15272257/3000s" name="A022_05121609_C006.braw" start="116427311/2000s" hasVideo="1" format="r0" hasAudio="1" src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/A022_05121609_C006.braw" audioSources="1" audioChannels="2" id="r1"/>[/code]

I could comment this out but "r1" is referenced later in the file:

[code] <video duration="15272257/3000s" offset="116427311/2000s" start="116427311/2000s" ref="r1">
<audio duration="15272257/3000s" srcCh="1, 2" lane="-1" offset="116427311/2000s" start="116427311/2000s" ref="r1"/>
</video>[/code]


I am running Davinci Resolve 16 beta 3 and exporting to FCPX 10.4.6.
It is generating ".mov" files and the ..fcpxml file but the file references the original braw.
I tried attaching the file but I cannot find an extension that this forum allows. Instead I will put some parts of the file below. These show the 'resources' which include the lower-thirds, jpegs, and clips.


[code]<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fcpxml>
<fcpxml version="1.5">
<resources>
<format height="2160" name="FFVideoFormat4096x2160p2398" frameDuration="1001/24000s" width="4096" id="r0"/>
<format height="3300" name="FFVideoFormatRateUndefined" width="2550" id="r7"/>
<format height="194" name="FFVideoFormatRateUndefined" width="762" id="r10"/>
<format height="188" name="FFVideoFormatRateUndefined" frameDuration="1001/24000s" width="746" id="r12"/>
<format height="210" name="FFVideoFormatRateUndefined" width="747" id="r14"/>
<format height="276" name="FFVideoFormatRateUndefined" width="763" id="r16"/>
<format height="184" name="FFVideoFormatRateUndefined" width="772" id="r18"/>
<format height="205" name="FFVideoFormatRateUndefined" width="750" id="r20"/>
<format height="275" name="FFVideoFormatRateUndefined" width="758" id="r22"/>
<format height="382" name="FFVideoFormatRateUndefined" width="790" id="r24"/>
<effect name="Right" uid=".../Titles.localized/Lower Thirds.localized/Right.localized/Right.moti" id="r9"/>
<effect name="Basic Title" uid=".../Titles.localized/Bumper:Opener.localized/Basic Title.localized/Basic Title.moti" id="r26"/>
<effect name="Scrolling" uid=".../Titles.localized/Credits.localized/Scrolling.localized/Scrolling.moti" id="r27"/>
<effect name="Cross Dissolve" uid="FxPlug:4731E73A-8DAC-4113-9A30-AE85B1761265" id="r28"/>
<asset duration="15272257/3000s" name="A022_05121609_C006.braw" start="116427311/2000s" hasVideo="1" format="r0" hasAudio="1" src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/A022_05121609_C006.braw" audioSources="1" audioChannels="2" id="r1"/>
<asset duration="105538433/24000s" name="A011_05121610_C007.braw" start="466206741/8000s" hasVideo="1" format="r0" hasAudio="1" src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/A011_05121610_C007.braw" audioSources="1" audioChannels="2" id="r2"/>
<asset duration="337337/24000s" name="A022_05121609_C006.braw" start="1426936511/24000s" hasVideo="1" format="r0" hasAudio="1" src="file:///Volumes/d01/FCPx/V1-0006_A022_05121609_C006.mov" audioSources="1" audioChannels="2" id="r3"/>
<asset duration="2613611/24000s" name="A022_05121609_C006.braw" start="178409231/3000s" hasVideo="1" format="r0" hasAudio="1" src="file:///Volumes/d01/FCPx/V1-0007_A022_05121609_C006.mov" audioSources="1" audioChannels="2" id="r4"/>
<asset duration="289289/4000s" name="A022_05121609_C006.braw" start="476629153/8000s" hasVideo="1" format="r0" hasAudio="1" src="file:///Volumes/d01/FCPx/V1-0008_A022_05121609_C006.mov" audioSources="1" audioChannels="2" id="r5"/>
<asset duration="257257/8000s" name="A011_05121610_C007.braw" start="57268211/960s" hasVideo="1" format="r0" hasAudio="1" src="file:///Volumes/d01/FCPx/V1-0009_A011_05121610_C007.mov" audioSources="1" audioChannels="2" id="r6"/>
<asset duration="0/1s" name="DancingThroughTheAges.FrontPage.jpeg" start="0/1s" hasVideo="1" format="r7" src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/DancingThroughTheAges.FrontPage.jpeg" id="r8"/>
<asset duration="0/1s" name="Program[20-20]Shay.jpeg" start="0/1s" hasVideo="1" format="r10" src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/ProgramSheet/GimpOutput/Program[20-20]Shay.jpeg" id="r11"/>
<asset duration="1001/24000s" name="Program[30-30]Michelle.jpeg" start="0/1s" hasVideo="1" format="r12" src="file:///Volumes/d01/FCPx/V3-0003_Program00Michelle.mov" id="r13"/>
<asset duration="93184/25s" name="ZOOM0012_LR-0001.WAV" start="55608/1s" hasAudio="1" src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/ZOOM0012/ZOOM0012_LR-0001.WAV" audioSources="1" audioChannels="2" id="r32"/>
<asset duration="215822/375s" name="ZOOM0012_LR-0002.WAV" start="59335/1s" hasAudio="1" src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/ZOOM0012/ZOOM0012_LR-0002.WAV" audioSources="1" audioChannels="2" id="r33"/>
</resources>
<library>
<event name="DancingThroughTimeAtSAB2019 (Resolve)">
<project name="DancingThroughTimeAtSAB2019 (Resolve)">
<sequence duration="861861/200s" format="r0" tcStart="18018/5s" tcFormat="NDF">
<spine>
<gap duration="53053/24000s" name="Gap" offset="18018/5s" start="3600/1s">
<video duration="51051/8000s" lane="2" name="DancingThroughTheAges.FrontPage.jpeg" offset="3600/1s" start="0/1s" ref="r8" enabled="1">
<adjust-transform position="0 0" scale="1 1" anchor="0 0"/>
</video>
</gap>
<clip duration="13650637/24000s" name="A022_05121609_C006.braw" offset="86539453/24000s" start="468324857/8000s" format="r0" audioStart="468346879/8000s" tcFormat="NDF" enabled="1" audioDuration="161161/12000s">
<adjust-transform position="0 0" scale="1 1" anchor="0 0"/>
<video duration="15272257/3000s" offset="116427311/2000s" start="116427311/2000s" ref="r1">
<audio duration="15272257/3000s" srcCh="1, 2" lane="-1" offset="116427311/2000s" start="116427311/2000s" ref="r1"/>
</video>
<spine lane="4" offset="468346879/8000s">
<transition duration="1001/1000s" name="Transition" offset="0/1s">
<filter-video name="Transition" ref="r28"/>
</transition>
<clip duration="109109/8000s" name="A011_05121610_C007.braw" offset="0/1s" start="23395293271/399600s" enabled="1">
<audio duration="8786074547/1998000s" srcCh="1, 2" offset="9702927797/166500s" start="9702927797/166500s" ref="r29"/>
</clip>
<transition duration="1001/1000s" name="Transition" offset="21021/1600s">
<filter-video name="Transition" ref="r28"/>
</transition>
[/code]

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Mon Jun 03, 2019 2:35 am
by Peter Cave
TRY THIS:

Render your new clips to a new folder on your media drive from the Deliver Page using a FCPX or Premiere preset.
Export a new FCPX XML by selecting your Timeline in the Bin area and choosing Export New AAF option from the Right-click popup menu. There should be options in the export dialog box to choose XML formats or AAF formats.

Open FCPX application and create a new Event to import the new XML into.

DONE.

Unrecognised effects will need to be recreated manually in FCPX.

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Tue Jun 04, 2019 3:36 am
by Harold Tomlinson
Thanks for the suggestion but it did not work. I tried the various xml versions for FCPx from 1.3 through 1.8. In all cases I still get lines like these:


<text roll-up-height="0">



<asset id="r25" audioSources="1" hasAudio="1" audioChannels="2" name="A011_05121610_C007.braw" duration="8786074547/1998000s" start="9702927797/166500s" src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/A011_05121610_C007.braw"/>

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Tue Jun 04, 2019 4:36 pm
by Jim Simon
Harold Tomlinson wrote:I am trying to export an XML project to FCPx so that I can add chapter markers before rendering to a Blu-ray Disc.


You'll have to add the markers either in FCP or the Authoring program.

Skip the FCP step and just add them in the Authoring program.

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Tue Jun 04, 2019 5:54 pm
by Harold Tomlinson
Final Cut is what I am using for authoring. Compressor actually. To work around this I had done basically what you said. I exported a ProRes 422 master and import that into FCPx. I was really hoping the Resolve export would work (as it has before). This approach means I can not round trip.

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Tue Jun 04, 2019 9:14 pm
by Jim Simon
You're Authoring with Compressor? Hmmm.

You sure you're not just creating the assets there? Authoring is a specific term.

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Tue Jun 04, 2019 10:36 pm
by Harold Tomlinson
I may not understand ‘authoring’ correctly. Please clarify. I am adding the chapter markers in FCPX and sending the project to compressor to burn the dvd. Which part of that is authoring? I thought it was the creation of the file that gets written to the disc.

Either way, all I am using is Resolve, FFPX, and Compressor.

I still want the export from Resolve to work in FCPX, but what would be a better way to create dvd or blu-ray discs?

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Wed Jun 05, 2019 5:49 am
by Peter Cave
Jim Simon wrote:You're Authoring with Compressor? Hmmm.

You sure you're not just creating the assets there? Authoring is a specific term.


Compressor can now author and burn discs.

Harold, can you tell us if you are rendering new media clips to import into FCPX?
The reason I ask is that I'm doing exactly what you need using the method I described earlier, without any issues. Also remember that media location is critical with FCPX because of the library structure.
Also remember there are TWO DIFFERENT PLACES TO DO THE XML EXPORT in Resolve.
Make sure you use the correct one or the XML file will always link to the original media clips instead of your newly rendered clips. If you describe your workflow in extreme detail I may see where you are having an issue.

Also, you may need to remove lower 3rd text (or any Resolve-only effects) as FCPX has no way to understand Resolve text or effects. XML formats are designed to do FCPX>Resolve>FCPX grading workflow, not Resolve > FCPX finishing.

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Thu Jun 06, 2019 2:17 am
by Harold Tomlinson
[quote="Peter Cave"]XML formats are designed to do FCPX>Resolve>FCPX grading workflow, not Resolve > FCPX finishing.[/quote]

Now that makes some sense and could be the root of my problem. I am not starting from FCPx, I am only using FCPx (and compressor) to add the chapter markers and to burn the DVD (or BD). If I could do those two things from Resolve I would not have any need for FCPx any more.

Yes, there are new clips for FCPx rendered by Resolve. I will try to be excruciatingly detailed here.

The original footage (from two BMPCC4k cameras) is on an SSD array in the mount point: /Volumes/VideoScratch/. The files are named A011_*_C00*.braw and A022_*_C00*.braw. Also in folders under that same path are jpeg files generated by The Gimp from a PDF of the evening’s program which are included as clips on the timeline on a second video track that overlays the main track.

In all there are four video tracks. The first has the braw clips, the other three have the jpegs and the lower thirds and titles.

Resolve is using a local database for the project which is in 4k DCI 23.976.

When I use the export from the deliver page the files are generated to another SSD in the mount point /Volumes/d01/. That folder now contains 60 .mov files mostly named V1-*_A011_*_C00*.mov and V1-*_A022_*_C00*.mov. This seems consistent with the fact that these braw clips are on video track 1 and from SSDs name A011 and A022. There are also two V2-*.mov files which correspond to the second track which has a jpeg shown with the credits and V3-*.mov which would be the titles and lower thirds. I don't see any V4*.mov though.

Whether I use the deliver page, the File->Export, or the export from the timeline as you instructed, the .fcpxml file is generated in the same d01 location and mostly references the files on d01 but also includes some references to the original .braw files on VideoScratch.

The lack of V4 files is interesting but unfortunately not relevant. I have consolidated one of the titles so that I can reduce the number of video tracks to 3. No improvement. I still have reference to the original braw files mixed in with the references to the new files in the fcpxml file generated with both export methods.

I started the export on the Deliver page by selecting the preset for Final Cut Pro X. "Entire Timeline" is set and the destination is /Volumes/d01/fcpXmlDeliver. I have removed the previous delivery, and, in order to make this happen quickly, I have disabled the nodes with the noise reduction and set it to render 720p. I have the options set as: Export Video, QuickTime, ProRes 422 HQ, DCI, etc. The radio buttons for "Single clip" and "Individual clips" are set to Individual and are greyed out (which makes sense for round tripping).

It takes 15 minutes without the noise reduction, but now I see the fcpxml file with the issues I mentioned. Most of the lines reference the new files like this:
<asset audioSources="1" duration="187187/6000s" format="r0" start="1481066587/24000s" name="A011_05121610_C007.braw" src="file:///Volumes/d01/fcpXmlDeliver/V1-0041_A011_05121610_C007.mov" id="r41" hasVideo="1" audioChannels="2" hasAudio="1"/>

There are two lines referencing the original braw files like this:
<asset audioSources="1" duration="8786074547/1998000s" start="9702927797/166500s" name="A011_05121610_C007.braw" src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/A011_05121610_C007.braw" id="r74" audioChannels="2" hasAudio="1"/>

Going to the Media Page and selecting Timelines->Export->Generate-New-AAF from the right-click menu generated a new fcpxml file (I chose 1.5 format) that mostly references the generated media on d01 as follows:
<asset start="184733549/3000s" duration="2745743/24000s" id="r39" format="r0" src="file:///Volumes/d01/fcpXmlDeliver/V1-0039_A011_05121610_C007.mov" hasVideo="1" audioSources="1" hasAudio="1" name="A011_05121610_C007.braw" audioChannels=“2"/>

There are still lines that reference the original braw files in the original locations like this:
<asset start="9702927797/166500s" duration="8786074547/1998000s" id="r74" src="file:///Volumes/VideoScratch/VideoProjects/CarolBirthdaySAB2019/A011_05121610_C007.braw" audioSources="1" hasAudio="1" name="A011_05121610_C007.braw" audioChannels="2"/>




Thanks for your patient help. Asking for a more detailed workflow has caused me to notice that V4 was missing. I was hoping that the export was trying to use the braw files for V4 and that by reducing it to three tracks, this would be fixed. Unfortunately that has not been the case.

If the XML is really for round trips that start with FCP or other tools, I guess it won’t be useful for me. I need to start with Resolve since I am using BRAW. It looks like my only choice is to export a master and create an FCPx project to add the chapter markers and burn the DVD.

Is there a better tool for creating DVDs than FCPx?

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Thu Jun 06, 2019 6:39 am
by Peter Cave
Make sure you render at the same resolution that is referenced in the xml file. Render at timeline resolution.

Personally I would not bother with a round trip of individual clips as you now have to do all your titles, audio and still image overlays again in FCPX. I'd just export a master and add chapter markers in FCPX and make the disc.

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Mon Aug 26, 2019 11:47 pm
by bmasar
Did you find a solution for this? I'm also unable to import an XML from Resolve 15 to FCPX 10.4.4 because it says a BRAW file can't be opened, just like you. I can't for the life of me figure out why FCP is even trying to open the original BRAW file. I've never had this issue before using my same workflow.

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Thu Feb 06, 2020 7:02 pm
by pvanleer
Hey all, I'm having this same issue! I have been in touch with Blackmagic support, but there is no solution yet. It's been quite some time since the last post, I'm hoping some of you have found the solution?? Please let me know!!

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Mon Jan 04, 2021 8:07 pm
by Saneuskis
Same problem.... Blackmagic team said seamless roundtrip.. hm..

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Mon Jan 04, 2021 8:09 pm
by pvanleer
Yeah, no solution for me other than to export the full clips and then relink into FCPX. Not nearly as efficient size wise, but workable.

Re: DR16b3 export to FCPX references BRAW not loadable by FC

PostPosted: Mon Jan 04, 2021 9:34 pm
by Harold Tomlinson
I had totally forgotten this post. I have not launched FCPx in a long time. I just tested the round trip again and it is working now for me using Resolve 17.0B6 and FCPx 10.5.1.