Markers list export in timecode

Hi,

Been loving Ardour so far, hoping there is a way to get this accomplished and if not, maybe I’ll see if I can write a script to do it.

I need to be able to make markers along the timeline, and export a list of them with timecode. Anything text based that could be turned into an Excel spreadsheet would be great. The purpose is for cueing up Foley along a video, and it’s important to be able to sort your props and sound needs in different ways.
I’ve tried looking in the manual, but can’t find a good way of doing this. Is it possible? I’m also not able to get my markers list to display timecode, only displaying beat information despite having the default timebase set to timecode.

I’m not finding any MP4 export options in Ardor as I’ve seen online. Thanks for any help you can give me!

Right-click any of the clock widgets in the marker list to choose between several time formats, see https://manual.ardour.org/ardours-interface/editor-lists/ranges-and-marks-list/

There is a Lua script to export markers as mp4chaps.

Easiest is to right-click on one of the unused Action Script buttons top-right in the application bar. e.g “3” or “4” in that screenshot:

image

…and assign it to the script “Export markers as mp4chaps” to the button.

image

Then you can run use that function using the button that you’ve assigned it to.

Another option to directly get you timecode, here space-separated value (which Excel should be able to import):

Ardour Menu > Window > Scripting. Paste the following script there and press “run”.

local samplerate = Session:sample_rate()
local tc_format  = Session:cfg():get_timecode_format ()

for l in Session:locations():list():iter() do
  local name = l:name()
  if not l:is_mark() or string.find(name, "^xrun%d*$") then
    goto next end

  local hh, mm, ss, ff = ARDOUR.LuaAPI.sample_to_timecode (tc_format, samplerate, l:start():samples())
  print (string.format("%02d:%02d:%02d:%02d %s", hh, mm, ss, ff, name))

  ::next::
end