[Libva] VBR support in vaapiencode_h264
Whitchurch, Arun
awhitchurch at checkvideo.com
Mon Aug 17 17:01:53 PDT 2015
Hi,
We are trying to use vaapiencode_h264 for encoding in VBR mode on an Intel J1900 processor. I'm getting an error that this is not supported. I traced it to i965_drv_video.c in libva-intel-driver. It sets the supported rate control modes to CQP and CBR. Is this a limitation of the hardware or is this something that hasn't yet been implemented in software?
Also, in CQP mode, the QP can only be set once, at startup. Are there any plans in the future to make this a parameter that can be changed at run-time? Are there any limitations that would prevent this from being made into a parameter that can be changed at run-time?
This is the output of va-info:
# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.37 (libva 1.5.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Bay Trail - 1.5.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
Thanks,
Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20150818/711f6623/attachment.html>
More information about the Libva
mailing list