MastErAldo
MastErAldo

Reputation: 664

Live video stream using OGG video chunks

We are currently developing a live stream application which involves:

Due to the constraints imposed by both the supported video formats of the MediaSource API and the C# encoder APIs for these video formats (MPEG-DASH, WebM, OGG+Theora) we came with this solution in mind:

The C# client will encode 1 or 2 seconds of video in an OGG video using Theora as the video codec. Once the chunk is ready is sent to the stream server which will send it to the webapp. The webapp will read this video chunk (that is actually a 1-2 second standalone video) from the network as if it was reading from file and chunk after chunk the webapp will reproduce them as if it was a single stream.

Unfortunatly nor me, neither the other guys in my team have any experience in video encoding/streaming, so my question is: does anyone know a good C# library that can produce an OGG encapsulated video from a sequence of frames captured from a webcam so it can be read from the MediaSource API without any troubles?

Any other solution, as long as it uses the video tag, the MediaSource API on the webapp and C# on the client, is well accepted.

Upvotes: 3

Views: 1102

Answers (2)

It'sPete
It'sPete

Reputation: 5211

I've had good luck with Gstreamer, but I'm not sure that it will work given your language and encoding requirements. Still its worth a look.

http://gstreamer.freedesktop.org/

Upvotes: 0

VDALLCO
VDALLCO

Reputation: 166

I don't believe there are many popular libraries for OGG encoding out there. However, it would probably be best to create your own. I would start here: https://www.rfc-editor.org/rfc/rfc5334

Upvotes: 1

Related Questions