You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Final Cut Pro v. 10.6.6 - fcpxml file with reference to mp4 file via url works, but only after closing/reopening library

I'm writing software that exports fcpxml files to allow import of video clips into Final Cut Pro.


The file looks like this:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fcpxml>
<fcpxml version="1.10">
<resources>
<asset name="ProjectName~FileName" id="r1" uid="013f2d56-c250-46b9-8b1b-3b1e2bc6ddee" start="0s" duration="3584434/1000s">
<media-rep kind="original-media" sig="013f2d56-c250-46b9-8b1b-3b1e2bc6ddee" src="myurlthatworks"></media-rep>
</asset>
<format id="r2" name="FFVideoFormat1080p30"/>
</resources>
<library location="">
<event name="FileName" uid="56b2e8bf-3369-46d1-a083-458c7da313f2">
<asset-clip ref="r1" name="mykeyword" start="15550/24s" duration="718/24s" format="r2" tcFormat="NDF" audioRole="dialogue"><keyword start="15550/24s" duration="718/24s" value="mykeyword"/></asset-clip>
<keyword-collection name="mykeyword"/>
</event>
</library>
</fcpxml>


The url in the actual file is correct.


If I create a library, create an event, then "Import Xml" to import this file, the clips and keywords show.


However, each clip has a yellow "warning" icon and each thumbnail has a "Downloading Remote Media" message, which never goes away if I just wait.


If I drag a clip to the project, the clip is there and I can play it.


If I close the library, then reopen it, all the error icons and "Downloading" thumbnail messages disappear and everything works.


The mp4 file is not that large. The background task icons show all idle. If I find the mp4 file in the Finder I can see that it has downloaded completely. I have a fast network connection.


The problem is not the url, or the clips would load after the library is closed/opened. The problem is not the file size/network because timing doesn't matter. If I instantly close/reopen the library everything works.


What am I doing wrong here?


Thanks very much in advance.



Posted on Aug 19, 2023 3:11 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 20, 2023 6:30 AM

When the download finished, the file works, can be edited into a project, etc;

but just as you experienced, the thumbnails in the browser are not updated to reflect that the file has

finished downloading. Just like you, it is only after quitting and restarting FCP that the browser shows it properly.


You may wanto to provide feedback on this. Of course, the issue is not one of xml per se, but rather how to deal with downloadable assets. I woud not have guessed this could be done!


Final Cut Pro->Provide Final Cut Pro Feedback...

Similar questions

5 replies
Question marked as Top-ranking reply

Aug 20, 2023 6:30 AM in response to Luis Sequeira1

When the download finished, the file works, can be edited into a project, etc;

but just as you experienced, the thumbnails in the browser are not updated to reflect that the file has

finished downloading. Just like you, it is only after quitting and restarting FCP that the browser shows it properly.


You may wanto to provide feedback on this. Of course, the issue is not one of xml per se, but rather how to deal with downloadable assets. I woud not have guessed this could be done!


Final Cut Pro->Provide Final Cut Pro Feedback...

Aug 20, 2023 3:08 AM in response to Luis Sequeira1

Luis,


Thank you for the quick reply!


Here is another version of the file, with a working URL:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fcpxml>
<fcpxml version="1.10">
	<resources>
		<asset name="ProjectName~FileName" id="r1" uid="013f2d56-c250-46b9-8b1b-3b1e2bc6ddee" start="0s" duration="115000/1000s">
			<media-rep kind="original-media" sig="013f2d56-c250-46b9-8b1b-3b1e2bc6ddee" src="https://sapitesting.blob.core.windows.net/files/Paris.mp4?sv=2021-10-04&amp;st=2023-08-20T09%3A37%3A07Z&amp;se=2023-09-21T09%3A37%3A00Z&amp;sr=b&amp;sp=r&amp;sig=UnJZK2QsgcSQasM3nRBNyluACvi93%2BsStQInOoc2U2M%3D"></media-rep>
		</asset>
		<format id="r2" name="FFVideoFormat1080p30"/>
	</resources>
	<library location="">
		<event name="FileName" uid="56b2e8bf-3369-46d1-a083-458c7da313f2">
			<asset-clip ref="r1" name="travel" start="30/30s" duration="150/30s" format="r2" tcFormat="NDF" audioRole="music">
				<keyword start="30/30s" duration="150/30s" value="travel"/>
			</asset-clip>
			<keyword-collection name="travel"/>
		</event>
	</library>
</fcpxml>


Thanks!


Adam

Final Cut Pro v. 10.6.6 - fcpxml file with reference to mp4 file via url works, but only after closing/reopening library

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.