{"id":27857765,"url":"https://github.com/runner365/cpp_streamer","last_synced_at":"2025-06-21T09:06:12.966Z","repository":{"id":179581749,"uuid":"663730803","full_name":"runner365/cpp_streamer","owner":"runner365","description":"cpp streamer work in dynamic modules for media develop. It include flv/mpegts/rtmp/webrtc modules, and go on developing more modules","archived":false,"fork":false,"pushed_at":"2025-03-28T09:09:27.000Z","size":49863,"stargazers_count":64,"open_issues_count":3,"forks_count":16,"subscribers_count":3,"default_branch":"v1.1","last_synced_at":"2025-06-21T09:05:54.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/runner365.png","metadata":{"files":{"readme":"README-CH.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-07-08T01:11:27.000Z","updated_at":"2025-06-08T02:36:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"d43f5da9-c3e7-41fd-9b65-b9ffd3649d03","html_url":"https://github.com/runner365/cpp_streamer","commit_stats":null,"previous_names":["runner365/cpp_streamer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/runner365/cpp_streamer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runner365%2Fcpp_streamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runner365%2Fcpp_streamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runner365%2Fcpp_streamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runner365%2Fcpp_streamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runner365","download_url":"https://codeload.github.com/runner365/cpp_streamer/tar.gz/refs/heads/v1.1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runner365%2Fcpp_streamer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261095311,"owners_count":23108784,"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":"2025-05-04T13:58:10.502Z","updated_at":"2025-06-21T09:06:07.936Z","avatar_url":"https://github.com/runner365.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cpp_streamer\ncpp streamer是基于C++11开发的音视频组件，使用者可以把组件串联起来实现自己的流媒体功能。\n\n支持多种媒体格式，流媒体直播/rtc协议。\n\n当前支持媒体格式与流媒体格式:\n* flv mux/demux\n* mpegts mux/demux\n* rtmp publish/play\n* srs whip\n* srs whip bench(srs webrtc性能压测)\n* mediasoup whip(mediaoup webrtc 性能压测)\n\n网络开发部分，采用高性能，跨平台的libuv网络异步库；\n\n## cpp streamer使用简介\ncpp streamer是音视频组件，提供串流方式开发模式。\n\n举例：flv文件转换成mpegts的实现，实现如下图\n\n![cpp_stream flv2mpegts](doc/imgs/flv2mpegts.png)\n\n* 先读取flv文件\n* 使用flvdemux组件：source接口导入文件二进制流，解析后，通过sinker接口输出视频+音频的媒体流；\n* 使用mpegtsmux组件: source接口导入上游解析后的媒体流后，组件内部进行mpegts的封装，再通过sinker接口输出mpegts格式；\n* 通过mpegtsmux组件的sinker接口组件输出，写文件得到mpegts文件；\n\n## cpp streamer应用实例\n\n* [flv转mpegts](doc/flv2mpegts.md)\n* [flv转rtmp推流](doc/flv2rtmp.md)\n* [mpegts转whip(webrtc http ingest protocol)，向srs webrtc服务推流](doc/mpegts2whip_srs.md)\n* [srs webrtc推流压测](doc/mpegts2whip_srs_bench.md)\n* [srs webrtc拉流压测](doc/whep_srs_bench.md)\n* [mediasoup broadcaster推流压测](doc/mpegts2mediasoup_push_bench.md)\n* [mediasoup broadcaster拉流压测](doc/mediasoup_pull_bench.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunner365%2Fcpp_streamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunner365%2Fcpp_streamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunner365%2Fcpp_streamer/lists"}