{"id":19767774,"url":"https://github.com/guanzo/trim-merge","last_synced_at":"2025-04-30T16:34:03.614Z","repository":{"id":114742410,"uuid":"136292313","full_name":"guanzo/trim-merge","owner":"guanzo","description":"Trim and merge videos","archived":false,"fork":false,"pushed_at":"2024-02-13T09:03:25.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T03:06:11.105Z","etag":null,"topics":["cli","ffmpeg","merge","trim","video"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guanzo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-06-06T07:46:26.000Z","updated_at":"2024-02-13T09:02:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"69507bdd-3a99-4664-aff3-5d5566edc0a2","html_url":"https://github.com/guanzo/trim-merge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanzo%2Ftrim-merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanzo%2Ftrim-merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanzo%2Ftrim-merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanzo%2Ftrim-merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guanzo","download_url":"https://codeload.github.com/guanzo/trim-merge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251742802,"owners_count":21636514,"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":["cli","ffmpeg","merge","trim","video"],"created_at":"2024-11-12T04:32:20.417Z","updated_at":"2025-04-30T16:34:03.217Z","avatar_url":"https://github.com/guanzo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trim-Merge  \n##### Under active development\n\nTrim and - you guessed it - merge videos. There are a ton of tools out there that can trim and merge, so why use this? \u003cnobr\u003eTrim-merge\u003c/nobr\u003e is focused, lightweight, and dead simple. \n\n1. Download trim-merge and [ffmpeg](http://www.ffmpeg.org) if you don't already have it.\n\n// TODO :)\n\n2. Create a config.yml file that describes your inputs and outputs.\n\n```yaml\n# config.yml\n\nclips:\n  - input: video.mp4\n    output: merged.mp4\n    clips:\n      - time: 00:05-00:10\n      - time: 00:15-00:20\n```\n\n```\n# Example directory:\n\n/Videos\n  -config.yml\n  -video.mp4\n```\n3. Run trim-merge.\n\n```\n$ cd /Videos\n$ trim-merge\n```\n\n\n```\n# Example directory:\n\n/Videos\n    -config.yml\n    -merged.mp4\n    -video.mp4\n```\n\nNOTE: trim-merge requires ffmpeg to be installed and available as a PATH variable.\n\n### But seriously, why should I use this?\n\nAll media editing tools can trim and merge videos, but they often times have lots of other features as well. If all you care about is trim/merge, these other features can get in the way. The GUI's are cluttered with buttons, menus, and widgets, causing you dig through the documentation or google for help. Trim-merge is focused solely on trimming and merging video.\n\nIf you need to trim a video multiple times, doing that with a GUI can be slow and repetitive. With trim-merge you define all your trim timestamps in a text file. This allows you to bypass the GUI and move as fast as you can with the keyboard, mouse, and good ole ```Ctrl + C```.\n\nYou might be thinking, \"But guanzo, ffmpeg is much more powerful and I can automate ffmpeg commands with a script!\". \n\n...\n\n:thumbsup:","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguanzo%2Ftrim-merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguanzo%2Ftrim-merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguanzo%2Ftrim-merge/lists"}