{"id":18870253,"url":"https://github.com/thor77/rtmp2hls","last_synced_at":"2025-04-14T15:21:06.991Z","repository":{"id":61923658,"uuid":"223670901","full_name":"Thor77/rtmp2hls","owner":"Thor77","description":"Simple rtmp server with hls output","archived":false,"fork":false,"pushed_at":"2024-06-23T13:18:46.000Z","size":86,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T04:11:25.314Z","etag":null,"topics":["hls","rtmp"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Thor77.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}},"created_at":"2019-11-24T00:14:39.000Z","updated_at":"2024-06-23T13:18:11.000Z","dependencies_parsed_at":"2024-06-21T18:54:21.629Z","dependency_job_id":"2f3cd579-5cea-4356-b651-78402f1ea5d8","html_url":"https://github.com/Thor77/rtmp2hls","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thor77%2Frtmp2hls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thor77%2Frtmp2hls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thor77%2Frtmp2hls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thor77%2Frtmp2hls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thor77","download_url":"https://codeload.github.com/Thor77/rtmp2hls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904622,"owners_count":21180836,"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":["hls","rtmp"],"created_at":"2024-11-08T05:19:29.765Z","updated_at":"2025-04-14T15:21:06.967Z","avatar_url":"https://github.com/Thor77.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtmp2hls\nSimple rtmp server with hls output based on [joy4](https://github.com/nareix/joy4)\n\n## Build\n```\ngo build .\n```\n\n## Usage\n```\n./rtmp2hls [\u003cpath to config file\u003e]\n```\nIf config path not provided, config will be read from `config.toml` in the current directory.\n\n`\u003cstreamname\u003e\u003csegment index\u003e.ts` segments and `\u003cstreamname\u003e.m3u8` playlist are written to the current directory.\n\n### Streaming\nUsing [ffmpeg](https://ffmpeg.org/)\n```\nffmpeg -i \u003cinput file\u003e -f flv \"rtmp://localhost/stream01\"\n```\n\n## Configuration\n| key | type | default | description |\n|-----|------|---------|-------------|\n| Addr | `string` | `\":1935\"` | RTMP server listen address |\n| Key | `string` | | Expected value of `key` query parameter for connecting clients (disabled if unset) |\n| MsPerSegment | `int64` | `15000` | Milliseconds of video/audio written to one segment file |\n| LogLevel | `log.Level` | `\"info\"` | Level for the internal logger |\n| HLSDirectory | `string` | `\".\"` | Directory to write playlist/segment files into\n| BaseURL | `string` | | Base URL to use as a prefix for segment files in playlist file |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthor77%2Frtmp2hls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthor77%2Frtmp2hls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthor77%2Frtmp2hls/lists"}