[FFmpeg-devel] [PATCH] added support for hardware assist H264 video encoding for the Raspberry Pi

Amancio Hasty ahasty at gmail.com
Fri Mar 18 20:12:24 CET 2016


The patch was against:
2016-02-26-raspbian-jessie.img

In my Raspberry Pi  system:
/opt/vc/include/bcm_host.h

in ffmpeg/configure:
 if enabled vc264_encoder &&  [ -n "$target_os_default"="linux" ] ; then
        add_cflags ' -I/opt/vc/include/… 
———

Amancio


> On Mar 18, 2016, at 11:50 AM, Lou Logan <lou at lrcd.com> wrote:
> 
> On Fri, 18 Mar 2016 11:13:58 -0700, Amancio Hasty wrote:
> 
>> From be5f142f820e05b411bfdc95719e0ab6388bcbe5 Mon Sep 17 00:00:00 2001
>> From: Amancio Hasty <ahasty at gmail.com>
>> Date: Fri, 18 Mar 2016 10:00:14 -0700
>> Subject: [PATCH] added support for hardware assist H264  video encoding for
>> the Raspberry Pi
>> 
>> ---
>> configure              |   4 +
>> libavcodec/Makefile    |   1 +
>> libavcodec/allcodecs.c |   1 +
>> libavcodec/vc264.c     | 387 +++++++++++++++++++++++++++++++++++++++++++++++++
>> 4 files changed, 393 insertions(+)
>> create mode 100644 libavcodec/vc264.c
> 
> Tabs and trailing whitespaces should be avoided.
> 
> Fails to compile:
> 
> libavcodec/vc264.c:70:22: fatal error: bcm_host.h: No such file or
> directory compilation terminated.
> common.mak:60: recipe for target 'libavcodec/vc264.o' failed
> make: *** [libavcodec/vc264.o] Error 1
> make: *** Waiting for unfinished jobs....



More information about the ffmpeg-devel mailing list