Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac works great ..LUT 3D #4

Open
mrfragger opened this issue Oct 16, 2024 · 0 comments
Open

Mac works great ..LUT 3D #4

mrfragger opened this issue Oct 16, 2024 · 0 comments

Comments

@mrfragger
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant