{"id":25852062,"url":"https://github.com/anttiai/bpm","last_synced_at":"2026-04-16T19:33:55.762Z","repository":{"id":276276715,"uuid":"917026213","full_name":"anttiai/bpm","owner":"anttiai","description":"Broadcast Performance Metrics (BPM) for AWS IVS Multitrack Streaming","archived":false,"fork":false,"pushed_at":"2025-05-04T12:11:23.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T13:21:21.708Z","etag":null,"topics":["aws","aws-ivs","bpm","ivs"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anttiai.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}},"created_at":"2025-01-15T08:01:58.000Z","updated_at":"2025-05-04T12:11:26.000Z","dependencies_parsed_at":"2025-05-04T13:20:11.906Z","dependency_job_id":"ae7186a6-56e4-4dd7-8f48-1aa1ce79c7d7","html_url":"https://github.com/anttiai/bpm","commit_stats":null,"previous_names":["anttiai/bpm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anttiai/bpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anttiai%2Fbpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anttiai%2Fbpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anttiai%2Fbpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anttiai%2Fbpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anttiai","download_url":"https://codeload.github.com/anttiai/bpm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anttiai%2Fbpm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31901598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aws","aws-ivs","bpm","ivs"],"created_at":"2025-03-01T13:19:47.077Z","updated_at":"2026-04-16T19:33:55.743Z","avatar_url":"https://github.com/anttiai.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Broadcast Performance Metrics (BPM)\nLibrary for collecting Broadcast Performance Metrics for AWS IVS Multitrack Streaming. Written in Rust, with support for C and C++ via a Foreign Function Interface (FFI).\nThe user should send metrics in-band via SEI (for AVC/HEVC) or OBU (AV1) messages on all video tracks just prior to the IDR. This library maintains internal state within single process.\n\n## Concept\nIntegrate with encoding software such as FFmpeg or GStreamer. Call **bpm_frame_encoded** after successfully encoding a frame. Use **bpm_frame_lagged** and **bpm_frame_dropped** to track lagged and dropped frames, respectively. For keyframes, render and fetch metrics using **bpm_render_ts_ptr**, **bpm_render_sm_ptr**, and **bpm_render_erm_ptr**. Inject the returned data into SEI or OBU messages and free the memory with **bpm_destroy**.\n\n## Build\n```bash\ncargo build --release\n```\n\n## Example in C\nBuild and run the C example\n```bash\ngcc -o build/example example.c -Ltarget/release/ -lbpm\n./build/example\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanttiai%2Fbpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanttiai%2Fbpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanttiai%2Fbpm/lists"}