Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Apple Final Cut Pro Edit repetitive job via coding (as opposed to FCP X interface)

  • Edit repetitive job via coding (as opposed to FCP X interface)

    Posted by Xavier Paredes on September 15, 2019 at 3:15 pm

    I often get medium to large jobs where I need to do repetitive tasks.

    For example, I currently am working on a job that has about 150 videos. I need to add a 5 second graphic to the beginning of each video and then add 10 frames of black to the end.

    Today I actually programmed a macro using Keyboard Maestro that semi-automates the whole job.

    I’l like to know if this can be taken a step further. Perhaps do the editing work by creating/editing the “CurrentVersion.fcpevent” files (accessed by right-clicking the library file on the HD and choosing “Show package contents”) Unfortunately, when I open those in a text editor, I see a lot of strange characters with only some readable text.

    Anyone know if this is possible?

    Thanks.

    Xavier

    Joe Marler replied 6 years, 7 months ago 3 Members · 5 Replies
  • 5 Replies
  • Jeff Kirkland

    September 15, 2019 at 8:35 pm

    You’d probably be better off editing an XML file than trying to modify any project files. It doesn’t take much to completely break the project database.

    But even then, by the time you do it and check that it’s worked, there’s probably not much gain over what you’re doing with Keyboard Maestro. Keyboard macros are my usual go-to for semi automating stuff in FCPX.

    —-
    Jeff Kirkland | Video Producer & Cinematographer
    Hobart, Tasmania | Twitter: @jeffkirkland

  • Joe Marler

    September 16, 2019 at 2:55 am

    [Xavier Paredes] “Perhaps do the editing work by creating/editing the “CurrentVersion.fcpevent” files (accessed by right-clicking the library file on the HD and choosing “Show package contents”) “

    You cannot do edits by editing the CurrentVersion.fcpevent file. This contains several SQL tables with an undocumented schema. The only way to even view those is using a utility like SQLPro: https://www.sqlitepro.com

    In theory if you knew the schema and data dictionary (including definition and decoding of binary Blob columns) and internal table workflow used by FCPX you could write a SQLite application to do this. Without that information, attempted edits will corrupt the library and crash FCPX.

  • Xavier Paredes

    September 16, 2019 at 2:59 am

    @Jeff Kirkland:

    Interesting. I also have Fade Up/Down transitions. Can these transitions be implemented via an XML?

    Xavier

  • Xavier Paredes

    September 16, 2019 at 3:01 am

    Oh well. Hopefully one day we can script FCP X jobs.

    Thanks for your reply.

    Xavier

  • Joe Marler

    September 16, 2019 at 3:01 am

    Forgot to add, besides Keyboard Maestro there is TextExpander, and you can combine both: https://macautomationtips.com/textexpander-keyboard-maestro-use/

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy