/mpv-plugin-excerpt-v2

An up to date fork of the original mpv-plugin-excerpt with various improvements such as encoding/no encoding export toggle.

Primary LanguageLuaGNU General Public License v2.0GPL-2.0

MPV-PLUGIN-EXCERPT-v2

This MPV plugin allows you to extract a portion of the video you're watching just by hitting "i" to set the IN point, "o" to set the OUT point and finally pressing "x" to export.

A new file with the same name prefix as the original will be generated in the same directory.

NB: This plugin suports multiple encoding profiles: ACCURATE (CPU encoding), ACCURATE (GPU encoding) and FAST (only muxing, no encoding). The FAST option will export your video segment in the blink of an eye. HOWEVER, it might not be as accurate of a cut as you wish. If you're aiming for frame-accurate cut, make sure to use the ACCURATE modes with E.

This fork of the original project aims to provide a cleaner and bloat-free expirience.

Base requirements

  • ffmpeg (mandatory)

Requirements for HW encoding using the GPU

  • pciutils (needed for auto-selection of GPU encoder)
  • cuda if you're using an NVIDIA GPU or
  • intel-vaapi-driver, intel-media-driver or any other appropriate package depending on your model, if you're using an INTEL GPU. See this page for more info.