On 08/18/2015 08:01 AM, Whitchurch, Arun wrote:
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?
Current VBR is not implemented in software. And this will be added later.
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?
In the example it is set once. But in your application you can set new
QP and pass it to the driver based on your requirement.
This depends on your requirement.
Thanks.
Yakui
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
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva