createEncoder

Creates an encoder for the given video codec.