We just put up a new project holding sample code showing vp8. Find it
here:
http://www.webmproject.org/code/#udpsample_sample_code
FROM THE README:
===================
This sample illustrates using vp8 for a live video transmission over
lossy
UDP with a back channel.
It includes two sample console based subprograms:
GrabCompressAndSend
upon receipt of session initiation requests from
ReceiveDecompressAndPlay,
captures live video from an installed direct show camera, compresses
it,
packetizes it, adds forward error correction (if specified) and then
sends
the data across a port using UDP. Upon any receipt of a request for
recovery
or for a packet resend it responds appropriately.
ReceiveDecompressAndPlay
initiates a session with GrabCompressAndSend sending parameters
regarding
forward error correction, simulated packetloss, datarate, frame size,
etc.
The program then awaits arrival of packets from GrabCompressAndSend
and uses
them to reassemble frames, which it then decompress and plays for the
user.
Any lost packets that can be rebuilt using forward error correction
are
rebuilt. If a packet is lost and can't be rebuilt, packet resend
requests
are sent. If there is still not a timely response or a large number
of
packets are lost the program requests a recovery frame.
Build requirements :
Linux -> 64-bit, libsdl and libvpx must be installed and in your
paths.
MacOSX -> libsdk, libvpx and libvidcap must be installed and in your
paths.
Windows -> VS2005, PlatformSDK ( + DirectShow Baseclasses ) in include
and lib
path, DirectX in include and libpath
DISCLAIMER: This sample code has only been tested on a very limited
set of
machines - we can use your help to expand and make it work on a wider
range
of platforms.