WebM Codec SDK
Encoding

The vpx_codec_encode() function is at the core of the encode loop. It processes raw images passed by the application, producing packets of compressed data. The deadline parameter controls the amount of time in microseconds the encoder should spend working on the frame. For more information on the deadline parameter, see Deadline.

Sample Code