28 Commits

Author SHA1 Message Date
Martin Pulec
e5f61f655a CI Linux FFmpeg: updated SVT-HEVC patch
SVT-JPEG-XS has been merged, which was causing the conflicts
2026-01-15 14:48:20 +01:00
Martin Pulec
3f0d98a18f CI Linux FFmpeg: update libde265 patch
the original version no longer applied so the UG/FFmpeg build failed
2025-10-03 15:19:58 +02:00
Martin Pulec
3af5f4dad6 CI Linux FFmpeg: update SVT-HEVC patch
the older seem no longer apply with the last 5000 commits from FFmpeg Git

rebased upon current FFmpeg Git master
2025-08-20 12:06:44 +02:00
Martin Pulec
e88251ec73 CI Linux FFmpeg: update SVT-HEVC SVT-VP9 compat
assume that FFmpeg is already patched with SVT-VP9 patch

As a side effect, the SVT-VP9 patch doesn't need to be patched (these
patches conflicted because VP9 applied after HEVC, which is now not
the case).
2025-06-20 14:59:18 +02:00
Martin Pulec
4f3945fc44 CI Linux FFmpeg: update SVT-HEVC patch
The patch no longer compiles with upstream FFmpeg (moreover the history
of 5000 commits is now too shallow.

Use a updated custom version now - the SVT-HEVC is archived, anyways so
the upstream won't be updated.
2025-06-20 14:59:18 +02:00
Martin Pulec
ae8cc3db8c CI FFmpeg Linux: copy SVT-HEVC patch
to be updated in next commit, for reference
2025-06-20 14:59:17 +02:00
Martin Pulec
40dd353465 vcomp/lavc: nvenc no intra-refresh for HEVC/AV1
Since the pulsation issue, it was not much usable, anyways and this
clean-ups the code a bit.

Also the behavior will be now more deterministic - it behaved differently
with patched FFmpeg (most likely GH Linux builds), othewrise differntly.

+ enable the header-inserter if user expliclty requesetd intra-refresh

refers to GH-114
2025-06-19 09:09:44 +02:00
Martin Pulec
abd7ae96fd vcomp/lavc: h264_nvenc: fix pulsation w intra-refr
Avoid pulsation with inra-refresh by repeating the missing SPS/PPS with
header inseter.

Unfortunately this is doesn't work well with HEVC because it seems that
the NVIDIA encoder keeps the reference almost forever in specific cases,
eg. `testcard:patt=text`. However, it _may_ work under some circumstances.
2025-06-19 09:08:32 +02:00
Martin Pulec
5bd65911cd CI: remove U20.04 compat
+ update TODO for pipewire where still neeeded for Debian 11
2025-03-27 07:36:11 +01:00
Martin Pulec
bf39e121af CI FFmpeg Linux: updated libde265 patch
remove FFCodec.init_static_data - dropped from upstream but not used by
libde265 plugin anyways
2024-10-16 09:45:13 +02:00
Martin Pulec
4c8f4b32f2 CI Linux FFmpeg: compat vaapi patch update 2024-10-16 09:11:50 +02:00
Martin Pulec
393b67ef7f CI FFmpeg Linux libde264 patch: removed reordered_opaque
dropped from upstream
2024-03-20 14:45:20 +01:00
Martin Pulec
b2eb8d3f79 CI Linux FFmpeg: updated libde265 patch
rebased with the current FFmpeg code
2024-03-20 14:16:09 +01:00
Martin Pulec
111a3a6911 CI Linux FFmpeg: updated libde265 patch
ceased to apply with FFmpeg master
2024-01-25 17:07:43 +01:00
Martin Pulec
367f0d2888 Revert "CI: Patch ffmpeg svtav1 to not force keyframes"
No longer needed - fixed in upstream.

This reverts commit a93aa1da94e9ade84008e9238f508656120f0999.
2023-10-20 12:44:58 +02:00
Martin Piatka
a4d4aab9d3 CI: Patch ffmpeg svtav1 to not force keyframes
Forcing keyframes makes the low delay mode (no b-frames) unavailable
2023-09-27 18:51:09 +02:00
Martin Pulec
10c280959b Revert "CI Linux FFmpeg: remove NVENC IDR patch"
This reverts commit e457ab87f7 but the
patch is updated to match current FFmpeg.

The FFmpeg commit that seemed to do the same (7eeef72c6) is not working
correctly because it assigns idrPeriod cc->gopLength, which was set to
NVENC_INFINITE_GOPLENGTH above in case of intra-refresh.

refer to GH-330
2023-07-24 16:23:44 +02:00
Martin Pulec
e457ab87f7 CI Linux FFmpeg: remove NVENC IDR patch
Since the FFmpeg commit 7eeef72c6, the IDR period is set to gopLength
unconditinally even for intra-refresh mode, which is what the removed
patch did.

+ do not check if FFmpeg is patched (the macro is )
2023-07-17 11:36:01 +02:00
Martin Piatka
d991cfceaa CI: Fix libde265dec patch
AV_CODEC_CAP_AUTO_THREADS was removed in ffmpeg commit 10c9a08
It was replaced by AV_CODEC_CAP_OTHER_THREADS (same macro value)
2023-02-20 13:17:20 +01:00
Martin Pulec
1d3890a671 CI FFmpeg Linux: old libva compatibility 2023-01-20 14:28:29 +01:00
Martin Pulec
207874398b CI FFmpeg Linux: added libde265
with own patch
2022-12-02 11:15:21 +01:00
Martin Pulec
d64468545b lavc: enable intra-refresh for NVENC with patch
see commits e3c926c8 and 1f735a93

We patch FFmpeg in Linux CI builds so if it is patched, intra-refresh
sitll can be enabled, even though not by default.
2022-04-22 11:32:53 +02: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 Piatka
bfd9aa3855 Github CI: Update ffmpeg intra-refresh patch 2021-06-14 13:19:32 +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
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