Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoradocchia committed Jun 30, 2022
1 parent 6633623 commit 039be57
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -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']
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# mpv-cutvid
<div align="center">
<h1 align="center">mpv-cutvid</h1>

![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)
</div>
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
Expand All @@ -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:
Expand Down Expand Up @@ -45,3 +56,7 @@ install it with:
```sh
sudo pacman -S bc
```

## License

[GPLv3](LICENSE)

0 comments on commit 039be57

Please sign in to comment.