{"id":21076195,"url":"https://github.com/rust-av/grav1synth","last_synced_at":"2025-04-05T00:06:08.250Z","repository":{"id":62444948,"uuid":"539200848","full_name":"rust-av/grav1synth","owner":"rust-av","description":"Grain Synth analyzer and editor for AV1 files","archived":false,"fork":false,"pushed_at":"2025-02-14T17:01:48.000Z","size":3394,"stargazers_count":61,"open_issues_count":10,"forks_count":7,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-28T23:04:29.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/rust-av.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-09-20T21:38:57.000Z","updated_at":"2025-03-23T21:29:58.000Z","dependencies_parsed_at":"2024-02-22T20:53:23.668Z","dependency_job_id":"0b11c7b5-5ccc-4d58-af6d-d87ba18fc0dc","html_url":"https://github.com/rust-av/grav1synth","commit_stats":{"total_commits":97,"total_committers":1,"mean_commits":97.0,"dds":0.0,"last_synced_commit":"9a212ad1c92262b79b3e561c8de39a981fac99b7"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-av%2Fgrav1synth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-av%2Fgrav1synth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-av%2Fgrav1synth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-av%2Fgrav1synth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-av","download_url":"https://codeload.github.com/rust-av/grav1synth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266563,"owners_count":20910836,"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":[],"created_at":"2024-11-19T19:27:16.355Z","updated_at":"2025-04-05T00:06:08.226Z","avatar_url":"https://github.com/rust-av.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grav1synth\n\n[![docs.rs](https://img.shields.io/docsrs/grav1synth?style=for-the-badge)](https://docs.rs/grav1synth)\n[![Crates.io](https://img.shields.io/crates/v/grav1synth?style=for-the-badge)](https://crates.io/crates/grav1synth)\n[![LICENSE](https://img.shields.io/crates/l/grav1synth?style=for-the-badge)](https://github.com/rust-av/grav1synth/blob/main/LICENSE)\n\nGrain Synth analyzer and editor for AV1 files\n\n## Build\n\n- Prerequisites:\n  - ffmpeg headers\n  - Rust compiler\n- Pull the repo\n- Run `cargo build --release`\n- Copy the binary from `target/release/grav1synth` to wherever you want\n\n## Usage\n\n### `grav1synth inspect my_encode.mkv -o grain_file.txt`\n\nReads `my_encode.mkv` and outputs a film grain table file at `grain_file.txt`\n\n### `grav1synth apply my_encode.mkv -o grainy_encode.mkv -g grain_file.txt`\n\nReads `my_encode.mkv`, adds film grain to it based on `grain_file.txt`, and outputs the video to `grainy_encode.mkv`\n\n### `grav1synth generate my_encode.mkv -o grainy_encode.mkv --iso 400 --chroma`\n\nReads `my_encode.mkv`, adds photon-noise-based film grain to it based on the strength provided by `--iso` (up to `6400`), and outputs the video to `grainy_encode.mkv`. By default applies grain to only the luma plane. `--chroma` enables grain on chroma planes as well.\n\n### `grav1synth remove my_encode.mkv -o clean_encode.mkv`\n\nReads `my_encode.mkv`, removes all synthesized film grain, and outputs the video at `clean_encode.mkv`\n\n### `grav1synth diff my_source.mkv denoised_source.mkv -o grain_file.txt`\n\nCompares `my_source.mkv` and `denoised_source.mkv` and generates a film grain table at `grain_file.txt` based on the difference between them. This will provide the most accurate estimation of source film grain.\n\n\u003c!-- ### `grav1synth estimate my_source.mkv -o grain_file.txt`\n\nAnalyzes `my_source.mkv` and estimates the amount of noise in the source, then generates an appropriate film grain table at `grain_file.txt`. This is less accurate than the diff method, but is significantly faster. --\u003e\n\n## Known Issues\n\n- There have been reports that certain videos will fail to apply film grain properly. This is likely related to aomenc's `--keyframe-filtering=2`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-av%2Fgrav1synth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-av%2Fgrav1synth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-av%2Fgrav1synth/lists"}