[FFmpeg-devel] [PATCH] examples/vaapi_encode: Add a VA-API encode example.
Jun Zhao
mypopydev at gmail.com
Tue Nov 7 05:11:53 EET 2017
On 2017/11/7 9:38, Michael Niedermayer wrote:
> 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
>
>
> [...]
Will submit V2 to fix the build error. Tks.
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list