summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/ffmpeg
Commit message (Collapse)AuthorAgeFilesLines
* ffmpeg: disable GPL features by defaultYann Dirson2021-03-281-1/+1
| | | | | | | | | | | --disable-gpl is the upstream default, and using GPL features violates the license when linking into non-GPL programs. Enabling it by default breaks user expectations, may cause people to violate the GPL by mistake. Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 4.3.1 -> 4.3.2Randy MacLeod2021-03-114-166/+1
| | | | | | | | | | | | | Remove 2 patches that are included in the n4.3.2 tag. The commits were cherry-picked back to the 4.3 branch so they have different commit ids than in the patches: 6d886b6586 lavf/srt: fix build fail when used the libsrt 1.4.1 a53ffb15d8 avcodec/exr: Check ymin vs. h 4f0bdff292 avformat/vividas: improve extradata packing checks in track_header() Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: move ffmpeg config into packageconfigSuji Velupillai2021-02-131-6/+9
| | | | | | | Move ffmpeg configuration options to Yocto PACKAGECONFIG options. Signed-off-by: Suji Velupillai <suji.velupillai@broadcom.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Fix CVE-2020-35964, CVE-2020-35965Khairul Rohaizzat Jamaluddin2021-01-133-0/+112
| | | | | | | | | | | | | Backport the CVE patches from upstream: https://github.com/FFmpeg/FFmpeg/commit/27a99e2c7d450fef15594671eef4465c8a166bd7 https://github.com/FFmpeg/FFmpeg/commit/3e5959b3457f7f1856d997261e6ac672bba49e8b CVE: CVE-2020-35964 CVE-2020-35965 Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix reproducibilityAlexander Kanavin2020-12-092-0/+103
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: add srt package config knobJose Quaresma2020-11-172-0/+54
| | | | | | | | * 0001-lavf-srt-fix-build-fail-when-used-the-libsrt-1.4.1.patch Upstream-Status: Backport [https://github.com/FFmpeg/FFmpeg/commit/7c59e1b0f285cd7c7b35fcd71f49c5fd52cf9315] Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 4.3 -> 4.3.1Richard Purdie2020-07-181-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: disable altivec on ppc by defaultAlexander Kanavin2020-06-281-0/+1
| | | | | | | | | | | | Since 4.3 ffmpeg uses vsx-specific instructions, which aren't available on older ppc machines (including qemuppc): https://github.com/FFmpeg/FFmpeg/commit/3a557c5d88b7b15b5954ba2743febb055549b536 This disables using the instructions with an option to re-enable them for vsx-capable targets. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 4.2.3 -> 4.3Andreas Müller2020-06-241-1/+1
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 4.2.2 -> 4.2.3Alexander Kanavin2020-06-081-2/+1
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: add PACKAGECONFIG support for fdk-aacScott Branden2020-02-281-0/+1
| | | | | | | Add PACKAGECONFIG support for fdk-aac in ffmpeg. Signed-off-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: add PACKAGECONFIG support for x265Scott Branden via Openembedded-core2020-02-151-0/+1
| | | | | | | Add PACKAGECONFIG support for x265 in ffmpeg. Signed-off-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 4.2.1 -> 4.2.2Alexander Kanavin2020-01-211-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcp/ruby/ffpmeg: Use CFLAGS, not TARGET_CFLAGSRichard Purdie2019-11-071-2/+2
| | | | | | | | | There isn't anything specific about the target in these cases an in general recipes should touch CFLAGS. This ensures people don't copy/paste bad example usages. In reality, behaviour is mostly unchanged. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: enable more verbose build logsAndre McCurdy2019-10-021-0/+2
| | | | | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: update from 4.2 to 4.2.1Randy MacLeod2019-09-271-2/+2
| | | | | | | | | This update corresponds to 68 commits to the ffmpeg git repo. 52 of these commits are oss-fuzz bug fixes. The remainder include improved codex handling and some rpi performance tweaks. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: add PACKAGECONFIG controls for alsa and zlib (enable by default)Andre McCurdy2019-09-181-3/+5
| | | | | | | | | Also move the libogg dependency to the theora PACKAGECONFIG, since according to the configure script, theora is the specific component which requires it. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update to 4.2Oleksandr Kravchuk2019-08-161-2/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade to 4.1.4Ross Burton2019-07-201-7/+4
| | | | | | | | Add a PACKAGECONFIG for the use of XCB and enable by default if X11 is in DISTRO_FEATURES. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: don't use hardcoded lookup tablesRoss Burton2019-07-201-1/+0
| | | | | | | | | | | ffmpeg can generate lookup tables at build time instead of runtime, but this is no longer a recommended option. The size impact is significant (12% of the total libavcodec size, nearly 2MB), the runtime impact of dynamic tables isn't too costly, and only a few codecs actually use the pre-generated tables (MP3, notably). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: add PACKAGECONFIG for mfxAnuj Mittal2019-06-041-0/+1
| | | | | | | | | | Add option to build ffmpeg with support for Intel MediaSDK codecs. More details on supported codecs available here: https://trac.ffmpeg.org/wiki/Hardware/QuickSync Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update to 4.1.3Alexander Kanavin2019-04-161-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update to 4.1.2Oleksandr Kravchuk2019-04-121-2/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-plugins: 1.1.6 -> 1.1.8Tanu Kaskinen2019-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelogs: http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7 http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8 The --enable-avcodec configure option was renamed to --enable-libav, and I renamed the respective packageconfig item too. There's a new pcm plugin: aaf (AVTP Audio Format). I added a packageconfig item for it, but I didn't test it, because libavtp doesn't seem to be currently packaged for OpenEmbedded. There are now configuration files for most of the plugins. I removed the symlink creation for 50-pulseaudio.conf, because upstream now creates the symlinks for us. 99-pulseaudio-default.conf is an exception, because upstream ships it only as an example, and upstream doesn't install a symlink for it (upstream actually installs it directly under /etc, but I moved it back to /usr/share), so for that file we still have to create the symlink ourselves. The lavcrate plugin was converted to use libavresample (and renamed to lavrate). Libavresample is provided by ffmpeg, but ffmpeg was by default built with libavresample disabled. This patch now enables libavresample by default in the ffmpeg recipe in order to not cause a regression in alsa-plugins. SRC_URI was changed to a more reliable source (at least currently the ftp server is flaky). Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update to 4.1.1Alexander Kanavin2019-02-203-72/+2
| | | | | | | Drop backported patches. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Backport patch to fix build with gcc9Khem Raj2018-12-272-0/+32
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: use bfd linker always for x86 targetKhem Raj2018-10-091-0/+4
| | | | | | | | gold crashes when linking, so use bfd linker here, another option is to use --disable-asm but then we loose performance. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: use nasm instead of yasmRoss Burton2018-09-071-1/+1
| | | | | | | | As ffmpeg can use both yasm and nasm let's unify on nasm (last release six months ago, fifteen RCs since) instead of yasm (last release 2014). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Fix CVE-2018-15822Mingli Yu2018-09-062-0/+38
| | | | | | | | Fixes: Assertion failure Fixes: assert_flvenc.c:941_1.swf Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: Upgrade to 4.0.2Mingli Yu2018-08-071-2/+2
| | | | | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Enforce ARM ISA just for arm arches <= armv5Khem Raj2018-07-181-1/+3
| | | | | | | | armv7+ used thumb2 ISA and it compiles fine with thumb2 issues are only when using thumb1 ISA Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update to 4.0Alexander Kanavin2018-05-041-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: upgrade 3.4.1 -> 3.4.2Alexander Kanavin2018-03-031-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: update to 3.4.1Alexander Kanavin2018-02-061-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: update to 3.4Alexander Kanavin2017-12-182-49/+3
| | | | | | | | | Schroedinger support has been dropped: https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9 Remove upstreamed patch. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
* ffmpeg: upgrade to 3.3.4Chen Qi2017-11-0913-573/+0
| | | | | | | | | | | | | Upgrade ffmpeg to version 3.3.4. Version 3.3.4 is a bug fix version, and there's no new feature added. Compared to version 3.3.3, there are 57 new commits. These 57 commits are either bug fix or small tweaks. Drop CVE patches that were backported from 3.3.4. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
* ffmpeg: upgrade to 3.3.4Chen Qi2017-11-081-2/+2
| | | | | | | | | | | Upgrade ffmpeg to version 3.3.4. Version 3.3.4 is a bug fix version, and there's no new feature added. Compared to version 3.3.3, there are 57 new commits. These 57 commits are either bug fix or small tweaks. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: backport patches to fix 12 CVEsChen Qi2017-10-0613-0/+573
| | | | | | | | | | | | | | | | | | | | Backport patches to fix the following CVEs. CVE-2017-14054 CVE-2017-14055 CVE-2017-14056 CVE-2017-14057 CVE-2017-14058 CVE-2017-14059 CVE-2017-14169 CVE-2017-14170 CVE-2017-14171 CVE-2017-14222 CVE-2017-14223 CVE-2017-14225 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: update to 3.3.3Alexander Kanavin2017-08-111-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: fix pkg-config utilizationNicolas Dechesne2017-07-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | in config.log we can see: WARNING: aarch64-linaro-linux-pkg-config not found, library detection may fail. ffmpeg configure script is not looking for pkg-config at the rigt place since it is assuming cross compilation. let's force its value in the recipe. This patches 'fixes' library detection, so it also adds: --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-libxcb-shape Which were dangling configure options, which started to be enabled after the pkg-config fix, so they need now to be explicitely disabled. Follow up patch will enable these options when DISTRO_FEATURES has x11. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: add PACKAGECONFIG for sdl2Nicolas Dechesne2017-07-241-0/+1
| | | | | | | | Enabling sdl2 will bring ffplay applications, which can be handy when working with ffmpeg. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: Upgrade to 3.3.2 stableKhem Raj2017-06-232-2/+47
| | | | | | * Fix mips/mips64 along the way, it was broken in 3.3 as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ffmpeg: update to 3.3Alexander Kanavin2017-05-231-4/+3
| | | | | | | | --enabled-x11grab option has been removed upstream (and it was described as 'legacy' in the previous version) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: use static package listAndreas Oberritter2017-03-011-34/+19
| | | | | | | | | | Dynamic packaging isn't useful if every library needs to be listed manually. This also merges the -dev packages into a single ffmpeg-dev, as is typical. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: update to 3.2.4Alexander Kanavin2017-03-011-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: Fix the license descriptionAndreas Oberritter2017-02-231-1/+11
| | | | | | | | FFmpeg has complicated licensing options, so it should also have complicated license statements in its recipe. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: disable cpu autodetectionAndreas Oberritter2017-02-051-0/+7
| | | | | | | | | | Just pass the correct -mcpu= configure switch (fallback to generic). Avoids warnings like: | warning: switch -mcpu=cortex-a15 conflicts with -march=armv7-a switch Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: disable asm for x32Christopher Larson2017-01-091-0/+2
| | | | | | | | | This is the usual way this is handled in desktop distros (see debian, gentoo). I wasn't able to track down a patch to add proper x32 support to ffmpeg. There was, however, a libav patch series which may be worth investigating. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ffmpeg: update to 3.2.2Alexander Kanavin2016-12-171-2/+2
| | | | | | | | (From OE-Core rev: b9b50814dfb40f8d124be736f7af9ed4d69bc6b3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: disable unsupported extensions on mips32r1Andreas Oberritter2016-12-081-0/+1
| | | | | | | | | Warning: the `dsp' extension requires MIPS32 revision 2 or greater | Warning: the `dspr2' extension requires MIPS32 revision 2 or greater Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com>