update pvr encoder to allow support for various formats.