{"id":19462628,"url":"https://github.com/webrtchacks/videofilestream","last_synced_at":"2025-05-02T18:18:56.829Z","repository":{"id":220588451,"uuid":"752023072","full_name":"webrtcHacks/videoFileStream","owner":"webrtcHacks","description":"Experiments in streaming a video file to WebRTC","archived":false,"fork":false,"pushed_at":"2024-02-20T12:08:36.000Z","size":51194,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T15:08:00.940Z","etag":null,"topics":["capturestream","getdisplaymedia","mediastream","webcodecs","webrtc"],"latest_commit_sha":null,"homepage":"https://webrtchacks.github.io/videoFileStream/","language":"HTML","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/webrtcHacks.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-02T20:57:41.000Z","updated_at":"2025-02-28T14:38:24.000Z","dependencies_parsed_at":"2025-02-25T12:57:55.413Z","dependency_job_id":null,"html_url":"https://github.com/webrtcHacks/videoFileStream","commit_stats":null,"previous_names":["webrtchacks/videofilestream"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrtcHacks%2FvideoFileStream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrtcHacks%2FvideoFileStream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrtcHacks%2FvideoFileStream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrtcHacks%2FvideoFileStream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webrtcHacks","download_url":"https://codeload.github.com/webrtcHacks/videoFileStream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251895479,"owners_count":21661345,"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":["capturestream","getdisplaymedia","mediastream","webcodecs","webrtc"],"created_at":"2024-11-10T18:04:19.284Z","updated_at":"2025-05-01T15:08:09.592Z","avatar_url":"https://github.com/webrtcHacks.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Examples of how to convert a video file to a `MediaStream` where it can be sent via WebRTC.\nSee [webrtcHacks post](https://webrtchacks.com/all-the-ways-to-…file-over-webrtc) for full details, commentary, and comparisons.\n\n### Examples\n- [getDisplayMedia of pop-out video file](screenshare/screenshareVideoPC.html) - load a video file into a pop-up and use `getDisplayMedia` for capture.\n- [VideoElement Capture Stream](captureStream/captureStream.html) - capture the video and audio directly from a `video` element. The audio is captured using the Web Audio API and combined with the video stream to create a `MediaStream`.\n- [VideoElement Capture Stream with WebAudio](captureStream/captureStreamWebAudio.html) - same as above, but experimenting with using WebAudio for local audio control.\n- [Canvas Capture + Web Audio](canvas/canvasCapture.html) - write a source video to a canvas and then use `canvas.captureStream()` to capture the video with Web Audio API to capture the audio.\n- [WebCodecs](WebCodecs/decodeToVideo.html) - load a video file and use WebCodecs to convert it to a MediaStream\n\n### Demos\n- [getDisplayMedia of pop-out video file](screenshare/screenshareVideoPC.html) - load a video file into a pop-up and use the `getDisplayMedia` for capture.\n- [VideoElement Capture Stream](captureStream/captureStream.html) - capture the video and audio directly from a `video` element. The audio is captured using the Web Audio API and combined with the video stream to create a `MediaStream`.\n- [VideoElement Capture Stream with WebAudio](captureStream/captureStreamWebAudio.html) - same as above, but experimenting with using WebAudio for local audio control.\n- [Canvas Capture + Web Audio](canvas/canvasCapture.html) - write a source video to a canvas and then use `canvas.captureStream()` to capture the video with Web Audio API to capture the audio.\n- [WebCodecs](WebCodecs/decodeToVideo.html) - load a video file and use WebCodecs to convert it to a MediaStream\n\n\n### CREDITS\nBig Buck Bunny video converted to 640x360 at 30 fps from [peach.blender.org](https://peach.blender.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebrtchacks%2Fvideofilestream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebrtchacks%2Fvideofilestream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebrtchacks%2Fvideofilestream/lists"}