Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shadax1/mpv_segment_length
mpv script that displays the length of a segment from point A to point B in a video.
https://github.com/shadax1/mpv_segment_length
mpv-script
Last synced: 3 months ago
JSON representation
mpv script that displays the length of a segment from point A to point B in a video.
- Host: GitHub
- URL: https://github.com/shadax1/mpv_segment_length
- Owner: shadax1
- Created: 2023-07-29T23:01:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-21T05:17:58.000Z (12 months ago)
- Last Synced: 2024-06-30T11:28:36.148Z (4 months ago)
- Topics: mpv-script
- Language: Lua
- Homepage:
- Size: 389 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mpv - mpv_segment_length - Displays the length of a segment/range from point A to point B. (Playback)
README
# mpv_segment_length
[mpv](https://mpv.io/) script that displays the length of a segment from point A to point B in a video.
## How to install
Download `mpv_segment_length.lua` and place it inside your mpv scripts folder.
Scripts are usually placed in:
| OS | Location |
| --- | --- |
| GNU/Linux or macOS | `~/.config/mpv/scripts/` |
| Windows | `C:/Users/Username/AppData/Roaming/mpv/scripts/` |## How to use
Once the script is placed in the scripts folder, open a video, go anywhere in the video and use `Ctrl+z` to set the starting of point of the segment. Then you can move at any point after that to see how long the segment is.
Finally, you can use `Ctrl+x` to remove the displayed text.![demo](demo.png)