Exporting Clip Markers

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Dave Willis

  • Posts: 20
  • Joined: Fri Aug 15, 2014 5:05 pm

Exporting Clip Markers

PostThu Jul 20, 2017 5:14 pm

Hi,

I've gone through the manual and can't find any mention of exporting markers as a .csv at 'clip' level, only from the timeline. I have tried exporting clip metadata, but while that gives me things like the 'comments' it does not give me the markers with comments.

So a couple of questions:
    Is this possible in resolve 14 to export clip markers and import them to the same clip on a different drive/project?

    Where is the marker metadata stored? (only in the project/a file somewhere/user database?)
Any insights welcome!
Offline

George Deierling

  • Posts: 338
  • Joined: Thu Feb 25, 2016 11:26 pm

Re: Exporting Clip Markers

PostThu Jul 20, 2017 11:03 pm

a workaround idea: drop a black clip on a separate track, splice it at each marker, export EDL. You can reformat the EDL in Word, convert text to table an delete unwanted column.
Offline

Dave Willis

  • Posts: 20
  • Joined: Fri Aug 15, 2014 5:05 pm

Re: Exporting Clip Markers

PostFri Jul 28, 2017 11:18 am

George Deierling wrote:a workaround idea: drop a black clip on a separate track, splice it at each marker, export EDL. You can reformat the EDL in Word, convert text to table an delete unwanted column.


Thanks for the suggestion.
Offline

Albert Hofmann

  • Posts: 70
  • Joined: Wed Feb 24, 2016 10:01 am

Re: Exporting Clip Markers

PostSun Aug 06, 2017 1:03 pm

Not sure if this helps you, but you can export markers as an EDL:

Exporting Marker list with timecode

If you want it as CSV, you will need to apply some scripting for the format conversion, or some search/replace magic in a text editor.

Here is a very crude and ugly one-liner which seems to work for my markers to output a simple csv:
Code: Select all
perl -a -ne 's/\R//; if (/^\d+/) {print join("\t", @F[0,4])} elsif (/\|/) {@comm=split /\|/; print "\t", join("\t", @comm), "\n"}' MY_MARKERS.EDL


It produces something like this (I used tabs intead of commas for readability, and it can be directly copy/pasted into Excel):

Code: Select all
001   01:00:00:00   FFoA   D:1
002   01:00:08:21   dust   D:1
003   01:00:21:17   damage   D:1
004   01:01:08:08   cc   D:1

(Not sure what the "D:1" after the comment is)

BTW, this was with Resolve 12.5. Not sure if anything would have changed in v 14.
Offline

Dave Willis

  • Posts: 20
  • Joined: Fri Aug 15, 2014 5:05 pm

Re: Exporting Clip Markers

PostFri Aug 11, 2017 10:21 am

Albert Hofmann wrote:Not sure if this helps you, but you can export markers as an EDL:

Exporting Marker list with timecode

If you want it as CSV, you will need to apply some scripting for the format conversion, or some search/replace magic in a text editor.

Here is a very crude and ugly one-liner which seems to work for my markers to output a simple csv:
Code: Select all
perl -a -ne 's/\R//; if (/^\d+/) {print join("\t", @F[0,4])} elsif (/\|/) {@comm=split /\|/; print "\t", join("\t", @comm), "\n"}' MY_MARKERS.EDL


It produces something like this (I used tabs intead of commas for readability, and it can be directly copy/pasted into Excel):

Code: Select all
001   01:00:00:00   FFoA   D:1
002   01:00:08:21   dust   D:1
003   01:00:21:17   damage   D:1
004   01:01:08:08   cc   D:1

(Not sure what the "D:1" after the comment is)

BTW, this was with Resolve 12.5. Not sure if anything would have changed in v 14.



Thanks Albert, it all works perfectly fine for timeline markers however it is clip markers that I'd like to export.
Offline
User avatar

robozb

  • Posts: 420
  • Joined: Wed Apr 17, 2019 6:48 am
  • Location: Hungary
  • Real Name: Roboz Bela Tamas

Re: Exporting Clip Markers

PostSat Aug 24, 2019 12:38 pm

The copy markers at clip level would be very useful, this is very missing!
Offline
User avatar

Igor Riđanović

  • Posts: 1596
  • Joined: Thu Jul 02, 2015 5:11 am
  • Location: Los Angeles, Calif.

Re: Exporting Clip Markers

PostSat Aug 24, 2019 6:21 pm

It's possible to get clip markers using the scripting API.
www.metafide.com - DaVinci Resolve™ Apps
Offline
User avatar

robozb

  • Posts: 420
  • Joined: Wed Apr 17, 2019 6:48 am
  • Location: Hungary
  • Real Name: Roboz Bela Tamas

Re: Exporting Clip Markers

PostSat Aug 24, 2019 7:03 pm

Igor Riđanović wrote:It's possible to get clip markers using the scripting API.


Thanks! I'm watching!
Offline
User avatar

robozb

  • Posts: 420
  • Joined: Wed Apr 17, 2019 6:48 am
  • Location: Hungary
  • Real Name: Roboz Bela Tamas

Re: Exporting Clip Markers

PostSun Aug 25, 2019 12:00 pm

But is it possible with clip markers what add on timeline to the clips? Because you can add markers to clip on timeline also (what are not included in EDL export/ import, strange)
Offline
User avatar

xavier_ho

  • Posts: 2
  • Joined: Mon Sep 30, 2019 3:00 pm
  • Location: Melbourne, Australia
  • Real Name: Xavier Ho

Re: Exporting Clip Markers

PostMon Sep 30, 2019 3:06 pm

I worked out exactly how to export clip markers. Da Vinci Resolve Studio 16.

