{"id":17694493,"url":"https://github.com/gianni-rosato/av1an-command-gen","last_synced_at":"2025-05-13T03:26:30.318Z","repository":{"id":214016142,"uuid":"735494382","full_name":"gianni-rosato/av1an-command-gen","owner":"gianni-rosato","description":"A tool for easily generating Av1an commands for AV1 encoding. Written in Zig.","archived":false,"fork":false,"pushed_at":"2024-04-26T06:06:01.000Z","size":15,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T06:13:02.796Z","etag":null,"topics":["av1","av1an","encoding","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gianni-rosato.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}},"created_at":"2023-12-25T06:12:11.000Z","updated_at":"2025-02-17T16:40:59.000Z","dependencies_parsed_at":"2024-01-23T07:45:24.167Z","dependency_job_id":null,"html_url":"https://github.com/gianni-rosato/av1an-command-gen","commit_stats":null,"previous_names":["gianni-rosato/av1an-command-gen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianni-rosato%2Fav1an-command-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianni-rosato%2Fav1an-command-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianni-rosato%2Fav1an-command-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianni-rosato%2Fav1an-command-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gianni-rosato","download_url":"https://codeload.github.com/gianni-rosato/av1an-command-gen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253865887,"owners_count":21976007,"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":["av1","av1an","encoding","zig"],"created_at":"2024-10-24T13:48:56.881Z","updated_at":"2025-05-13T03:26:30.258Z","avatar_url":"https://github.com/gianni-rosato.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Av1an Command Generator\n\nA tool for easily generating Av1an commands for AV1 encoding. Written in Zig.\n\n## Description\n\nThis program generates an AV1 video encoding command for use with [Av1an](https://github.com/master-of-zen/Av1an), a chunked AV1 encoding tool for use with [aomenc](https://aomedia.googlesource.com/aom/), [SVT-AV1](https://gitlab.com/AOMediaCodec/SVT-AV1/), and [rav1e](https://github.com/xiph/rav1e). \n\nThis tool takes in the video resolution, frame rate, desired encoder, speed preset, and target bitrate range as command line arguments. Based on these parameters, it calculates settings like tile columns/rows, lag-in-frames, CRF, and encoder speed preset. Then, it injects these into a generated encoding command string.\n\nThe output is a full `av1an` command that can be run to encode a video based on the specified settings.\n\n## Usage\n\n```bash\nav1an-command-gen [width] [height] [fps] [encoder] [speed] [bitrate_target]\n```\n\n- `width` - Input video width in pixels \n- `height` - Input video height in pixels\n- `fps` - Input video frame rate\n- `encoder` - `aom`, `svt`, or `rav1e`\n- `speed` - `slower`, `slow`, `med`, `fast`, `faster` \n- `bitrate_target` - `lowest`, `low`, `med`, `high`\n\n## Examples\n\nGenerate a command for encoding a 1280x720 video at 24 fps using rav1e at 'med' speed and 'low' bitrate target:\n\n```bash\nav1an-command-gen 1280 720 24 rav1e med low\n```\n\nGenerate a command for encoding a 1920x1080 video at 30 fps using svt-av1 at 'fast' speed and 'high' bitrate target:\n\n```bash\nav1an-command-gen 1920 1080 30 svt fast high\n```\n\n## Building\n\nThis program requires the [Zig](https://ziglang.org/) v0.11.0 programming language. \n\nTo build:\n\n```bash\nzig build\n```\n\nThis will produce a standalone binary `av1an-command-gen` in `zig-out/bin/`.\n\n## Contributing\n\nContributions are welcome! Please open an issue or pull request on GitHub.\n\n## License\n\nThis project is licensed under the BSD 3-Clause License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianni-rosato%2Fav1an-command-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgianni-rosato%2Fav1an-command-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianni-rosato%2Fav1an-command-gen/lists"}