{"id":21871990,"url":"https://github.com/lgc2333/video-to-webm","last_synced_at":"2025-04-15T00:01:59.891Z","repository":{"id":246677149,"uuid":"656355735","full_name":"lgc2333/video-to-webm","owner":"lgc2333","description":"Convert video / gif file to Telegram WebM sticker file","archived":false,"fork":false,"pushed_at":"2024-07-03T02:45:20.000Z","size":27,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T12:03:10.142Z","etag":null,"topics":["convert","converter","convertor","ffmpeg","gif","sticker","stickers","telegram","video","webm"],"latest_commit_sha":null,"homepage":"","language":"Python","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/lgc2333.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":["https://blog.lgc2333.top/donate"]}},"created_at":"2023-06-20T19:30:00.000Z","updated_at":"2024-07-20T01:24:24.000Z","dependencies_parsed_at":"2024-06-29T16:11:47.305Z","dependency_job_id":null,"html_url":"https://github.com/lgc2333/video-to-webm","commit_stats":null,"previous_names":["lgc2333/video-to-webm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgc2333%2Fvideo-to-webm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgc2333%2Fvideo-to-webm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgc2333%2Fvideo-to-webm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgc2333%2Fvideo-to-webm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lgc2333","download_url":"https://codeload.github.com/lgc2333/video-to-webm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981263,"owners_count":21193145,"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":["convert","converter","convertor","ffmpeg","gif","sticker","stickers","telegram","video","webm"],"created_at":"2024-11-28T06:16:21.446Z","updated_at":"2025-04-15T00:01:59.850Z","avatar_url":"https://github.com/lgc2333.png","language":"Python","funding_links":["https://blog.lgc2333.top/donate"],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD033 --\u003e\n\n# Video To WebM\n\nThis is a simple script that converts a video or gif file to Telegram WebM video sticker format using `ffmpeg`.  \n这是一个简单的脚本，使用 `ffmpeg` 将视频或 gif 文件转换为 Telegram WebM 视频贴纸格式。\n\n## Requirements / 依赖\n\n- Python 3.9+ (developed with Python 3.10.10 / 使用 Python 3.10.10 开发)\n- [ffmpeg \u0026 ffprobe](https://ffmpeg.org/download.html)\n- Required Python packages: (install with command below)  \n  需要的 Python 包：（使用下面的命令安装）\n\n  ```bash\n  pip install \"cookit[pyd]\" ffmpeg-python\n  ```\n\n## Usage / 用法\n\n```text\nusage: video-to-webm.py [-h] [-i [INPUT ...]] [-o OUTPUT] [-n | --nearest | --no-nearest] [-y]\n\noptions:\n  -h, --help\n          show this help message and exit\n\n  -i [INPUT ...], --input [INPUT ...]\n          input files or folders (prompted if not specified, can be specified multiple times, or specify a folder)\n          输入文件或文件夹路径（如果未指定则提示，可指定多项，或 指定一个文件夹）\n\n  -o OUTPUT, --output OUTPUT\n          output folder (defaults to \"output\" folder under current working directory)\n          输出文件夹（默认为工作目录下的 output 文件夹）\n\n  -n, --nearest, --no-nearest\n          use nearest neighbor scaling\n          是否使用最近邻插值缩放\n\n  -y, --yes\n          default to all prompts (overwrite output file, etc.)\n          默认使用所有提示的默认值（覆盖输出文件等）\n```\n\n## Contact / 联系方式\n\n- Telegram: [@lgc2333](https://t.me/lgc2333) / [@stupmbot](https://t.me/stupmbot)\n- Discord: [lgc2333](https://discordapp.com/users/810486152401256448)\n- Email: [lgc2333@126.com](mailto:lgc2333@126.com)\n- QQ: 3076823485 / Group: [1105946125](https://jq.qq.com/?_wv=1027\u0026k=Z3n1MpEp)\n\n## Sponsor Me / 赞助我\n\n**[Click here for more information  \n点击这里获取更多信息](https://blog.lgc2333.top/donate)**\n\nThanks for your support! Your support will make me continue to create contents!  \n感谢大家的赞助！你们的赞助将是我继续创作的动力！\n\n## License / 许可证\n\nThis project is licensed under the terms of the MIT license. See [LICENSE](LICENSE) for more information.  \n本项目使用 MIT 许可证授权。有关更多信息，请参见 [LICENSE](LICENSE)。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgc2333%2Fvideo-to-webm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flgc2333%2Fvideo-to-webm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgc2333%2Fvideo-to-webm/lists"}