{"id":21076228,"url":"https://github.com/rust-av/examples","last_synced_at":"2025-06-25T07:35:50.549Z","repository":{"id":40298282,"uuid":"302755711","full_name":"rust-av/examples","owner":"rust-av","description":"Examples of rust-av ecosystem usage. ","archived":false,"fork":false,"pushed_at":"2023-05-07T14:10:38.000Z","size":19,"stargazers_count":17,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T21:51:08.598Z","etag":null,"topics":["audio","examples","multimedia","rust","rust-av","video"],"latest_commit_sha":null,"homepage":"","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":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-09T21:20:01.000Z","updated_at":"2024-12-27T13:14:05.000Z","dependencies_parsed_at":"2023-01-19T03:00:36.857Z","dependency_job_id":null,"html_url":"https://github.com/rust-av/examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rust-av/examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-av%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-av%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-av%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-av%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-av","download_url":"https://codeload.github.com/rust-av/examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-av%2Fexamples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261827697,"owners_count":23215793,"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":["audio","examples","multimedia","rust","rust-av","video"],"created_at":"2024-11-19T19:27:31.896Z","updated_at":"2025-06-25T07:35:50.533Z","avatar_url":"https://github.com/rust-av.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust-AV examples\n\n[![Actions Status](https://github.com/rust-av/examples/workflows/examples/badge.svg)](https://github.com/rust-av/examples/actions)\n\nA series of some multimedia examples.  \nFeel free to add your own example opening up a new PR.\n\n## Build all examples\n\n```bash\ncargo build --workspace\n```\n\n**NOTE**: To build all examples, have a look at our [CI](https://github.com/rust-av/examples/blob/master/.github/workflows/examples.yml) to install the dependencies both on Linux and\nWindows operating systems.\n\n## Build a single example\n\n```bash\ncargo build --package EXAMPLE_NAME\n```\n\n**NOTE**: To build a single example, always have a look at [CI](https://github.com/rust-av/examples/blob/master/.github/workflows/examples.yml) to install the necessary dependencies\non all supported operating systems.\n\nFor example, if you want to build the `streams-info` example:\n\n```bash\ncargo build --package streams-info\n```\n\n## Run an example\n\n```bash\ncargo run --bin EXAMPLE_NAME -- [EXAMPLE_ARGUMENTS]\n```\n\nFor example, if you want to run the `streams-info` example:\n\n```bash\ncargo run --bin streams-info -- -i /path/to/your/matroska/file\n```\n\n## Building with vcpkg for Windows x64\n\nTo build with [vcpkg](https://vcpkg.io/en/index.html), you need to follow these\nsteps:\n\n1. Install `pkg-config` through [chocolatey](https://chocolatey.org/)\n\n       choco install pkgconfiglite\n\n2. Install `libvpx`\n\n       vcpkg install libvpx:x64-windows\n\n3. Install `opus`\n\n       vcpkg install opus:x64-windows\n\n4. Add to the `PKG_CONFIG_PATH` environment variable the path `$VCPKG_INSTALLATION_ROOT\\installed\\x64-windows\\lib\\pkgconfig`\n\n5. Build code\n\n       cargo build --workspace\n\nTo speed up the computation, you can build your packages only in `Release` mode\nadding the `set(VCPKG_BUILD_TYPE release)` line to the\n`$VCPKG_INSTALLATION_ROOT\\triplets\\x64-windows.cmake` file.\n\nBuilding for Windows x86 is the same, just replace `x64` with `x86` in the\nsteps above.\n\n## License\n\nReleased under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-av%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-av%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-av%2Fexamples/lists"}