Commit Graph

100 Commits

Author SHA1 Message Date
Martin Pulec
587e829387 GitHub CI: enable testcard2 2022-01-19 17:02:42 +01:00
Martin Pulec
bc455b8605 GitHub CI: download NDI directly from NewTek
and build it unconditionaly.
2022-01-12 13:48:00 +01:00
Martin Pulec
4685a2cb84 GitHub CI: build NDI by default if SDK is found
Removed separate NDI handling (branch ndi-build and build it as upstream (if SDK is found)
since NDI is now dynamically runtime loaded.
2022-01-12 13:47:59 +01:00
Martin Piatka
e9dbb67194 github/CI: RPI4 patched ffmpeg for hwaccel 2022-01-06 15:06:35 +01:00
Martin Pulec
e04b6986a9 GitHub CI [Linux]: bundle i965-va-driver-shaders
Bundle i965-va-driver-shaders instead of i965-va-driver. This should be
superior:

"This package contains also contains the non-free encode shaders for
VP8, VP9, HEVC and AVC for generation 7.5 hardware or newer."
2021-11-26 09:57:44 +01:00
Martin Pulec
fe97093084 GitHub CI [Linux, FFmpeg]: fixed SVT-VP9
Fixed SVT-VP9 patch not applying - we need more repo depth now
 (increased 1000->5000 commits - 2000 would take 18 MiB, 5000 24 MiB,
 which is stil decent).
2021-11-25 10:54:58 +01:00
Martin Pulec
61e2bb8adf GitHub CI [Linux]: fixed rav1e build
Cargo 1.56 is needed for cargo-c but 1.55 is in U18 runner ver
20211017.0 thus update as a workaround.

Failed run:
https://github.com/MartinPulec/UltraGrid/actions/runs/1412342915
2021-11-03 08:57:59 +01:00
Martin Pulec
e3c926c8ff GitHub CI [Linux, FFmpeg]: patch NVENC not to use infinite GOP
Infinite GOP is useless for UltraGrid
2021-09-08 08:25:17 +02:00
Martin Pulec
a4bc123c15 GitHub CI [Linux]: removed FFmpeg patches
Our custom changes are already in FFmpeg upstream.
2021-09-07 11:47:43 +02:00
Martin Pulec
f3a4408eb9 GitHub CI [Linux, FFmpeg]: enable dav1d 2021-08-18 23:45:17 +02:00
Martin Pulec
1769deb53d GitHub CI [Linux, FFmpeg]: use newer x265 2021-08-18 23:19:19 +02:00
Martin Pulec
61232e63c6 GitHub CI [Linux]: cap NV codec version to 11.0
v11.1 requires quite a new driver version (470.57.02 and 471.41) without
useful new features.
2021-08-18 15:03:26 +02:00
Martin Pulec
1fbdb737b4 GitHub CI [Linux]: use updated SDL2 build to fix issues 2021-07-27 11:32:34 +02:00
Martin Pulec
eb7977c8d8 GitHub CI [Linux, FFmpeg]: build rav1e
+ do not use yasm for SVT - nasm-mozilla (nasm 2.14) installed in
this commit is sufficient
2021-07-21 14:56:24 +02:00
Martin Pulec
5286918f14 GitHub CI: support for NDI 5
macOS and Linux would still compile with NDI 4, Windows requires NDI 5
now.
2021-07-20 14:10:48 +02:00
Martin Pulec
e6fd7c6af3 Use libraspberrypi-dev instead of cloning from GitHub 2021-07-19 15:54:46 +02:00
Martin Pulec
4484ab418d GitHub CI [armhf]: build own SDL2 with KMSDRM 2021-07-19 15:54:42 +02:00
Martin Pulec
ec2c06dfb7 GitHub CI [Linux]: install FFmpeg+deps only if cached
Otherwise installed by download_build_ffmpeg.sh
2021-07-19 14:08:21 +02:00
Martin Pulec
bc3e4e1a28 GitHub CI [ARM]: fixes 2021-07-19 13:04:34 +02:00
Martin Pulec
22bbfca5dc GitHub CI [Linux, raspbian]: add also complementary repo
SDL2 from this repo supports RPI backend.
2021-07-19 13:04:31 +02:00
Martin Pulec
71587d4ae2 GitHub CI FFmpeg [Linux]: added SVT VP9 2021-07-14 09:33:16 +02:00
Martin Pulec
7b30ac5e2c GitHub CI [Linux]: use system nasm
Ubuntu 18.04 already has nasm 2.13 so there is no need to compile it
from sources.
2021-07-13 15:10:53 +02:00
Martin Pulec
da9aa3aa41 GitHub CI [Linux]: FFmpeg - fixed SVT build in U18.04
See AOMediaCodec/SVT-AV1#226.
2021-07-13 15:10:52 +02:00
Martin Pulec
35b86816b2 GitHub CI [Linux]: run on Ubuntu 18.04
Intel MediaSDK requires at least libva 1.10, U16.04 provides 1.07 only.
2021-07-13 15:10:52 +02:00
Martin Pulec
609f7a232d GitHub CI [Linux, FFmpeg]: use 3-way merge to apply SVT HEVC patch
Now it applies cleanly.
2021-07-13 11:38:36 +02:00
Martin Pulec
fc56d9a1c4 GitHub CI: remove possible previous instalations of cached items
Due to inexact matching, cache might not have been hit but item was
extracted from partially matching key.
2021-06-24 16:42:58 +02:00
Martin Piatka
bfd9aa3855 Github CI: Update ffmpeg intra-refresh patch 2021-06-14 13:19:32 +02:00
Martin Pulec
5fdaef03a3 GitHub CI [Linux ARM]: use code checked out by GitHub
Use code checked out by GitHub Action - previously there was a clone
but we want rather the actual code, which doesn't need to be in master
branch of the main repository.

This also requires a small refactor (chroot in home rather than in
$GITHUB_WORKSPACE)
2021-05-21 19:40:15 +02:00
Martin Pulec
495548b4db GitHub CI [Linux ARM]: simplify bootstrap.sh 2021-05-21 13:43:51 +02:00
Martin Pulec
7e16903a7a GitHub CI [Linux]: SVT-HEVC - patch has been renamed 2021-05-20 13:19:39 +02:00
Martin Pulec
b60dcb283a GitHub CI: fixed unbound variables
FEATURES may not be defined in other workflows than C/C++ CI.
2021-05-20 09:41:44 +02:00
Martin Pulec
986da3414b GitHub CI [Linux]: fixed MagickWand removal
MagickWand depends on libvpx3 thus it cannot be removed.
2021-05-08 16:55:30 +02:00
Martin Pulec
15e655fa9e GitHub CI: parallel build of some deps 2021-05-08 16:05:48 +02:00
Martin Pulec
c1bdf897bb GitHub CI [Linux]: another build fix
Weirdly the run 382 failed on nginx unsatisfied dependencies, so
explicitly removing it.
2021-05-08 15:58:09 +02:00
Martin Pulec
f70774b9b5 GitHub CI [Linux]: do not install libzmq3-dev
See failed run 380 for details.
2021-05-07 14:24:04 +02:00
Martin Pulec
2c7127a488 GitHub CI [Linux]: really upgrade
This fixes 0f9251f0 - was update instead of upgrade by mistake.
2021-05-07 12:08:36 +02:00
Martin Pulec
434719b589 GitHub CI: enable AJA+DELTACAST only if we have SDKs 2021-04-27 15:32:56 +02:00
Martin Pulec
75b47acf0f Revert "GitHub CI [Linux]: Fix FFmpeg refusing P1-P7 presets"
This reverts commit 6537ae9aed.

Fixed in FFmpeg upstream.
2021-04-19 10:15:05 +02:00
Martin Pulec
009d85d512 NDI cap.: print NDI version in GitHub build 2021-04-19 09:34:16 +02:00
Martin Pulec
6537ae9aed GitHub CI [Linux]: Fix FFmpeg refusing P1-P7 presets
Fix FFmpeg bug refusing P1-P7 presets if GPU doesn't support lossless
encoding.
2021-04-16 11:36:21 +02:00
Martin Pulec
0d4e07da1d GitHub CI [Linux]: prepare to apply series of patches to FFmpeg
Use Git-formatted patches.
2021-04-16 09:19:50 +02:00
Martin Pulec
e9ab392f16 GitHub CI [Linux]: build libvpx with --enable-vp9-highbitdepth
Start building own libvpx with high bit depth option.
2021-04-13 16:16:28 +02:00
Martin Pulec
44fa01869d Use Nvidia Codec SDK master version headers 2021-03-31 10:33:09 +02:00
Martin Pulec
d36545e656 FFmpeg NVENC: make intra-refresh optional (but default) 2021-03-30 15:11:50 +02:00
Martin Pulec
4286ae1efb GitHub CI: updated FFMPEG NVENC patch
Set IDR to GOP size passed by user (previously it was set to
NV_ENC_CONFIG:gopLength, which is now NVENC_INFINITE_GOPLENGTH).
2021-03-30 15:11:39 +02:00
Martin Pulec
627d6a3157 GitHub CI: patch FFmpeg with NVENC intra-refresh patch 2021-03-30 15:11:32 +02:00
Martin Pulec
04996bfd02 GitHub CI [Linux]: do not set gcc-6 as CUDA compiler if not found
Do not set gcc-6 as CUDA compiler if not found - this fixes builds with
Ubuntu 20.04 for which the virtual runner doesn't contain gcc-6.
Anyways, CUDA in U20.04 doesn't need the compiler explicitly set,
either.

Currently fixes coverity-scan workflow run 63.
2021-03-22 16:18:59 +01:00
Martin Pulec
7f1ebe716b GitHub CI: check AppImage inside blank Docker
Checks mainly missing dependencies
2021-03-09 08:14:37 +01:00
Martin Pulec
ad1355bb2d GitHub CI: do not checkout with submodules
Not all are really needed, currently eg. gitlab.xiph.org is down
preventing the build - SpeexDSP is, however, not primarily taken
from the submodule but from packages.
2021-03-08 09:27:01 +01:00
Martin Pulec
f7bf7e9ff2 GitHub CI [Linux]: use cmake for build/install instead of make
To avoid rebuilds when reloaded from cache.
2021-03-03 13:30:16 +01:00