{"id":51752855,"url":"https://github.com/darkskygit/ffmpeg-pipeline","last_synced_at":"2026-07-19T02:45:13.555Z","repository":{"id":371303446,"uuid":"1296697940","full_name":"darkskygit/ffmpeg-pipeline","owner":"darkskygit","description":null,"archived":false,"fork":false,"pushed_at":"2026-07-14T10:40:07.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-19T02:45:06.139Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkskygit.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-10T16:30:30.000Z","updated_at":"2026-07-14T10:40:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/darkskygit/ffmpeg-pipeline","commit_stats":null,"previous_names":["darkskygit/ffmpeg-pipeline"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/darkskygit/ffmpeg-pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkskygit%2Fffmpeg-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkskygit%2Fffmpeg-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkskygit%2Fffmpeg-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkskygit%2Fffmpeg-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkskygit","download_url":"https://codeload.github.com/darkskygit/ffmpeg-pipeline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkskygit%2Fffmpeg-pipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35638917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-19T02:00:06.923Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-07-19T02:45:12.923Z","updated_at":"2026-07-19T02:45:13.547Z","avatar_url":"https://github.com/darkskygit.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ffmpeg-pipeline\n\n[![Crates.io](https://img.shields.io/crates/v/ffmpeg-pipeline.svg)](https://crates.io/crates/ffmpeg-pipeline)\n[![Documentation](https://docs.rs/ffmpeg-pipeline/badge.svg)](https://docs.rs/ffmpeg-pipeline)\n[![CI](https://github.com/darkskygit/ffmpeg-pipeline/actions/workflows/ffmpeg-sdk.yml/badge.svg)](https://github.com/darkskygit/ffmpeg-pipeline/actions/workflows/ffmpeg-sdk.yml)\n[![License](https://img.shields.io/badge/license-AGPL--3.0--only-blue.svg)](LICENSE)\n\n`ffmpeg-pipeline` provides composable Rust APIs for common media-processing workflows on top of [`ffmpeg-next`](https://crates.io/crates/ffmpeg-next). It operates directly through FFmpeg libraries and never invokes the `ffmpeg` command-line program.\n\n## Features\n\n- Decode audio and video streams as packets or frames.\n- Encode audio and video with configurable codec parameters and metadata.\n- Resample, reformat, and buffer audio for encoder frame requirements.\n- Scale decoded video frames.\n- Remux selected streams while preserving or replacing stream metadata.\n- Read from files, byte buffers, or custom `Read + Seek` sources.\n- Write to files, byte buffers, or custom `Write + Seek` destinations.\n- Inspect stream metadata and calculate video frame counts.\n\n## Installation\n\n```toml\n[dependencies]\nffmpeg-pipeline = \"0.1\"\nlog = \"0.4\"\n```\n\nThe crate links FFmpeg statically. Provide a compatible FFmpeg 7.1 installation through `FFMPEG_DIR`, or enable source compilation:\n\n```toml\n[dependencies]\nffmpeg-pipeline = { version = \"0.1\", features = [\"build-from-source\"] }\n```\n\nThe available codecs and formats are determined by the linked FFmpeg build. Platform system libraries and frameworks may still be required; third-party FFmpeg dependencies must be linked statically.\n\n## Example\n\n```rust,no_run\nuse ffmpeg_pipeline::{initialize, input_file, parse_stream_info};\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    initialize(log::Level::Error)?;\n\n    let input = input_file(\"sample.mkv\")?;\n    for stream in input.streams() {\n        let info = parse_stream_info(\u0026stream)?;\n        println!(\"{}: {} ({})\", stream.index(), info.get_title(), info.format);\n    }\n\n    Ok(())\n}\n```\n\nCall `initialize` once before creating FFmpeg contexts. See the [API documentation](https://docs.rs/ffmpeg-pipeline) for decoding, encoding, remuxing, scaling, and custom I/O types.\n\n## Status\n\nThe crate is under active development. The public API may change before version 1.0.\n\n## License\n\nCopyright © 2023–2026 DarkSky.\n\nLicensed under the [GNU Affero General Public License, version 3 only](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkskygit%2Fffmpeg-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkskygit%2Fffmpeg-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkskygit%2Fffmpeg-pipeline/lists"}