Nick Janetakis05 phút
Visually Create Video Clips with mpv, FFmpeg and a Lua Extension — Nick Janetakis
A walkthrough of a custom Lua script for mpv that enables visual video clip creation using chapter markers and FFmpeg. The script adds four key bindings to set start/end markers, create clips, and clear markers. FFmpeg handles the actual clip extraction without re-encoding. Quality-of-life features include auto-pausing after setting the end mark, on-screen timestamp display, safe auto-incrementing file names, and preserving the original file's modification timestamp.