[Mesa-dev] [PATCH 01/12] vl: add parameters for VAAPI encode

Zhang, Boyuan Boyuan.Zhang at amd.com
Fri Jul 15 22:45:57 UTC 2016

Hi Andy,

The memory issue is fixed. Please try the new patch set I just submitted. Should NOT have hard lock anymore.

And thanks for providing the rate control info, I will do some test about it.


-----Original Message-----
From: Andy Furniss [mailto:adf.lists at gmail.com] 
Sent: July-15-16 1:32 PM
To: Zhang, Boyuan; Christian K├Ânig; mesa-dev at lists.freedesktop.org
Subject: Re: [Mesa-dev] [PATCH 01/12] vl: add parameters for VAAPI encode

Zhang, Boyuan wrote:
> Hi Andy,
> Thanks for the testing. I will look into the memory issue. For the cbr 
> test, what was the bitrate you set? And by saying testing high rates, 
> how high was the rate approximately?

Testing more shows that I get the same size file independent of framerate. An example inputting rawvideo and asking gstreamer for 30mbit with 500 frames 2560x1440 for both 25fps and 50fps produces 60M byte files for both.

omx doesn't have this issue, for 30mbit the files produced are 53M and 26M.

Also noted that omx takes 3.8 seconds and vaapi 13.8 for the same input.

More information about the mesa-dev mailing list