{"id":39042147,"url":"https://github.com/aak1247/rtsp2hls","last_synced_at":"2026-01-17T17:49:15.614Z","repository":{"id":128194015,"uuid":"587797836","full_name":"aak1247/rtsp2hls","owner":"aak1247","description":"out of box solution to convert rtsp stream to hls stream. 转流转码工具，可以转换RTSP流为HLS流","archived":false,"fork":false,"pushed_at":"2024-04-28T12:06:52.000Z","size":93,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-28T13:26:43.023Z","etag":null,"topics":["docker","docker-image","hls","hls-live-streaming","hls-stream","livestream","rtsp","rtsp-stream","rtsp-to-hls"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/aak1247.png","metadata":{"files":{"readme":"README.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}},"created_at":"2023-01-11T16:00:09.000Z","updated_at":"2024-04-28T12:06:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7e21f6a-7417-4889-b72a-18c1a8bdf53e","html_url":"https://github.com/aak1247/rtsp2hls","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aak1247/rtsp2hls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aak1247%2Frtsp2hls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aak1247%2Frtsp2hls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aak1247%2Frtsp2hls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aak1247%2Frtsp2hls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aak1247","download_url":"https://codeload.github.com/aak1247/rtsp2hls/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aak1247%2Frtsp2hls/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28513975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":["docker","docker-image","hls","hls-live-streaming","hls-stream","livestream","rtsp","rtsp-stream","rtsp-to-hls"],"created_at":"2026-01-17T17:49:15.535Z","updated_at":"2026-01-17T17:49:15.605Z","avatar_url":"https://github.com/aak1247.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RTSP2HLS\n\n| English | [简体中文](./README.zh-CN.md) |\n\n## Deploy\n\n```bash\ndocker run -d -p 3001:3001 --name rtsp2hls aak1247/rtsp2hls\n```\n\n1. docker image already contains ffmpeg package, can be deployed independently, the default temporary file directory is /app/dist/rtsp_temp.\n2. default port is 3001\n\n## Workflow\n\n1. The rtsp2hls service handles the url, concatenates the complete rtsp address, calls the ffmpeg sub-process to complete the rtsp to hls conversion, and creates a temporary folder to save the temporary files of the current stream.\n2. Periodically process the current stream, close the sub-process and delete the temporary file after timeout (default 5min)\n\n## Example\n\n\u003e If Request rtsp stream address: ``rtsp://1@2:xxx.bbb``, ``rtsp-stream`` service deployment address: ``http://localhost:3001``, then request ``http://localhost:3001/1@2:xxx.bbb`` to get hls stream\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faak1247%2Frtsp2hls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faak1247%2Frtsp2hls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faak1247%2Frtsp2hls/lists"}