Chapter markers

Do you have questions about Desktop Video, Converters, Routers and Monitoring?
  • Author
  • Message
Offline

Quantumcast

  • Posts: 4
  • Joined: Sun Aug 04, 2019 2:00 pm
  • Real Name: Bailey Lackas

Chapter markers

PostSun Nov 24, 2019 11:38 pm

is there anyway I can use the markers in resolve and import them into adobe encore? this will save so so much time as I use this every day for work and hate going over the video again for chapter markers.
Offline

Peter Cave

  • Posts: 4478
  • Joined: Thu Aug 23, 2012 6:45 am
  • Location: Melbourne, Australia

Re: Chapter markers

PostMon Nov 25, 2019 4:35 am

Presently you can export timeline markers to an EDL or CSV format by using the edit index to filter the view to markers only. Then you right click on the timeline in the media pool (from the edit page) to show the export submenu. Export "Edit Index" gives CSV output.

Screen Shot 2019-11-25 at 3.30.36 pm.png
Screen Shot 2019-11-25 at 3.30.36 pm.png (160.12 KiB) Viewed 5707 times

Screen Shot 2019-11-25 at 3.30.51 pm.png
Screen Shot 2019-11-25 at 3.30.51 pm.png (346.01 KiB) Viewed 5707 times
Resolve 19.1.4 Mac OSX 15.3.2 Sequoia, Monitor 3G, FSI SDI grading monitor.
Mac M1 Studio Max 32GB
Offline

Quantumcast

  • Posts: 4
  • Joined: Sun Aug 04, 2019 2:00 pm
  • Real Name: Bailey Lackas

Re: Chapter markers

PostMon Nov 25, 2019 6:00 am

thanks for that! but 2nd question, do you know how I can import the csv file into adobe encore?
Offline

Peter Cave

  • Posts: 4478
  • Joined: Thu Aug 23, 2012 6:45 am
  • Location: Melbourne, Australia

Re: Chapter markers

PostMon Nov 25, 2019 9:21 pm

Quantumcast wrote:thanks for that! but 2nd question, do you know how I can import the csv file into adobe encore?

I don't use Encore.
Resolve 19.1.4 Mac OSX 15.3.2 Sequoia, Monitor 3G, FSI SDI grading monitor.
Mac M1 Studio Max 32GB
Offline

Quantumcast

  • Posts: 4
  • Joined: Sun Aug 04, 2019 2:00 pm
  • Real Name: Bailey Lackas

Re: Chapter markers

PostMon Nov 25, 2019 9:48 pm

damm thats my main issue, but i appreciate your help
Offline

Andrew Kolakowski

  • Posts: 9507
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: Chapter markers

PostTue Nov 26, 2019 12:42 pm

Quantumcast wrote:is there anyway I can use the markers in resolve and import them into adobe encore? this will save so so much time as I use this every day for work and hate going over the video again for chapter markers.


Nope. you would need to write own eg. Python script to translate between Resolve and Encore format.
Offline

drukepple

  • Posts: 3
  • Joined: Wed Dec 04, 2019 9:32 pm
  • Real Name: Dru Kepple

Re: Chapter markers

PostMon Jan 18, 2021 1:39 am

I know this is an old post, but I thought I'd share the ruby script I wrote to translate between the EDL and the text format that works with Subler and mkvmerge and probably several more. It's fairly straightforward, and it wouldn't be hard to transform into other formats (the time and the name are extracted, it's just a matter or reformatting that data). I did a cursory search for Encore's chapter list format and came up empty, otherwise I'd have taken a stab at it.

Full instructions on making this executable would be a bit much for me to cover here (especially on all platforms), but in general:
  1. Make sure ruby is installed (if you're on a Mac it should already have ruby)
  2. Copy the code at the end of this comment to a new file, and save it as edl2chap (or something)
  3. Make sure the file is in your PATH (or else keep it with your project and use a relative path to it)
  4. Make sure the file is executable (chmod 755 edl2chap)

Then you'd use it something like:
Code: Select all
edl2chap -l en -f 30 chapters.edl

And it will generate a file named chapters.en.txt. Not it will overwrite any existing file of that name.

The -l flag lets you set a language; this shows up in the output filename. It defaults to "en".

The -f flag lets you specify the framerate of the timeline. It defaults to 30. This is necessary for accurate math translating between frames (in the EDL) and milliseconds (in the chapter file). This could probably be sniffed out from the FCM line in the EDL but after a (again, cursory) search on the EDL file format, I couldn't find much information about expected FCM values and how they would translate to numbers, so it was far easier to just specify the frame rate manually.

Code: Select all
#!/usr/bin/env ruby

require "optparse"

options = {:lang => 'en', :fr => 30}

ARGV.options do |opts|
   opts.banner = "Usage:  #{File.basename($PROGRAM_NAME)} [OPTIONS] EDL_FILE"
   
   opts.separator ""
   opts.separator "Specific Options:"
   
   opts.on( "-l", "--language", String,
            "2-charater language code (will appear in output file name)" ) do |opt|
      options[:lang] = opt
   end
   
   opts.on( "-f", "--framerate", Integer,
            "Frame rate of EDL (default: 30)" ) do |opt|
      options[:fr] = opt
   end
   
   opts.separator "Common Options:"
   
   opts.on( "-h", "--help",
            "Show this message." ) do
      puts opts
      exit
   end
   
   begin
      opts.parse!
   rescue
      puts opts
      exit
   end
end


EDL = ARGV[0]
LANG = ARGV[1] || 'en'

edl = File.read(EDL)

output = EDL.gsub(/\.edl/, '') + ".#{LANG}.txt"
chapters = ""
index = 0

edl.split(/\r?\n\r?\n/).each do |l|
   if l =~ /C +(\d\d:\d\d:\d\d:\d\d).+\|M:(.+) \|D/m
      index += 1
      time = $1
      name = $2
      tp = time.split(':')
      Hood River = tp[0].to_i - 1
      frames = tp[3]
      ms = sprintf("%03d", (frames.to_f / options[:fr]) * 1000)
      time.gsub!(/:\d\d$/, ".#{ms}")
      chap_index = sprintf("%02d", index)
      new_time = "#{hr}:#{tp[1]}:#{tp[2]}.#{ms}"
      chapters += "CHAPTER#{chap_index}=#{new_time}\n"
      chapters += "CHAPTER#{chap_index}NAME=#{name}\n"
   end
end

File.open(output, "w") { |f| f.write chapters }

puts "File written to #{output}"


Use at your own risk!
Offline
User avatar

iestynx

  • Posts: 28
  • Joined: Thu Aug 15, 2013 4:19 pm
  • Location: Caernarfon, Cymru / Wales

Re: Chapter markers

PostSun Apr 27, 2025 7:40 pm

Has anything been updated regarding markers to chapters lately. I was hoping to export a WAV or MP3 with chapter markers for my podcast. For people creating video and audio podcasts this would be super helpful just to be able to rely on DaVinci 20 and not go out to something else.
Chief Designer / Small Time VFX Artist
---
M1 Ultra Mac Studio.
Offline

Andrew Kolakowski

  • Posts: 9507
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: Chapter markers

PostMon Apr 28, 2025 11:02 am

Chapters in mp3 are possible, but not widely supported I think, so it would not work well anyway.
Chapters in wav are not really supported.

You rather want to use AAC inside MP4 as this gives best compatibility.

Return to Post Production

Who is online

Users browsing this forum: No registered users and 22 guests