{"id":26581667,"url":"https://github.com/besworks/vid2webp","last_synced_at":"2026-04-17T09:31:26.908Z","repository":{"id":282669310,"uuid":"949304487","full_name":"besworks/vid2webp","owner":"besworks","description":"Easily clip videos into animated webp format using ffmpeg","archived":false,"fork":false,"pushed_at":"2025-03-18T21:28:17.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T07:33:29.668Z","etag":null,"topics":["animated-webp","convert","ffmpeg","shell"],"latest_commit_sha":null,"homepage":"https://aur.archlinux.org/packages/vid2webp-git","language":"Shell","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/besworks.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":"2025-03-16T06:17:52.000Z","updated_at":"2025-03-18T22:37:38.000Z","dependencies_parsed_at":"2025-03-16T07:24:21.309Z","dependency_job_id":"24464133-989f-4434-b091-8843e2cce7f9","html_url":"https://github.com/besworks/vid2webp","commit_stats":null,"previous_names":["besworks/vid2webp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/besworks/vid2webp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/besworks%2Fvid2webp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/besworks%2Fvid2webp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/besworks%2Fvid2webp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/besworks%2Fvid2webp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/besworks","download_url":"https://codeload.github.com/besworks/vid2webp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/besworks%2Fvid2webp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["animated-webp","convert","ffmpeg","shell"],"created_at":"2025-03-23T07:31:08.582Z","updated_at":"2026-04-17T09:31:26.881Z","avatar_url":"https://github.com/besworks.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vid2webp\n\nEasily clip videos into animated webp format using ffmpeg. Automatically crops black bars and optionally applies scaling to the result.\n\n## Basic Usage\n\n```bash\n$ vid2webp \u003cinput_file\u003e [start_time] [end_time] [out_name]\n```\n\nNo flags, just positional parameters for brevity. To set `end_time`, `start_time` must be provided first. Don't add **.webp** to `out_name`, it will be added automatically. If not provided, `out_name` will be the original file name with .webp extension. If that file exists, it will add `-1`, `-2`, etc to filename incrementally.\n\nSo, basic usage looks like this:\n```bash\n$ vid2webp vidfile.mp4 5 15\n$ vid2webp vidfile.mp4 30 45\n$ vid2webp vidfile.mp4 54 66\n```\n\nWhich generates:\n```\nvidfile.webp\nvidfile-1.webp\nvidfile-2.webp\n```\n\n## Advanced Usage\n\nSeveral parameters can be set by ENV variable.\n\n```bash\n$ [SCALE=1] [FPS=20] [SAMPLE=\u003cstart_time\u003e|1] [FRAMES=10] vid2webp \u003cinput_file\u003e [start_time] [end_time] [out_name]\n```\n\n### Scaling\n\nTo scale and convert entire video :\n```\n$ SCALE=0.5 vid2webp vidfile.mp4\n```\n\n### Auto Cropping\n\nThis tool automatically crops black bars. This is also useful if clipping a compilation with a mix of portrait and landscape videos. It does this by sampling 10 frames from the start time provided (or 1 second mark if no start time provided). You can override the sample time by ENV variable. Supported formats are the same as for start time parameter. Sample frame count can also be set this way though 10 frames should be fine in basically every case. The first crop value detected will be used so extra frames don't really help, but too few frames may not provide enough data to actually detect the video dimensions.\n\n```bash\n$ SAMPLE=90 FRAMES=30 vid2webp vidfile.mp4\n```\n\n### Frame Rate\n\nThe default frame rate is set at **20fps** to keep the output filesize down but you can set this to any value that you want.\n\n```bash\n$ FPS=30 vid2webp vidfile.mp4\n```\n\n### Batch processing\n\nAny value set by ENV var persists until changed to make batch processing easier.\n\n```bash\n$ FPS=30 SAMPLE=5 vid2webp video.mp4 0 10 # set framerate, override initial sample position\n$ vid2webp video.mp4 10 20 # outputs to video-1.webp\n$ vid2webp video.mp4 20 30 # outputs to video-2.webp\n$ unset SAMPLE # revert to automatic crop detection\n$ vid2webp video.mp4 30 40 # continue sequential output:\n$ SCALE=1.5 vid2webp video.mp4 40 50 larger # outputs as larger.webp\n$ SCALE=0.5 vid2webp video.mp4 40 50 smaller #  output as smaller.webp\n$ SCALE=1 vid2webp video.mp4 40 50 # reset scale and continue sequential output\n$ vid2webp video.mp4 65.2 75.6  # use millisecond prescion if desired\n$ vid2webp video.mp4 \"00:07:05\" \"00:07:25\" # or full timestamp notation\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbesworks%2Fvid2webp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbesworks%2Fvid2webp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbesworks%2Fvid2webp/lists"}