/mpv-clip-cutter

Yet another script for cutting up ̶p̶i̶z̶z̶a̶ video fragments with mpv.

Primary LanguageLua

mpv-clip-cutter

This is yet another script for mpv that helps me quickly cut clips from videos without resorting to advanced video processing tools. No weird dependencies, no reencoding.

Because every other script that I found was overly complicated or just simply didn't work.

Installation

Drop the cut.lua script from the repository into scripts directory that resides near mpv.conf :

${XDG_CONFIG_HOME:-$HOME/.config}/mpv/scripts

Dependencies

Shortcuts

  • c - mark the beggining of the cut
  • C - mark the end of the cut
  • Ctrl+c - make a cut

Script uses chapters as marks. In case you're not familiar with them:

  • ! - previous chapter
  • @ - next chapter