Marker Color Labels

  • Author
  • Message
Offline

jcodeglia

  • Posts: 4
  • Joined: Thu Jun 08, 2023 11:43 pm
  • Real Name: James Codeglia

Marker Color Labels

PostThu Jul 03, 2025 2:17 am

Hello,
This may sound silly but some folks have trouble discerning colors when the colorful object is very small. For markers, it can be hard to tell which ones are Yellow and which ones are Lemon. Or for color blind folks (yes, they edit video, too) the difference between Cyan or Sky, or Purple or Blue, etc. It would be nice to have a tooltip pop-up when you hover your mouse over the marker in a timeline or elsewhere, to identify the name of the color of the marker. So if I hover my mouse over a marker that looks like it could be Yellow or Lemon, it says "Yellow" just so I know for sure. Same for the marker generation pop-up window. Also in the Viewers' "Show Markers Overlay" overlay. Also, in the Edit Index it's nice that it shows the colorful markers, but color names next to that would be lovely.

Thanks for listening. Hopefully you agree this would be helpful for some of your users. Cheers!
Offline

Jim Simon

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

Re: Marker Color Labels

PostFri Jul 04, 2025 3:48 pm

I would not like this. Instead, those relative few who need it could add that to the Marker's Name or Notes.
My Biases:

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

ShaheedMalik

  • Posts: 1620
  • Joined: Wed Aug 19, 2020 5:28 am
  • Real Name: Shaheed Malik

Re: Marker Color Labels

PostFri Jul 04, 2025 5:20 pm

You are just probably better off using the markers you can distinguish.
Offline

Christoph Schmid

  • Posts: 939
  • Joined: Thu Sep 26, 2019 10:15 am
  • Real Name: Christoph Schmid

Re: Marker Color Labels

PostSat Jul 05, 2025 12:37 pm

When I read your post, I thought that renaming the markers would be easy to do with a script....
So I wrote one:
Code: Select all
-- This script adds/removes the color name to the marker names
-- in the current timeline and the selected clips in the media pool.

--  Switch: true = add color name, false = remove color name
local prefixColor = true

resolve = Resolve()
project = resolve:GetProjectManager():GetCurrentProject()
timeline = project:GetCurrentTimeline()
mediaPool = project:GetMediaPool()
clips = mediaPool:GetSelectedClips()

function AddColor2Markers(markers, clip)
    for frame, m in pairs(markers) do
        local color, name = m.color, m.name
        local note = m.note or ""
        local duration = m.duration or 1.0
        local custom = m.customData or ""

        if prefixColor then
            if not string.find(name, color) then
                name = color .. " " .. name
            end
        else
            local pattern = "^" .. color .. "%s+"
            name = string.gsub(name, pattern, "", 1)
        end

        local target = clip or timeline
        if target then
            target:DeleteMarkerAtFrame(frame)
            target:AddMarker(frame, color, name, note, duration, custom)
        end
    end
end

if timeline then
    AddColor2Markers(timeline:GetMarkers())

    for _, t in ipairs({"video", "audio"}) do
        for i = 1, timeline:GetTrackCount(t) do
            if timeline:GetIsTrackEnabled(t, i) then
                for _, c in ipairs(timeline:GetItemListInTrack(t, i)) do
                    if next(c:GetMarkers()) then table.insert(clips, c) end
                end
            end
        end
    end
end

for _, c in ipairs(clips) do
    AddColor2Markers(c:GetMarkers(), c)
end


This script prepends the color name to the marker names in the current timeline and the selected clips in the media pool.
Save it as a .lua file in the scripts directory.
You will then find it in the Workspace menu.

Here is the script directory:

Mac OS X:
/Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Scripts
Windows:
%PROGRAMDATA%\Blackmagic Design\DaVinci Resolve\Fusion\Scripts
Linux:
/opt/resolve/Fusion/Scripts

Davinci Resolve Studio 20.0.1 Build 6
Windows 10 Pro 22H2
Davinci Resolve Studio 19.1.4 Build 11
Linux Ubuntu Studio 24.04 (Rocky 8.6 Container)

Return to DaVinci Resolve Feature Requests

Who is online

Users browsing this forum: No registered users and 30 guests