Glimesh / Glimesh/waveguide

Save H264 video to disk

Open
#10 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
40
Forks
8
PR merge metrics
No merged PRs in 30d

Description

In order to support our future goals of providing users Video on Demand of previous streams, and Clips of particular sections of a live stream, we need to know how to save H264 to disk in a playable way.

My theory is that we could easily do this in a way similar to how Peer Snap works (and based on the architecture we come up with in https://github.com/Glimesh/waveguide/issues/7). Since we'll be able to consume the RTP packets, and save them directly to disk.

Some Pion examples:
* https://github.com/pion/example-webrtc-applications/blob/master/save-to-webm/main.go
* https://github.com/pion/webrtc/blob/master/examples/save-to-disk/main.go
* https://github.com/pion/webrtc/blob/master/pkg/media/h264writer/h264writer.go

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the architecture proposed in issue #7 and the linked Pion save-to-WebM, save-to-disk, and h264writer examples. Determine how RTP packets will be consumed and persisted; done means H264 video is saved to disk in a playable form for future video-on-demand and clip support.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
audio-video-rtc
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.