Skip to content
This repository was archived by the owner on May 4, 2026. It is now read-only.
This repository was archived by the owner on May 4, 2026. It is now read-only.

Mac works great ..LUT 3D #4

@mrfragger

Description

@mrfragger

this is gonna be an interim solution until I figure out a better way.

Find among 500 LUTs whichever one which to encode then copy in with this copystuff.lua script.
Then paste it into encode.lua conf file and restart mpv then make the segement encodes apply the LUT cube filters.

in an encode.conf
append_filter=lut3d=/Users/username/.config/mpv/lut/abigailgonzalez/abigailgonzalez blade runner.cube

just just have
append_filter=lut3d=
ready to go and paste it and voila. Thanks a bunch for this useful copystuff script.

-- Copy Current LUT3d cube
local function copyLUT()
local lut = string.format("%s", mp.get_property_osd("lut"))

if set_clipboard(lut) then
    mp.osd_message(string.format("Current LUT Copied to Clipboard: %s", lut))
else
    mp.osd_message("Failed to copy LUT to clipboard")
end

end

-- Key-Bindings
mp.add_key_binding("s-t", "copyTime", copyTime)
mp.add_key_binding("s-h", "copyFilename", copyFilename)
mp.add_key_binding("s-i", "copyFullPath", copyFullPath)
mp.add_key_binding("s-u", "copySubtitle", copySubtitle)
mp.add_key_binding("s-q", "copyDuration", copyDuration)
mp.add_key_binding("s-g", "copyMetadata", copyMetadata)
mp.add_key_binding("s-,", "copyLUT", copyLUT)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions