Import markers from CSV file and lock per track per color code

I’ve been working with someone else and editing their videos for a bit (and my own) and the workflow is as such: They will go through the RAW video, find the timestamps they want to cut out or add clips into, then put those timestamps in a document with a description of what to do.

Currently my workflow is to manually go in and add a marker coinciding with the timestamps with the description they want done to the raw video before changing anything. Then I work backwards as the markers always seem to get messed up because I forgot to enable or disable the “Ripple Markers” when I change something or add a clip to a different track

So my solution I came up with to help would be to

  1. Enable importing of the Markers with a CSV file
    = Simply “Start”, “End”, “HEX Color”, “Name”
  2. Be able to lock the markers of certain color with a specific clip (or at least track) so that changes to other tracks or clips aligned with them do not change move them around
  3. Bonus would to be able to set the timestamps of the imported markers relative to the locked clip so that I could have multiple videos in one file and then import the marker files one at a time syncing to each clip

Just being able to import the Markers from file alone would be beneficial but being able to lock them relative to a clip would solve all the problems… well a few problems haha

1 Like

My reply is a year out of date, but I have a pair of scripts that I use for this.

MarkerMaker.lua is an OBS script to set markers, either by hotkey or on scene change. Generates a CSV file with the same name as the OBS recording file.
https://github.com/OldBaldGeek/OBS-old-bald-scripts/blob/main/MarkerMaker.lua

Reaper can import CSV as markers for audio editing (which was my original use case)

Or, you can use marker-munger.py to merge the markers in the CSV into a Shotcut MLT file for editing there.
https://github.com/OldBaldGeek/OBS-old-bald-scripts/blob/main/marker-munger.py

3 Likes

Oh wow. I’ll be checking out your scripts! Thanks!

Another year later! Here’s an updated overview of how to IMPORT MARKERS FROM CSV to Shortcut.

I couldn’t get MarkerMaker to work (it caused problems with my recordings and won’t play), so I use a really old plugin for OBS to create a CSV file for my timestamps: InfoWriter | OBS Forums

Then I edited my CSV file like crazy to fit the marker-munger script (after staring at it for a few hrs) using Notepad++ cause that was the fastest way as of now. Finally run my script in cmd like so and yay it works.

To break it down, the format for CSV fields go like this… and the commands for cmd is basically

    fields = ['#', 'Name', 'Start', 'End', 'Length', 'Color']

python [MARKER-MURGER SCRIPT LOCATION] [YOUR CSV FILE LOCATION] [YOUR SHOTCUT SAVE WITH VIDEO ALREADY ADDED IN THE TIMELINE]

I only just figured it out, and have yet to figure out how the csv file should look like to import multiple timestamps. Hopefully somebody is able to make this process easier (I’m not the brightest fella…)