Step 1: Go to Edit view -> open Edit Index on the top menu.
Step 2: In Edit Index panel, click on the "..." -> Show Markers -> All (this is very important)
Step 3: Right click on Timeline in Media Pool -> Timelines... -> Export -> Edit Index...
Step 4: Pick either CSV or TSV. Save your markers and view it!

By far Step 2 is the most obscure. Once you set up the Edit Index, they can be exported.

P.S. I also tried the Python Scripting API, using Clip.GetMarkers(). Got nothing.
Offline

Shrinivas Ramani

Blackmagic Design

  • Posts: 2729
  • Joined: Wed Sep 20, 2017 10:19 am

Re: Exporting Clip Markers

PostTue Oct 01, 2019 7:29 am

Xavier,

As a test, I added red media markers.. cyan clip markers and blue(and one yellow) timeline markers ... and python queries do return me their values (see example below). Can you check if you have an issue in your script?
Regards
Shrinivas

querying markers.png
querying markers.png (344.09 KiB) Viewed 5956 times
Offline
User avatar

iddos-l

  • Posts: 799
  • Joined: Sat Mar 30, 2019 7:55 pm
  • Real Name: iddo lahman

Re: Exporting Clip Markers

PostTue Oct 01, 2019 8:40 am

The script API will see timeline markers.
Op was mentioning clip markers.
Offline

Shrinivas Ramani

Blackmagic Design

  • Posts: 2729
  • Joined: Wed Sep 20, 2017 10:19 am

Re: Exporting Clip Markers

PostWed Oct 02, 2019 1:53 am

The example above shows media, clip and timeline markers
Offline
User avatar

iddos-l

  • Posts: 799
  • Joined: Sat Mar 30, 2019 7:55 pm
  • Real Name: iddo lahman

Re: Exporting Clip Markers

PostWed Oct 02, 2019 4:57 am

Shrinivas Ramani wrote:The example above shows media, clip and timeline markers

Apologies,
Should have read it more carefully.


Sent from my iPhone using Tapatalk
Offline
User avatar

xavier_ho

  • Posts: 2
  • Joined: Mon Sep 30, 2019 3:00 pm
  • Location: Melbourne, Australia
  • Real Name: Xavier Ho

Re: Exporting Clip Markers

PostMon Oct 14, 2019 1:41 pm

Shrinivas Ramani wrote:As a test, I added red media markers.. Can you check if you have an issue in your script?
Regards
Shrinivas

Thanks Shrinivas. I don't have the scripts I was testing with now, but I think what I missed was that GetClips returned a dict, and not an array. So I'll try that next time if I need it, thanks!
Offline

schultzm

  • Posts: 45
  • Joined: Mon Aug 08, 2022 12:58 pm
  • Real Name: Mark Schultz

Re: Exporting Clip Markers

PostSat Jul 15, 2023 12:20 am

xavier_ho wrote:I worked out exactly how to export clip markers. Da Vinci Resolve Studio 16.

Step 1: Go to Edit view -> open Edit Index on the top menu.
Step 2: In Edit Index panel, click on the "..." -> Show Markers -> All (this is very important)
Step 3: Right click on Timeline in Media Pool -> Timelines... -> Export -> Edit Index...
Step 4: Pick either CSV or TSV. Save your markers and view it!

By far Step 2 is the most obscure. Once you set up the Edit Index, they can be exported.

P.S. I also tried the Python Scripting API, using Clip.GetMarkers(). Got nothing.


Thanks! This is incredibly useful for creating YouTube chapter markers. Your method above has changed slightly, for the 2023 18.5b5 version. You need to click the three dots button in the top right of the edit index (replaces step 3, right click on timeline in media pool), then select export as per this screenshot.
Attachments
Screenshot 2023-07-15 at 10.18.39.png
Screenshot 2023-07-15 at 10.18.39.png (341.37 KiB) Viewed 1515 times
Studio 18.5b build 41, MacOS Ventura 13.4.1 MacBook Pro 17.1 with Apple M1 8-core CPU, 16 GB RAM, 2TB SSD. Editor Keyboard, BMPCC6k Pro with Sigma Lenses, Mini Panel, LG 5k Monitor, QNAP NAS with 2.5GbE and 14 TB storage HDDs
Offline

Jim Simon

  • Posts: 30311
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Exporting Clip Markers

PostSat Jul 15, 2023 2:12 pm

It's even easier in version 18.

Chapter Markers.png
Chapter Markers.png (18.2 KiB) Viewed 1435 times
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

schultzm

  • Posts: 45
  • Joined: Mon Aug 08, 2022 12:58 pm
  • Real Name: Mark Schultz

Re: Exporting Clip Markers

PostSun Jul 16, 2023 12:48 am

Jim Simon wrote:It's even easier in version 18.

Chapter Markers.png


Thanks. I did see that too (forgot to mention). But I couldn't get it to work as I was uploading to an account that I was an editor of but not an owner of. I will definitely try it again though for my own account. Do you have any tips for this?
Studio 18.5b build 41, MacOS Ventura 13.4.1 MacBook Pro 17.1 with Apple M1 8-core CPU, 16 GB RAM, 2TB SSD. Editor Keyboard, BMPCC6k Pro with Sigma Lenses, Mini Panel, LG 5k Monitor, QNAP NAS with 2.5GbE and 14 TB storage HDDs
Offline

Jim Simon

  • Posts: 30311
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Exporting Clip Markers

PostSun Jul 16, 2023 2:15 pm

schultzm wrote:Do you have any tips for this?
I don't. Sorry.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], jamedia, JanMulder, Johannes Jonsson and 238 guests