[FFmpeg-devel] [PATCH] examples/vaapi_encode: Add a VA-API encode example.

Michael Niedermayer michael at niedermayer.cc
Tue Nov 7 03:38:10 EET 2017


On Mon, Nov 06, 2017 at 02:56:16PM +0800, Jun Zhao wrote:
> 

>  configure                   |    2 
>  doc/examples/Makefile       |    1 
>  doc/examples/vaapi_encode.c |  308 ++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 311 insertions(+)
> b4a1cfca5fb56770fae68218661f060e25ffe769  0001-examples-vaapi_encode-Add-a-VA-API-encode-example.patch
> From d16f766363d9ecc240b0f8e025c2a8f91ea4775e Mon Sep 17 00:00:00 2001
> From: Jun Zhao <jun.zhao at intel.com>
> Date: Mon, 6 Nov 2017 14:45:27 +0800
> Subject: [PATCH] examples/vaapi_encode: Add a VA-API encode example.
> 
> add a VA-API encode example, only support NV12 input, usage like:
> ./vaapi_encode 1920 1080 test.yuv test.h264
> 
> Signed-off-by: Jun Zhao <jun.zhao at intel.com>
> Signed-off-by: Liu, Kaixuan <kaixuan.liu at intel.com>
> ---
>  configure                   |   2 +
>  doc/examples/Makefile       |   1 +
>  doc/examples/vaapi_encode.c | 308 ++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 311 insertions(+)
>  create mode 100644 doc/examples/vaapi_encode.c

fails to build
arm$ make examples
CC      doc/examples/vaapi_encode.o
src/doc/examples/vaapi_encode.c:36:39: fatal error: libavfilter/avfiltergraph.h: No such file or directory
compilation terminated.
make: *** [doc/examples/vaapi_encode.o] Error 1


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- 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/20171107/ece27d47/attachment.sig>


More information about the ffmpeg-devel mailing list