{"id":20410406,"url":"https://github.com/speyll/mpv-scut","last_synced_at":"2025-04-12T15:53:22.980Z","repository":{"id":191642949,"uuid":"685085292","full_name":"Speyll/mpv-scut","owner":"Speyll","description":"Explore mpv-scut, a versatile script designed for mpv users, enabling seamless video segmentation and merging. Easily define video segments and effortlessly merge them into a single, polished file, all without the need for reencoding. 🎬","archived":false,"fork":false,"pushed_at":"2024-07-30T06:38:08.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T10:21:31.954Z","etag":null,"topics":["ffmpeg","ffmpeg-script","lua","mpv","mpv-config","mpv-script","mpv-scripts","scripts"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Speyll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-30T13:39:09.000Z","updated_at":"2025-02-04T15:56:24.000Z","dependencies_parsed_at":"2023-08-30T22:42:31.009Z","dependency_job_id":"d36f39f4-5857-4ba5-997e-44f59a3e7734","html_url":"https://github.com/Speyll/mpv-scut","commit_stats":null,"previous_names":["speyll/mpv-scut"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Speyll%2Fmpv-scut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Speyll%2Fmpv-scut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Speyll%2Fmpv-scut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Speyll%2Fmpv-scut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Speyll","download_url":"https://codeload.github.com/Speyll/mpv-scut/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248592162,"owners_count":21130197,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ffmpeg","ffmpeg-script","lua","mpv","mpv-config","mpv-script","mpv-scripts","scripts"],"created_at":"2024-11-15T05:46:00.709Z","updated_at":"2025-04-12T15:53:22.955Z","avatar_url":"https://github.com/Speyll.png","language":"Lua","readme":"Explore the power of `mpv-scut`, a script tailored for [mpv](https://mpv.io/) enthusiasts. Effortlessly define segments within your videos and seamlessly merge them into a polished, singular file – all without the need for reencoding, thanks to the combined strength of mpv and FFmpeg.\n\n## Key Features\n\n- Quickly set start and end points to define video segments.\n- Save segment points to a text file for later use.\n- Retry processing using saved segment points in case of failure.\n- Merge segments into a single, polished video without reencoding.\n- Utilize FFmpeg's efficiency for high-quality video processing.\n- Enjoy intuitive key bindings for a user-friendly experience.\n\n## Usage Guidelines\n\n1. Make sure you have [mpv](https://mpv.io/) and [FFmpeg](https://ffmpeg.org/) installed on your system.\n2. Download the `mpv-scut.lua` script and save it in your `scripts` directory. You can locate the `scripts` directory by running `mpv --list-scripts` or make it yourself.\n3. Open a video using `mpv`.\n4. Use the following key bindings to control the script:\n   - Press `c` to set the starting point of a segment.\n   - Press `x` to set the ending point of the current segment.\n   - Press `s` to save the segments to a text file.\n   - Press `z` to process and merge segments.\n   - Press `r` to retry processing using saved segment points from txt file.\n\n5. The merged video, without reencoding, will be saved as `merged_video.mp4` in the original video's directory.\n\n**Please Note:** This script relies on the `osd_message` function in mpv, so ensure OSD messages are enabled in your mpv settings.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeyll%2Fmpv-scut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspeyll%2Fmpv-scut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeyll%2Fmpv-scut/lists"}