Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
An mpv plugin for cutting videos incredibly quickly.
| Date | Stars |
|---|---|
| 2026-07-24 | 253 |
| 2026-07-25 | 253 |
| 2026-07-28 | 254 |
| 2026-07-30 | 254 |
| 2026-08-06 | 254 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# mpv-cut This extension allows you to: - Quickly cut videos both losslessly and re-encoded-ly. - Specify custom actions in a `config.lua` file to support your own use cases without having to modify the script itself or write your own extension. - Bookmark timestamps to a `.book` file and load them as chapters. - Save cut information to a `.list` file for backup and make cuts later. - Choose meaningful channel names to organize the aforementioned actions. All directly in the fantastic media player [mpv](https://mpv.io/installation/). ## Requirements Besides mpv, you must have `ffmpeg` in your PATH. If you're launching mpv from Finder/Explorer, FFmpeg must be in your actual system environment's PATH as opposed to your shell environment. This means that changes to `~/.profile` or the like will not suffice. As such, on my newest Macbook, after installing ffmpeg with homebrew I had to run the following: ``` sudo ln -s /opt/homebrew/bin/ffmpeg /usr/local/bin/ffmpeg ``` ## Tips To debug when launching from Finder/Explorer, use `` ` `` to display a terminal with output. ## Installation #### Linux/MacOS ``` git clone -b release --single-branch "https://github.com/familyfriendlymikey/mpv-cut.git" ~/.config/mpv/scripts/mpv-cut ``` #### Windows In `%AppData%\Roaming\mpv\scripts` or `Users\user\scoop\persist\mpv\scripts` run: ``` git clone -b release --single-branch "https://github.com/familyfriendlymikey/mpv-cut.git" ``` That's all you have to do, next time you run mpv the script will be automatically loaded. ## Usage ### Cutting A Video Losslessly - Press `c` to begin a cut. - Seek to a later time in the video. - Press `c` again to make the cut. The resulting cut will be placed in the same directory as the source file. You can press `C` to cancel a cut. ### Actions You can press `a` to cycle between three default actions: - Copy (lossless cut, rounds to keyframes). - Encode (re-encoded cut, exact). - List (simply add the timestamps for the cut to a `.list` file). More details in [Custom Actions](#custom-actions). ### Bookmarking Press `i` to append the current timestamp to a `.book` file. This automatically reloads the timestamps as chapters in mpv. You can navigate between these chapters with the default mpv bindings, `!` and `@`. ### Channels The resulting cuts and bookmark files will be prefixed a channel number. This is to help you categorize cuts and bookmarks. You can press `-` to decrement the channel and `=` to increment the channel. You can configure a name for each channel as shown in [config](#config). ### Utils This plugin includes a `utils` script that you can source in your shell's startup file. In my `~/.zshrc` I have this line: ``` source ~/.config/mpv/scripts/mpv-cut/utils ``` Now when you open new terminals, you'll have access to the functions inside of the `utils` script, which are used as follows: #### Making Cuts The `make_cuts` function takes a `.list` file and ffmpeg output options except for an output filename. To make cuts without reencoding: ``` make_cuts some_video.mp4.list -c copy ``` #### Concatenate, Merge, Combine, Join Cuts The `concat` function takes a prefix and ffmpeg output options. Any file in the current directory starting with the prefix will be included. For example, to concatenate all files in the current directory whose filename starts with `CUT` without reencoding: ``` concat CUT -c copy output.mp4 ``` ## Config You can configure settings by creating a `config.lua` file in `~/.config/mpv-cut` or in the same directory as `main.lua`. You can include or omit any of the following: ```lua -- Key config KEY_CUT = "c" KEY_CANCEL_CUT = "C" KEY_CYCLE_ACTION = "a" KEY_BOOKMARK_ADD = "i" KEY_CHANNEL_INC = "=" KEY_CHANNEL_DEC = "-" -- The list of channel names, you can choose whatever you want. CHANNEL_NAMES[1] = "FUNNY" -- The default channel CHANNEL = 1 -- The default action ACTION = "COPY" -- Delete a default action ACTIONS.LIST = nil ``` ### Cus
Excerpt of 9,568 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:9d110782491c3141, topic:video-editing