[Libva] H264 CBR Encode with libva-intel-driver

ykzhao yakui.zhao at intel.com
Mon Jun 24 18:11:54 PDT 2013


On Fri, 2013-06-21 at 08:34 -0600, Jonathan Short wrote:
> Hi,
> 
> I'm using libva-1.1.1 with libva-intel-driver-1.0.20 to encode h264 
> on SandyBridge / QuickSync.  Using the avcenc test program as reference, I 
> have encoding working, but i'd like to use CBR rather than VBR.  Does 
> this driver support CBR, and is there any example code or documentation 
> showing how to set the bitrate for the encode?

Hi,
   The driver supports the CBR mode. The example of avcenc tool can show
how to pass the bitrate into the driver. The bitrate setting depends on
the user(10M/15M/20M and so on). For example: the following is the
command of using CBR mode in avcenc tool.
    >avcenc width height input_file output_file fb=XXX mode=0/1/2

Best regards.
     Yakui

> 
> Thanks,
> 
> Jonathan
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva




More information about the Libva mailing list