{"id":26748330,"url":"https://github.com/runabol/vidproxy","last_synced_at":"2025-03-28T10:17:27.277Z","repository":{"id":211299019,"uuid":"728755079","full_name":"runabol/vidproxy","owner":"runabol","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-07T16:41:13.000Z","size":141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-16T12:43:23.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/runabol.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-12-07T16:12:07.000Z","updated_at":"2023-12-07T16:13:14.000Z","dependencies_parsed_at":"2023-12-07T17:42:05.680Z","dependency_job_id":"d22ddee7-6966-4e43-9dbc-0cdfbbccf97d","html_url":"https://github.com/runabol/vidproxy","commit_stats":null,"previous_names":["runabol/vidproxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runabol%2Fvidproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runabol%2Fvidproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runabol%2Fvidproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runabol%2Fvidproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runabol","download_url":"https://codeload.github.com/runabol/vidproxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246009169,"owners_count":20708907,"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-03-28T10:17:26.733Z","updated_at":"2025-03-28T10:17:27.269Z","avatar_url":"https://github.com/runabol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Video Proxy\n\nNode server to transcode video files and stream on the fly via HLS.\n\n#### Note: requires **[ffmpeg](http://ffmpeg.org)**\n\n### What is the problem?\n\nStreaming videos of any format on demand with seeking.\n\n### How to achieve this?\n\nUsing FFmpeg and HTTP Live Streaming (HLS) protocol.\n\nGenerate the full `.m3u8` playlist immediately so the client behaves as if the entire video is ready to play. In order to make the playlist ahead of time we need to set a static segment length. When the client seeks to a portion of the video that has not been transcoded yet, we cancel the current job and start a new one.\n\n## How it Works\n\n1. Receive request to start stream session (i.e. `localhost:4000/stream/name-of-movie.mkv`)\n2. Get metadata from video file using FFprobe\n3. Use file metadata \u0026 client limitations to determine how the video will be transcoded (or if)\n4. Generate `.m3u8` playlists\n5. Start the FFmpeg job of remuxing video to HLS\n6. Listen for `.m3u8` and `.ts` requests from client player (HLS.js)\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunabol%2Fvidproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunabol%2Fvidproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunabol%2Fvidproxy/lists"}