Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Apple Final Cut Pro Legacy Imported markers from XML are invisible?!?!?!

  • Imported markers from XML are invisible?!?!?!

    Posted by Steve Thompson on April 19, 2010 at 11:35 pm

    First post here on CC, but I’ve been appreciative of the knowledge I have gleaned from here, so thanks.

    I’m in need of adding a bunch of chapter markers to a FCP sequence (FCP 7.0.2) by exporting an XML of the sequence, editing the XML using an Applescript droplet I have written and then re-importing that XML back into FCP.

    I have everything working as expected. My Applescript parses the original XML and determines the marker locations based on cuts in the video track. Then I write the Marker tags below the Media End Tag before the Sequence End Tag just as FCP writes them on an XML export (see below).

    The strange thing happens here. When I import this new XML back into FCP, I see no markers. None at all. Next/Previous Marker does nothing. However if I move to a point where a marker should be (easy since all my markers occur on cuts) and press “m” to bring up the marker, sure enough, the marker is there and has the correct name and is tagged as indicated in the XML. If I export a QT movie with chapter markers the resultant QT movie indeed has chapter markers and I can process it as such (this is all in preparation to use QTCoffee’s split by chapter function). In otherwords, everything works as expected, but I never see markers on the timeline, no matter what I do!

    Yes I am checking the “Include Markers” option on import. Perhaps there is some other XML tag I am missing besides the tags?

    Is this a bug or am I missing something?


    BCP Marker 2
    <CHAPTER>
    0
    127
    127
    255
    88
    -1

    Steve Thompson replied 16 years, 1 month ago 3 Members · 4 Replies
  • 4 Replies
  • Steve Thompson

    April 19, 2010 at 11:57 pm

    Ha. Well I guess I didn’t pay attention and the forum parsers parsed my xml. In the mean time, I solved my issue. I was writing markers with RGB values 127,127,255 and they should have been 127,0,255. I guess I was creating an invalid marker color for FCP and thus it was invisible.

    It always seems to require making a forum post before you can step back and see your mistake right in front of your nose!

  • Andreas Kiel

    April 20, 2010 at 2:14 pm

    You figured out what several people experienced with FCS3 – the cool feature to have invisible markers 🙂
    Stay with colors Apple does supply. The markers though should be visible in the browser.

    Andreas

    Spherico
    https://www.spherico.com/filmtools

  • Amy Wilson

    April 20, 2010 at 6:25 pm

    Hi. I ‘ve been looking around to see if there is a way to create markers in an excel document (or XML if you can tell me how I would go about doing that) and then import to FCP as markers. Is this similar to what you are doing? Everything I’ve seen other places seems to describe the backwards version of what I’m trying to do. I’ve successfully imported an excel document’s info to FCP (via exceLogger) but haven’t figured out how to get that info to translate into actual clip markers in FCP. Naming a column “Marker Name” in my spreadsheet doesn’t seem to do the trick. Is there any way to do this?

    Basically I’m looking to do this because I want to save time in my logging process. I am capturing entire tapes and while the tape is capturing I am watching it and logging in excel on my laptop. And I prefer markers when logging.
    Thanks!

  • Steve Thompson

    April 20, 2010 at 6:44 pm

    This is similar to what I did, but I read the edits (the particular sequences I am processing are cuts only) from the XML and wrote the marker tags as noted in the code section below. I did this in Applescript, but using similar techniques you could read a csv exported from Excel and generate the necessary XML code and insert it into your sequence XML.

    <marker>
    <name>Marker Name</name>
    <comment> &lt;COMMENT (i.e. CHAPTER)></comment>
    <color>
    <alpha>0</alpha>
    <red>127</red>
    <green>0</green>
    <blue>255</blue>
    </color>
    <in>503</in>
    <out>-1</out>
    </marker>

    Steve Thompson
    https://www.richcreamerygoodness.com

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