Commit Graph

162 Commits

Author SHA1 Message Date
Matthias Reichl 4cb6cf3b76 ffmpeg: update patch handling
Use upstream ffmpeg as a base version and apply kodi patches via a
patchset.

This doesn't change the ffmpeg source code we build from ATM but
allows us to easily drop kodi patches if they cause issues, update
to a newer point release or test with different ffmpeg versions
in the future.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-11-09 20:24:45 +01:00
Christian Hewitt 98d8f90d00 ffmpeg: bump Amlogic sources to latest 2022-10-26 06:26:35 +00:00
SupervisedThinking 611b07c484 various: link with gold if supported 2022-09-22 18:27:07 +02:00
SupervisedThinking bc1ffb6aa8 ffmpeg: fix version output 2022-09-08 23:33:49 +02:00
Matthias Reichl 292142ebd2 ffmpeg: move dav1d support patch to separate patch dir
av1 patch is now included in kodi ffmpeg fork so we can drop it
from our local patches.

Only Amlogic still needs the patch as it doesn't use kodi ffmpeg
fork.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-06 10:52:29 +02:00
Matthias Reichl f9a14ea581 ffmpeg: update to 4.4.1-Nexus-Alpha1
Sync with kodi, seems we forgot to bump it with kodi alpha1.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-06 10:52:13 +02:00
Matthias Reichl 347b78fd36 ffmpeg: switch to openssl
include upstream openssl3 patch from ffmpeg/master to fix
the incompatible license check

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-08-28 13:28:13 +02:00
Christian Hewitt 8f21573505 ffmpeg: bump Amlogic to latest JC changes for testing 2022-05-29 06:34:35 +00:00
CvH 8c5d99054f multimedia: automated code cleanup
Signed-off-by: CvH <namerp@googlemail.com>
2022-04-15 11:27:11 +02:00
CvH 2a04b633c2 Merge pull request #5164 from HiassofT/le10-ffmpeg-testing
ffmpeg: optionally allow minimal ffmpeg binary in image
2022-01-23 14:59:31 +01:00
Christian Hewitt 2cad66f5c3 ffmpeg: bump Amlogic to dev/4.4/rpi_import_1 HEAD 2022-01-10 07:04:26 +00:00
Matthias Reichl 1102ff7a75 ffmpeg: optionally allow minimal ffmpeg binary in image
When testing ffmpeg / hardware decoders it's very convenient
if one can do that with ffmpeg instead of only kodi. Using the
same ffmpeg patches and options as used by kodi also reduces the
risk of testing a different version than what's used by LE/kodi.

As the ffmpeg binary is way too minimal for normal use and only
intended for internal testing this feature is disabled by default
and has to be explicitly requested by building with FFMPEG_TESTING=yes

In addition to ffmpeg and ffprobe binaries this enables the null muxer
and wrapped_avframe encoder so one can test with "-f null".

On RPi it also enables vout_drm (which is only included in jc's
tree / RPi ffmpeg patches) so "-f vout_drm" can be used, too.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-01-08 12:23:32 +01:00
Christian Hewitt 23b837e379 ffmpeg: switch Amlogic to dev/4.4/rpi_import_1 again 2022-01-04 16:00:13 +00:00
Christian Hewitt 088294912c ffmpeg: bump to dev/4.4/chewitt_2 for testing 2021-12-17 10:03:16 +00:00
Christian Hewitt 6a690f2e30 ffmpeg: simplify different Amlogic and RPi sources and patch dirs 2021-11-26 12:00:19 +00:00
CvH 931a232613 ffmpeg: update to 4.4 2021-09-25 15:40:17 +02:00
smp79 2e6186182b ffmpeg: generic drm-prime support 2021-09-11 16:52:08 +02:00
heitbaum 0167704473 ffmpeg: update to 4.3.2-Matrix-19.1 2021-04-16 20:10:23 +02:00
Lukas Rusak dfa10a838a ffmpeg: allow building with v4l2 stateless patches for iMX8 2021-02-11 08:57:09 -08:00
Matthias Reichl 98ddb664b7 ffmpeg: use rpi patch for all RPis
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-12-19 10:40:53 +01:00
Matthias Reichl e2ca4f5e9d ffmpeg: update rpi patch
Patch created using revisions 922f5ee..fbcd774
from branch dev/4.3.1/drm_prime_1 of https://github.com/jc-kynesim/rpi-ffmpeg
2020-12-19 10:40:44 +01:00
CvH e2acb4185b ffmpeg: update to 4.3.1-Matrix-Beta1 2020-11-17 18:52:40 +01:00
CvH 82d964272d ffmpeg: update to 4.3.1-Matrix-Alpha1-2 2020-09-22 18:09:11 +02:00
Matthias Reichl 777b3ecced ffmpeg: update to 4.3.1-Matrix-Alpha1-1
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-07-16 11:17:47 +02:00
Matthias Reichl 014f61eed0 ffmpeg: reorganize patchset and configure option handling
Apply v4l2-drmprime and v4l2-request patches for all projects/devices
except RPi4 and use configure options to enable/disable the required
features.

The RPi4 patch already includes v4l2-request patches, so only add the
v4l2-drmprime patch in addition to that - this is needed for H264
hardware decoding.

RPi4 configure options have been adapted to the updated RPi patch.

Misc LibreELEC patches are now in the "libreelec" patch dir and
included for all projects/devices.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-07-09 17:10:37 +02:00