Project Description
VP8.NET is a dual-licensed commercial/GPL C++ CLR wrapper which allows .NET applications to easily use the VP8 video codec, a high quality, royalty free, open source codec. For more information about VP8, visit
www.webmproject.org. To contact the VP8.NET team, visit
www.frozenmountain.com.
Usage
VP8.NET provides two classes: Encoder and Decoder. Create an Encoder to convert bitmaps into VP8 frames, or create a Decoder to convert VP8 frames into bitmaps.
Encoding (C#)
class EncodingSession
{
private readonly VP8.Encoder Encoder;
public EncodingSession(int width, int height, int fps)
{
Encoder = new VP8.Encoder(width, height, fps);
}
public byte[] Encode(Image frame)
{
return Encoder.Encode((Bitmap)frame);
}
}
Decoding (C#)
class DecodingSession
{
private readonly VP8.Decoder Decoder;
public DecodingSession()
{
Decoder = new Decoder();
}
public Image Decode(byte[] encodedFrame)
{
return Decoder.Decode(encodedFrame);
}
}
Credits
VP8.NET is developed and maintained by
Frozen Mountain Software. If you are interested in using VP8.NET in a commercial application, please let us know.
The source code example uses the
AForge.NET framework to access raw camera frames.