{"id":17252067,"url":"https://github.com/ppetr/audio-to-opus","last_synced_at":"2025-03-26T07:23:12.059Z","repository":{"id":207536658,"uuid":"715647200","full_name":"ppetr/audio-to-opus","owner":"ppetr","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-16T12:05:03.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T08:44:22.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ppetr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-07T14:56:30.000Z","updated_at":"2023-11-16T08:31:08.000Z","dependencies_parsed_at":"2023-11-16T10:43:31.075Z","dependency_job_id":null,"html_url":"https://github.com/ppetr/audio-to-opus","commit_stats":null,"previous_names":["ppetr/audio-to-opus"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppetr%2Faudio-to-opus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppetr%2Faudio-to-opus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppetr%2Faudio-to-opus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppetr%2Faudio-to-opus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppetr","download_url":"https://codeload.github.com/ppetr/audio-to-opus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245606511,"owners_count":20643191,"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-10-15T06:52:57.207Z","updated_at":"2025-03-26T07:23:12.022Z","avatar_url":"https://github.com/ppetr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reduce the size of audio files by converting them to the [Opus audio format](https://en.wikipedia.org/wiki/Opus_(audio_format))\n\n_*Disclaimer:* This is not an officially supported Google product._\n\nThis is expecially convenient for audio-books that are often encoded with\nunnecessarily high bandwidth. And Opus is very well suited for low-bandwidth\nspeech encoding.\n\nThe script first checks the bandwidth of an input file using FFmpeg's\n[`ffprobe`](https://ffmpeg.org/ffprobe.html). If it's already low enough (at\nmost twice the target), it just creates a symlink to it. Otherwise it\nre-encodes it using `ffmpeg` (or\n[`ffmpeg-normalize`](https://github.com/slhck/ffmpeg-normalize) if present).\nThis makes the script [idempotent](https://en.wikipedia.org/wiki/Idempotence).\n\n# Installation\n\nPrerequisites:\n\n- Installed [`pipx`](https://pipx.pypa.io/stable/).\n- Installed [`ffmpeg`](https://ffmpeg.org/download.html).\n\nAfter checking out the repository run this command inside the checked out\ndirectory:\n\n```sh\npipx install .\n```\n\nAppend `--force` if reinstalling over a previous version.\n\n## Usage\n\n```sh\naudio2opus [-h] [--bitrate BITRATE] [--samplerate SAMPLERATE] input output\n```\n\n## Contributions\n\nPlease see [Code of Conduct](docs/code-of-conduct.md) and\n[Contributing](docs/contributing.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppetr%2Faudio-to-opus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppetr%2Faudio-to-opus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppetr%2Faudio-to-opus/lists"}