{"id":13584892,"url":"https://github.com/wkentaro/video-cli","last_synced_at":"2025-05-07T09:46:08.550Z","repository":{"id":47505116,"uuid":"250322927","full_name":"wkentaro/video-cli","owner":"wkentaro","description":"Command line tools for quick video editing.","archived":false,"fork":false,"pushed_at":"2022-02-20T18:31:15.000Z","size":1331,"stargazers_count":131,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-16T21:24:31.519Z","etag":null,"topics":["cli","command-line","python","video"],"latest_commit_sha":null,"homepage":"","language":"Python","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/wkentaro.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}},"created_at":"2020-03-26T17:14:47.000Z","updated_at":"2025-01-16T10:28:20.000Z","dependencies_parsed_at":"2022-09-11T06:04:41.292Z","dependency_job_id":null,"html_url":"https://github.com/wkentaro/video-cli","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkentaro%2Fvideo-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkentaro%2Fvideo-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkentaro%2Fvideo-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkentaro%2Fvideo-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkentaro","download_url":"https://codeload.github.com/wkentaro/video-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252854331,"owners_count":21814668,"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","command-line","python","video"],"created_at":"2024-08-01T15:04:35.283Z","updated_at":"2025-05-07T09:46:08.524Z","avatar_url":"https://github.com/wkentaro.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003evideo-cli\u003c/h1\u003e\n  \u003ch3\u003eCommand line tools for quick video editing.\u003c/h3\u003e\n  \u003ca href=\"https://pypi.python.org/pypi/video-cli\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/video-cli.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/video-cli\"\u003e\u003cimg src=\"https://img.shields.io/pypi/pyversions/video-cli.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/wkentaro/video-cli/actions\"\u003e\u003cimg src=\"https://github.com/wkentaro/video-cli/workflows/ci/badge.svg\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\nVideo-cli is made aiming at editing video with a one-line\ncommand on a terminal. More detailed video editing can be done with\nother Python tools (e.g., [MoviePy](https://github.com/Zulko/moviepy))\nand GUI video editors (e.g., [iMovie](https://www.apple.com/imovie/)),\nwhich is not the goal of this tool.\n\n\n## Installation\n\n```bash\npip install video-cli\n```\n\n\n## Commands\n\n### `video-retime`: **Video Retiming (Speed Up/Down)**\n\n```bash\nvideo-retime data/2018-11-02_14-44-14.mp4 --retime 2\nvideo-retime data/2018-11-02_14-44-14.mp4 --retime 2 --inplace\n```\n\n### `video-togif`: **Create a GIF**\n\n```bash\nvideo-togif data/2018-11-02_14-44-14.mp4 --fps 2 --duration 5\nvideo-togif data/2018-11-02_14-44-14.mp4 --fps 2 --duration 5 --resize 0.5\n```\n\n### `video-trim`: **Video Triming**\n\n```bash\nvideo-trim data/2018-11-02_14-44-14.mp4 --start 3 --duration 5\n```\n\n### `video-tile`: **Video Tiling**\n\n```bash\nvideo-tile data/2018-11-02_14-44-14.mp4 data/2018-11-02_14-44-14.mp4 --shape 1x2 -o tile.mp4\n```\n\n### `video-toimg`: **Convert a Video to Images**\n\n```bash\nvideo-toimg data/2018-11-02_14-44-14.mp4 --per 10 --start 3 --duration 10\n```\n\n### `video-tovideo`: **Convert to Video**\n\n```bash\nvideo-tovideo data/2018-11-02_14-44-14.mp4\n```\n\n### `video-resize`: **Video Resizing**\n\n```bash\nvideo-resize data/2018-11-02_14-44-14.mp4 --scale 0.5\n```\n\n### `video-fromimg`: **Create a Video from Images**\n\n```bash\nvideo-toimg data/2018-11-02_14-44-14.mp4\nvideo-fromimg --input-files \"data/2018-11-02_14-44-14/*.jpg\" --fps 30 out.mp4\n```\n\n### `video-crop`: **Crop a region of a Video**\n\n```bash\nvideo-crop data/2018-11-02_14-44-14.mp4\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkentaro%2Fvideo-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkentaro%2Fvideo-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkentaro%2Fvideo-cli/lists"}