I want to export all markers in a project.
Would you recommend that I implement it as:
a) adapt MultiFileExportDialog
to handle markers
b) create a variant of MultiFileExportDialog
specific for markers
c) copy all markers into playlist
My current workflow is to mark all ranges I want to export. Then I step through every marker range using hotkeys:
S, (split at start)
>, (go to range end marker)
S, (split at end)
<, (go to range start marker)
Ctrl+Space, (select clip under playhead)
Ctrl+C, (copy clip)
Ctrl+Z, Ctrl+Z, (undo splitting)
Shift-A, (insert into playlist)
>, > (go to next range)
I could record this using AutoHotkey, but it becomes messy when 2 marker ranges overlap.
I would also like to use marker names as export file names. This is currently not possible, even for single marker exports.
Therefore, I would like to implement a solution into Shotcut.
a) MultiFileExportDialog
takes an argument Mlt::Playlist *playlist
; that could be refactored.
b) Or, if Mlt::Playlist
and the marker struct do not share a common superinterface, an export dialog specific for markers could be built.
c) Or, a function for transferring all markers into the playlist, setting their names as clip names, could be built. A button for this could be put into the marker dock.
Which approach do you recommend?
Related requests:
(I noticed the Shotcut - Road Map has entry “clip markers or flags”, though that seems done already.)