vaapidecode vs avdec_h264 latency
Víctor Jáquez
vjaquez at igalia.com
Mon Nov 27 11:06:52 UTC 2017
On Mon, 27 Nov 2017 at 11:56, Víctor Jáquez wrote:
> On Sun, 26 Nov 2017 at 18:53, Jiang Pin wrote:
> > Hi, Jaquez
> >
> > I take a try to compile the master branch from
> > git://anongit.freedesktop.org/gstreamer/gstreamer-vaapi. But it looks it
> > cannnot be done right now, it indicate following errors:
> >
> > gstvaapiencoder_h264.c:2500:60: error: 'struct <anonymous>' has no member
> > named 'mb_rate_control'
> > GST_VAAPI_ENCODER_VA_RATE_CONTROL (encoder).rc_flags.bits.mb_rate_control
> > =
> > ^
> > Makefile:1718: recipe for target 'libgstvaapi_la-gstvaapiencoder_h264.lo'
> > failed
> > make[4]: *** [libgstvaapi_la-gstvaapiencoder_h264.lo] Error 1
> > make[4]: *** Waiting for unfinished jobs....
> > gstvaapiencoder_h265.c: In function 'ensure_control_rate_params':
> > gstvaapiencoder_h265.c:1836:60: error: 'struct <anonymous>' has no member
> > named 'mb_rate_control'
> > GST_VAAPI_ENCODER_VA_RATE_CONTROL (encoder).rc_flags.bits.mb_rate_control
> > =
> >
> > So when will a workable version be available?
>
> Which version of libva are you using?
I just figured out: 1.8.3.
But we have a bug, because mb_rate_control was introduced in libva 2.0.0, thus
we need to guard those instructions.
In order to have a workable version of gstreamer-vaapi we need your valuable
testing, as you found out. Thanks.
vmjl
More information about the gstreamer-devel
mailing list