Commit graph

168 commits

Author SHA1 Message Date
GavinDarkglider
8c70c4924b
[WIP]Lakka-v5.x:Switch:New Bootloader and Mariko(2019 switch, Lite, OLED) Support (#1801)
* Switch: Switch to new Bootloader.

* Initial Mariko Support

* ffmpeg: Fix issues caused by last libreELEC upstream merge.
2022-12-25 04:32:18 +02:00
ntemis
90151b8a17 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-12-14 03:15:05 +02:00
SupervisedThinking
00871de048 ffmpeg: clean up & change license to GPL-3.0-only
- use SPDX license short identifier
2022-12-02 20:08:55 +01:00
Demetris Ierokipides
2dfcbcdb3b Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-11-30 22:44:16 +02:00
Demetris Ierokipides
c182853b14 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-11-10 16:37:40 +02:00
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
GavinDarkglider
bb321a5eed
Lakka-v5.x Switch Support Fixes (#1753)
* Switch: it builds

* Switch: Use udev to finalize usb gadget to save from systemd looping service restart until cable connected.

* Switch: Update kernel stuff again

* Switch: Downgrade Alsa packages to version in 4.x tree

* Joycond: Update Switch version

* Switch: Minor fixes

* LibreELEC: Fix a few broken files from upstream pull

* Switch: Fix LibreELEC build.

* Switch: Update bootloader stuff

* L4T: FFMPEG: Add support for nvv4l2 decoder/encoder

* FFMPEG: Add back encoder support for game recording in retroarch

* FFMPEG: revert a few changes, and add support for vulkan.
2022-10-13 21:05:34 +03: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
Matthias Reichl
8dbeb6faec ffmpeg: update to 4.3-Matrix-Alpha1
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-07-09 17:10:37 +02:00
Matthias Reichl
d5d98b3f7b ffmpeg: drop all local patches
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-07-07 15:37:07 +02:00
Matthias Reichl
54ea2ebba8 ffmpeg: drop support for legacy RPi MMAL acceleration
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-07-07 15:36:35 +02:00
Matthias Reichl
1d02f6e9d5 ffmpeg: use popcornmix's V4L2 patches on RPi
sourced from
https://github.com/popcornmix/xbmc/blob/gbm/tools/depends/target/ffmpeg/0001-rpi-Add-hevc-acceleration.patch

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-06-19 14:29:12 +02:00
Matthias Reichl
52926b2fa8 ffmpeg (RPi): support HEVC decode with upstream kodi
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-06-16 19:33:42 +02:00
Lukas Rusak
f99c2e08d8
ffmpeg: update to 4.2.2-Matrix-Alpha1 2020-03-06 09:49:58 -08:00
Jonas Karlman
406fb9ad7d ffmpeg: remove rkmpp support 2019-12-31 09:09:33 +00:00
Jonas Karlman
09b236900e Rockchip: add mainline linux support 2019-12-31 09:09:33 +00:00
Ian Leonard
59d6714cb7 ffmpeg: rpi ffmpeg patch only for use with rpi kodi
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-11-20 17:20:38 +00:00
MilhouseVH
810aa74319 ffmpeg: rebuild whenever libraries change 2019-10-13 22:26:34 +01:00
MilhouseVH
96a1bc13c7 CODE CLEANUP: ffmpeg: switch to using += 2019-10-13 22:18:17 +01:00
MilhouseVH
12f7a5fbd6 CODE CLEANUP: ffmpeg: fix braces 2019-10-13 22:18:06 +01:00
Matthias Reichl
08e4eafd11 ffmpeg: update to 4.0.4-Leia-18.4
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-08-31 12:37:03 +02:00
Lukas Rusak
3521bff62c
ffmpeg: move v4l2 patches to v4l2 patch dir 2019-07-24 12:18:14 -07:00
Matthias Reichl
c58d936966 ffmpeg: move RPi patch to separate patch dir
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-02 10:49:30 +02:00
Matthias Reichl
124031f4ce ffmpeg: move rkmpp patches to separate patch dir
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-02 10:43:49 +02:00
Matthias Reichl
c5b8d57f44 ffmpeg: move v4l2 request api patches to separate patch dir
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-02 10:43:49 +02:00
Ian Leonard
0d77410ee4 ffmpeg: use gnutls over openssl
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-14 23:27:59 +00:00
MilhouseVH
09325f7fae
Merge pull request #3428 from 5schatten/move_RPi_vendor_headers
[RPi] fix vendor header & lib includes / remove project specific include CFLAGS WIP
2019-04-30 21:22:44 +01:00