Explore the power of mpv-scut, a script tailored for mpv enthusiasts. Effortlessly define segments within your videos and seamlessly merge them into a polished, singular file – all without the need for reencoding, thanks to the combined strength of mpv and FFmpeg.
- Quickly set start and end points to define video segments.
- Save segment points to a text file for later use.
- Retry processing using saved segment points in case of failure.
- Merge segments into a single, polished video without reencoding.
- Utilize FFmpeg's efficiency for high-quality video processing.
- Enjoy intuitive key bindings for a user-friendly experience.
-
Download the
mpv-scut.luascript and save it in yourscriptsdirectory. You can locate thescriptsdirectory by runningmpv --list-scriptsor make it yourself. -
Open a video using
mpv. -
Use the following key bindings to control the script:
- Press
cto set the starting point of a segment. - Press
xto set the ending point of the current segment. - Press
sto save the segments to a text file. - Press
zto process and merge segments. - Press
rto retry processing using saved segment points from txt file.
- Press
-
The merged video, without reencoding, will be saved as
merged_video.mp4in the original video's directory.
Please Note: This script relies on the osd_message function in mpv, so ensure OSD messages are enabled in your mpv settings.