FCP X xml to nuke

This script reads a fcpxml-file in and outputs separate Nuke- and Syntheyes-files for each video that is in the Final Cut Pro X sequence. Use it as shell-script or Automator workflow.

Updated: 15 December 2011

Author: mtp_thomas

Compatible Nuke versions: 6.3 or later

Compatibility: Mac

I´m missing the "export as quicktime reference" option in FCP X. Luckily Apple introduced the XML-export feature which gave me all data I needed to "reconstruct" a video-clip in a Read node. This (bash) shell script parses a fcpxml-file and generates Nuke .nk-files and Syntheyes .synInfo-files for every clip in the Final Cut Pro X sequence (project). Tested on Mac OS X 10.6.8.

Features

  • No files are copied. The Read Nodes point to the same files as in FCP X.
  • All in-/out-frames, sequence frame positions, clip durations stay intact
  • Handle frames can be added to extend the frame range.
  • Only video-files. No audio.
  • Different FPS and dimensions were recognized.
  • Cropping, Animations, Translations, Color Corrections, Effects and every other Final Cut related modification on a clip will be discarded
  • The generated Nuke-files are named after their FCP X name with a following "_v01"
  • and more... see update notes below

Usage:

Please take a look at the contained readme-file.

Update 1.1 changes:

  1. added an Automator-workflow file for easy right-click usage
  2. bugfix: when FCP-X Timeline starts with Timecode set to 00:00:00 the first clip was misplaced in time in Nuke.
  3. bugfix: the script failed when an empty space was found in the filename.
  4. notes: empty spaces in filenames will be replaced by a "_".

Update 1.2 changes:

  1. bugfix: decimal framerates were rounded to integer (23.98->23 changed to ->23.9760)
  2. added export option for generating syntheyes-infofiles. The provided synInfo.szl script is required for the import. See Notes Below.
  3. added serialization so all files have unique filenames starting with 001_.....nk
  4. the script now creates shot folders
  5. Notes: the generated .synInfo file is not an official Syntheyes file-format. Double-clicking it will not open Syntheyes. It´s just a plain text file that gets imported by the "synInfo.szl"-Importer and feeds Syntheyes with all needed data for a tracking session. You´ll have to save this shot as .sni file afterwards!

Update 1.3 changes:

  1. Nothing changed. Just reuploaded the file. I´ve mirrored the download on VFXTalk. See thread #16.

watch the Tutorial on vimeo

Thanks

A big THANKS to the Nuke-community for sharing knowledge, gizmos and scripts. I´m a silent forum-reader and Nukepedia-leecher. This is my tiny contribution and I hope this script helps someone.

HAVE FUN!

Sign in or register to download or rate.