MarkersExtractor
MarkersExtractor copied to clipboard
Profiles & Formats (Logic Pro)
Ability to translate FCP's Marker Metadata into Logic Pro importable/compatible Marker file.
More details will be added soon.
https://support.apple.com/en-gb/guide/logicpro/lgcpadb63ff8/mac
A MIDI file can be used to import markers into Logic Pro. However there are a few tedious steps to it. This is currently the only viable way.
(See this comment: https://github.com/TheAcharya/MarkersExtractor/issues/23#issuecomment-1528109377)
https://support.apple.com/en-gb/guide/logicpro/lgcpadb63ff8/mac
I don't know how viable this is. Research would be needed to find out how to even do it. What we don't want is to generate a silent audio file that may take up a lot of space on disk. (Raw PCM can be gigabytes in size for a long timeline). If an audio file can be generated by the CLI with little or no actual audio data then it would be ideal.
I discovered something interesting. In Logic Pro, in the Marker List window, you can select all markers and copy them to the clipboard. It appears that it copies as plain text roughly formatted as TSV (tab separated values):
π 00:00:20:16.01 (To-Do) Penguin 00:00:00:00.01
π 00:00:25:05.01 (Standard) Flamingo Bird 00:00:00:00.01
π 00:00:35:23.01 Chapter 1 00:00:00:00.01
π 00:00:55:00.01 (To-Do) Red Crabs 00:00:00:00.01
π 00:01:17:20.01 (To-Do) Giraffe 00:00:00:00.01
π 00:01:44:16.01 (Standard) Mountains 00:00:00:00.01
π 00:01:57:02.01 (Completed) Frog Jump 00:00:00:00.01
π 00:02:39:17.01 (To-Do) Red Giant 00:00:00:00.01
π 00:03:03:14.01 (Standard) Kepler-36 00:00:00:00.01
π 00:03:12:20.01 Marker on Title 1 00:00:00:00.01
π 00:03:22:10.01 Marker on Title 2 00:00:00:00.01
π 00:03:35:13.01 Marker on Title 00:00:00:00.01
π 00:03:40:07.01 Chapter 5 00:00:00:00.01
π 00:03:48:16.01 (Standard) Surface Temperatures 00:00:00:00.01
π 00:04:12:15.01 (Completed) Lava 00:00:00:00.01
π 00:04:49:11.01 Chapter 2 00:00:00:00.01
π 00:05:13:16.01 Chapter 3 00:00:00:00.01
π 00:06:02:02.01 Cloud 1 00:00:00:00.01
π 00:06:28:08.01 Cloud 2 00:00:00:00.01
π 00:06:48:09.01 Cloud 3 00:00:00:00.01
π 00:07:08:20.01 Chapter 6 00:00:00:00.01
However, I believe it's using multiple pasteboards. Meaning it copies the markers to the clipboard using two system pasteboards: one is a proprietary data format, and the other is plain text.
Which means, we can't just output this same format and have the user copy it to their clipboard, since it won't convince Logic Pro to be able to paste it. I would have to reverse-engineer the proprietary pasteboard content and see if we could recreate it.
A MIDI file can be used to import markers into Logic Pro. However there are a few tedious steps to it. This is currently the only viable way.
(See this comment: #23 (comment))
For time-being, I can write the steps required in the Documentation.
(Raw PCM can be gigabytes in size for a long timeline). If an audio file can be generated by the CLI with little or no actual audio data then it would be ideal.
.mp3
file could yield a much smaller size?
.mp3 file could yield a much smaller size?
Havenβt looked into what the embedding is for the markers but Iβm fairly sure it will have to be wav or similar. However there may be a way to omit actual audio data or substitute it with a dummy of some sort.