diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..d5825ed --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# These are supported funding model platforms + +github: marcoradocchia # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/README.md b/README.md index 4bdf547..ac06c8f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,15 @@ -# mpv-cutvid +
+

mpv-cutvid

+ + ![GitHub releases](https://img.shields.io/github/downloads/marcoradocchia/mpv-cutvid/total?color=%23a9b665&logo=github) + ![GitHub source size](https://img.shields.io/github/languages/code-size/marcoradocchia/mpv-cutvid?color=ea6962&logo=github) + ![GitHub open issues](https://img.shields.io/github/issues-raw/marcoradocchia/mpv-cutvid?color=%23d8a657&logo=github) + ![GitHub open pull requests](https://img.shields.io/github/issues-pr-raw/marcoradocchia/mpv-cutvid?color=%2389b482&logo=github) + ![GitHub sponsors](https://img.shields.io/github/sponsors/marcoradocchia?color=%23d3869b&logo=github) + ![GitHub license](https://img.shields.io/github/license/marcoradocchia/mpv-cutvid?color=%23e78a4e) +
MPV lua script to cut and merge video sections into a single clip, using ffmpeg -in the background +in the background. ## Description Lua MPV script which allows to cut/trim video file into clips which are @@ -10,14 +19,16 @@ commands is invoked. The script uses MPV's OSD messages for user interaction. -The output video will be created in the same directory as original one. +The output video will be created in the same directory as original one with the +following filename format: `YYYY-MM-DD_hh_mm_ss.mkv`. ## Keymaps Two default (but editable) keymaps are provides two keymaps: * `Ctrl+t`: start/end video clip timestamp, which are saved in temporary file - and passed to ffmpeg + and passed to ffmpeg; +* `Ctrl+Shift+t`: clear accidental start timestamp; * `Ctrl+p`: start trimming/merging clips (valid input only if paired start/end - timestamps have been saved) + timestamps have been saved). ## Installation In order to install the the scripts run the following commands: @@ -45,3 +56,7 @@ install it with: ```sh sudo pacman -S bc ``` + +## License + +[GPLv3](LICENSE)