[FFmpeg-devel] [PATCH v3] vaapi_h264enc: Add Hardware Accelerated H.264 Encoder based on VAAPI

Michael Niedermayer michael at niedermayer.cc
Wed Jan 27 01:47:02 CET 2016


On Tue, Jan 26, 2016 at 03:23:43PM +0500, hamza at mayartech.com wrote:
> From: "bryan.christ at mediafire.com" <bryan.christ at mediafire.com>
> 
> This commit adds a hardware accelerated H.264 encoder which utilizes
> libva (open source implementation of VA-API). Information about libva
> is available at: https://en.wikipedia.org/wiki/Video_Acceleration_API
> This encoder is only availbale on linux and supported hardware which
> can be viewed at:
> https://en.wikipedia.org/wiki/Video_Acceleration_API#Supported_hardware_and_drivers
> 
> If libva is installed then the encoder will be automatically enabled.
> ---
> This is the 3rd version of the patch. The subject of the first two patch
> emails was:
> libi264: Add Hardware Accelerated H.264 Encoder based on libVA
> 
> Bryan Christ <bryan.christ at mediafire> is reponsible for maintaining all the
> files related to this patch. This patch is being submitted on his behalf.
> 
> Changes for v3:
>    - name of the encoder has been changed from libi264 to vaapi_h264enc to
>      make it more generic
>    - all the changes recommended by Michael Niedermayer, compn, James Almer,
>      Hendrik Leppkes, Carl Eugen Hoyos, Will Kelleher have been incorporated

breaks build

make distclean ; ./configure && make -j12
CC      libavcodec/vaapi_h264enc_paramset.o
In file included from libavcodec/vaapi_h264enc.c:23:0:
libavcodec/vaapi_h264enc.h:25:28: fatal error: va/va_enc_h264.h: No such file or directory
compilation terminated.
CC      libavcodec/vaapi_mpeg2.o
In file included from libavcodec/vaapi_h264enc_paramset.c:24:0:
libavcodec/vaapi_h264enc_paramset.h:25:28: fatal error: va/va_enc_h264.h: No such file or directory
compilation terminated.
CC      libavcodec/vaapi_mpeg4.o
make: *** [libavcodec/vaapi_h264enc.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [libavcodec/vaapi_h264enc_paramset.o] Error 1

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Never trust a computer, one day, it may think you are the virus. -- Compn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160127/093beb58/attachment.sig>


More information about the ffmpeg-devel mailing list