{"id":21268761,"url":"https://github.com/sacconazzo/rpi-hls-webapp","last_synced_at":"2026-05-17T17:09:14.662Z","repository":{"id":263803080,"uuid":"848968815","full_name":"sacconazzo/rpi-hls-webapp","owner":"sacconazzo","description":"HTTP Live Stream from RPI camera","archived":false,"fork":false,"pushed_at":"2025-02-20T15:55:36.000Z","size":226,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T16:40:01.707Z","etag":null,"topics":["camera","ffmpeg","hls","http","libcamera-vid","raspberry-pi","stream","streaming","video"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/sacconazzo.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":"2024-08-28T18:27:43.000Z","updated_at":"2025-02-20T15:52:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e7951d6-4680-4d1f-815a-e390266add67","html_url":"https://github.com/sacconazzo/rpi-hls-webapp","commit_stats":null,"previous_names":["sacconazzo/rpi-hls-webapp"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sacconazzo%2Frpi-hls-webapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sacconazzo%2Frpi-hls-webapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sacconazzo%2Frpi-hls-webapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sacconazzo%2Frpi-hls-webapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sacconazzo","download_url":"https://codeload.github.com/sacconazzo/rpi-hls-webapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243725527,"owners_count":20337666,"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":["camera","ffmpeg","hls","http","libcamera-vid","raspberry-pi","stream","streaming","video"],"created_at":"2024-11-21T08:06:17.837Z","updated_at":"2026-05-17T17:09:14.645Z","avatar_url":"https://github.com/sacconazzo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP Live Stream (HLS) from RPI camera\n\nIncluding a web interface with player and commands to start and stop data flow from the source\n\n## How to stream from RPI to web throw HTTP\n\n### On your RPI\n\n#### Prereq\n\n- **PI with OS Bullseye** or latest\n- **RPI Camera** hardware module\n- **ffmpeg** installed\n\n#### Execution\n\n- Capture and process video command `rpicam-vid -t-0 --width 640 --height 480 --framerate 30 --codec h264 --bitrate 500000 -o - | ffmpeg -i - -c copy -f hls -hls_time 4 -hls_list_size 5 -hls_flags delete_segments -hls_segment_filename './stream/segment*%03d.ts' ./stream/index.m3u8`\n\n  - `rpicam-vid` \u003e Captures video from the hardware and encodes it into the desired format (H.264 in this case)\n  - `ffmpeg` \u003e Get the incoming video stream and generates HLS (HTTP Live Streaming) segments and playlist files.\n\n- A simple http server serving static content: This implies that you'll need a basic web server to serve the generated HLS content (.m3u8 playlist and .ts segment files) to clients.\n  - In this scenario, the server will manage the start and stop of the video process, interacting with the client through REST and Socket.io for real-time communication.\n\n### Client side\n\n- A HLS player (on browser, VLC, ...)\n\n---\n\n![sample 2 instance on play](./assets/Screenshot%202024-08-31%20alle%2012.32.47.png)\n(sample with 2 instance on play)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsacconazzo%2Frpi-hls-webapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsacconazzo%2Frpi-hls-webapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsacconazzo%2Frpi-hls-webapp/lists"}