Compare commits

...

493 Commits

Author SHA1 Message Date
LinuxServer-CI
f35f0c9720
Bot Updating Package Versions 2026-02-12 23:30:59 +00:00
LinuxServer-CI
d424516bec
Bot Updating Templated Files 2026-02-12 22:29:47 +00:00
LinuxServer-CI
7100fa33c6
Bot Updating Package Versions 2026-02-05 23:24:07 +00:00
LinuxServer-CI
7b414e7bd9
Bot Updating Package Versions 2026-01-22 23:22:34 +00:00
LinuxServer-CI
118ea9dee1
Bot Updating Package Versions 2026-01-15 23:20:33 +00:00
LinuxServer-CI
3d3a0f3fdf
Bot Updating Package Versions 2026-01-08 23:19:12 +00:00
LinuxServer-CI
37bfd69cfb
Bot Updating Package Versions 2026-01-07 00:26:03 +00:00
aptalca
ab5fede4d2
Merge pull request #120 from linuxserver/2026-01-06
Remove mpp due to upstream dmca, bump libs
2026-01-06 18:19:07 -05:00
aptalca
c52f067a11
remove mpp from ffmpeg args 2026-01-06 11:42:11 -05:00
aptalca
839170000d
Remove mpp from aarch64 build due to upstream DMCA removal. Bump harfbuzz, libdav1d, libdrm, libpng, libva, libvpl, mesa, opus, shaderc and vulkan-sdk. 2026-01-06 11:09:20 -05:00
LinuxServer-CI
79cbc25e01
Bot Updating Package Versions 2025-12-25 23:18:19 +00:00
LinuxServer-CI
77ad03e76c
Bot Updating Package Versions 2025-12-18 23:17:52 +00:00
LinuxServer-CI
237805303e
Bot Updating Package Versions 2025-12-04 23:15:47 +00:00
aptalca
c01a2f7787
Merge pull request #119 from linuxserver/8.0.1
Bump ffmpeg to 8.0.1
2025-12-01 10:26:33 -05:00
aptalca
5803a9b64f
Merge pull request #118 from mashijp/bump/8.0.1
Bump ffmpeg to 8.0.1
2025-12-01 08:34:44 -05:00
mashijp
c6a0f2b929 template changes 2025-12-01 21:12:33 +09:00
mashijp
91b626f2c2 Bump ffmpeg to 8.0.1 2025-12-01 21:09:49 +09:00
aptalca
80b1900f78
Merge pull request #117 from linuxserver/2025-11-19
Bump various libs and deps
2025-11-20 07:03:34 -05:00
aptalca
259227e5dd
mesa dropped vdpau 2025-11-19 15:37:27 -05:00
aptalca
eee4a1436a
bump various libs and deps 2025-11-19 14:27:18 -05:00
LinuxServer-CI
33269ab474
Bot Updating Package Versions 2025-11-06 23:15:55 +00:00
LinuxServer-CI
306cf13333
Bot Updating Package Versions 2025-10-30 23:16:49 +00:00
LinuxServer-CI
2f3d26d118
Bot Updating Templated Files 2025-10-23 22:15:56 +00:00
LinuxServer-CI
1272de2b43
Bot Updating Package Versions 2025-10-16 23:29:10 +00:00
LinuxServer-CI
8492517284
Bot Updating Package Versions 2025-10-02 23:20:00 +00:00
LinuxServer-CI
289dae9395
Bot Updating Package Versions 2025-09-25 23:13:36 +00:00
LinuxServer-CI
15fadb5862
Bot Updating Package Versions 2025-09-18 23:13:10 +00:00
LinuxServer-CI
e7b350bddc
Bot Updating Package Versions 2025-09-11 23:14:41 +00:00
LinuxServer-CI
f197ab858d
Bot Updating Package Versions 2025-08-24 12:59:58 +00:00
aptalca
4759516f0f
Merge pull request #114 from linuxserver/8.0
Ffmpeg 8.0
2025-08-24 07:58:58 -04:00
aptalca
ae0f517118
remove obsolete patch 2025-08-23 21:51:54 -04:00
aptalca
8f5d687dcb
install newer bindgen 2025-08-23 21:19:10 -04:00
aptalca
6aae044a04
Bump ffmpeg to 8.0. Bump harfbuzz, Intel drivers and libs, libdovi, libdrm, libpng, mesa, ogg, rav1e, shaderc, svt-av1, vulkan-sdk, webp and zimg. 2025-08-23 20:56:47 -04:00
LinuxServer-CI
7dfa233d6d
Bot Updating Package Versions 2025-08-07 12:26:35 +00:00
LinuxServer-CI
7388bdf50b
Bot Updating Templated Files 2025-08-07 11:25:52 +00:00
aptalca
188c92bdaf
Merge pull request #113 from tc-mccarthy/svt-av1-3-1-0
Bumps SVT-AV1 to 3.1.0
2025-08-07 07:24:28 -04:00
TC McCarthy
28b3269bc9 Bumps SVT-AV1 to 3.1.0 2025-08-06 22:27:37 -04:00
LinuxServer-CI
b846a21cc9
Bot Updating Package Versions 2025-07-31 23:14:48 +00:00
LinuxServer-CI
eb0817433d
Bot Updating Package Versions 2025-07-25 00:25:31 +00:00
LinuxServer-CI
5f93798531
Bot Updating Package Versions 2025-07-17 23:15:31 +00:00
LinuxServer-CI
a72a94cb41
Bot Updating Package Versions 2025-07-10 23:14:59 +00:00
LinuxServer-CI
ad4b9919af
Bot Updating Package Versions 2025-07-03 23:16:54 +00:00
LinuxServer-CI
57996e79f4
Bot Updating Templated Files 2025-07-03 22:18:16 +00:00
LinuxServer-CI
772a3b66a0
Bot Updating Templated Files 2025-07-03 22:16:47 +00:00
LinuxServer-CI
1ae2b33b3a
Bot Updating Package Versions 2025-06-26 23:14:17 +00:00
LinuxServer-CI
84b0fc67c6
Bot Updating Package Versions 2025-06-12 23:18:51 +00:00
LinuxServer-CI
e4e39e0ed6
Bot Updating Templated Files 2025-06-12 22:16:41 +00:00
aptalca
bfc8160fb6
Merge pull request #112 from linuxserver/bump-25-06-07
Bump harfbuzz, libass, libdovi, libplacebo, libpng, mesa, rav1e, shaderc, libvpx and vulkan-sdk
2025-06-08 09:43:31 -04:00
aptalca
75cbcfc925
fix docker warning about case 2025-06-07 22:12:56 -04:00
aptalca
fd5a5b386d
Bump harfbuzz, libass, libdovi, libplacebo, libpng, mesa, rav1e, shaderc, libvpx and vulkan-sdk 2025-06-07 22:11:06 -04:00
LinuxServer-CI
ac3554a86c
Bot Updating Package Versions 2025-06-05 12:41:59 +00:00
aptalca
cb233c8241
Merge pull request #111 from linuxserver/rkmpp
add libdrm and rkmpp to arm64 image
2025-06-05 07:33:59 -04:00
aptalca
52ab84a072
add libdrm and rkmpp to arm64 image 2025-06-04 23:53:26 -04:00
LinuxServer-CI
70df6eb677
Bot Updating Package Versions 2025-05-29 22:56:52 +00:00
LinuxServer-CI
884b9c5b00
Bot Updating Package Versions 2025-05-01 23:12:26 +00:00
aptalca
970a7d035c
Merge pull request #107 from linuxserver/25-04-21
Bump aom, Intel drivers and libs, harfbuzz, mesa, svt-av1, libtheora, libvpx, vulkan-sdk and vvenc
2025-04-22 13:34:00 -04:00
aptalca
50dc5d8696
bump and fix libtheora 2025-04-21 11:58:19 -04:00
aptalca
ccaf335ca8
Bump aom, Intel drivers and libs, harfbuzz, mesa, svt-av1, libvpx, vulkan-sdk and vvenc 2025-04-21 11:16:06 -04:00
LinuxServer-CI
07756e90ff
Bot Updating Package Versions 2025-04-18 00:32:04 +00:00
LinuxServer-CI
b81ddb65b8
Bot Updating Package Versions 2025-04-10 23:08:42 +00:00
LinuxServer-CI
c38dac6d51
Bot Updating Package Versions 2025-04-06 00:38:35 +00:00
aptalca
158a5b8f57
Merge pull request #106 from linuxserver/cargo-c-fix
fix cargo-c dep issue
2025-04-05 19:42:35 -04:00
aptalca
8b98868c40
pin cmake as 4.0.0 breaks a lot of things 2025-04-04 12:01:25 -04:00
aptalca
2b5a969177
fix cmake 4.0.0 failing with no minimum defined 2025-04-04 11:24:00 -04:00
aptalca
1f4153c29a
fix cargo-c dep issue 2025-04-04 10:03:29 -04:00
LinuxServer-CI
161def8c4e
Bot Updating Package Versions 2025-03-27 23:08:39 +00:00
LinuxServer-CI
3f0a626bce
Bot Updating Package Versions 2025-03-21 00:39:46 +00:00
aptalca
daf525ef35
Merge pull request #105 from linuxserver/7.1.1
Bump ffmpeg to 7.1.1, bump various other drivers and libs
2025-03-11 14:43:53 -04:00
aptalca
23b4cea876
patch ffmpeg for svt-av1 3.0.0 2025-03-10 19:20:27 -04:00
aptalca
98a8c9aedd
fix rav1e build, remove no longer needed gcc12 for vvenc 2025-03-10 17:44:04 -04:00
aptalca
402bd7b486
fix aarch64 harfbuzz build 2025-03-10 16:31:13 -04:00
aptalca
87f4661467
add missing dep 2025-03-07 18:22:23 -05:00
aptalca
3819b379f6
fontconfig only publishes xz tarballs now 2025-03-07 18:00:59 -05:00
aptalca
c3ce08ae34
use gh mirror for ffnvcodec 2025-03-07 17:50:08 -05:00
aptalca
314ce6a11f
bump ffmpeg to 7.1.1, bump various other drivers and libs 2025-03-07 17:31:19 -05:00
LinuxServer-CI
224fb37cb9
Bot Updating Package Versions 2025-03-07 00:33:32 +00:00
LinuxServer-CI
b6478ffcc4
Bot Updating Package Versions 2025-02-27 23:09:48 +00:00
LinuxServer-CI
363e904e38
Bot Updating Package Versions 2025-02-21 00:40:28 +00:00
LinuxServer-CI
17de168698
Bot Updating Package Versions 2025-02-13 14:49:06 +00:00
LinuxServer-CI
311f8b6e90
Bot Updating Templated Files 2025-02-13 12:52:39 +00:00
quietsy
aedfa9f62c
Merge pull request #103 from linuxserver/fix-logo
Fix logo
2025-02-13 14:51:37 +02:00
quietsy
6198408c9a Fix logo 2025-02-13 14:18:41 +02:00
LinuxServer-CI
b93ae37877
Bot Updating Package Versions 2025-02-07 00:18:24 +00:00
LinuxServer-CI
ff419663fc
Bot Updating Package Versions 2025-01-31 01:22:20 +00:00
LinuxServer-CI
89a77204b5
Bot Updating Templated Files 2025-01-30 22:15:48 +00:00
LinuxServer-CI
8751eb564a
Bot Updating Templated Files 2025-01-30 22:15:05 +00:00
LinuxServer-CI
134a162732
Bot Updating Package Versions 2025-01-22 22:51:20 +00:00
LinuxServer-CI
bfa40dc2eb
Bot Updating Templated Files 2025-01-22 20:11:20 +00:00
quietsy
ca191ead02
Merge pull request #102 from linuxserver/add-project-categories
Add categories to readme-vars.yml
2025-01-22 22:09:53 +02:00
quietsy
60b97dd62e Add categories to readme-vars.yml 2025-01-22 14:21:39 +02:00
Adam
498763439e
Merge pull request #101 from linuxserver/readme-description
Add project description
2025-01-18 14:35:37 +00:00
thespad
f10c7eadc7
Add project description 2025-01-17 23:12:42 +00:00
LinuxServer-CI
2ca7ccc425
Bot Updating Package Versions 2024-12-20 00:20:54 +00:00
LinuxServer-CI
abb8c19e8a
Bot Updating Templated Files 2024-12-19 22:16:07 +00:00
LinuxServer-CI
e79ff22f4e
Bot Updating Templated Files 2024-12-19 22:15:00 +00:00
LinuxServer-CI
4761c8f632
Bot Updating Package Versions 2024-12-12 22:53:05 +00:00
LinuxServer-CI
96c924aa9e
Bot Updating Templated Files 2024-12-05 22:15:05 +00:00
LinuxServer-CI
d053c8356b
Bot Updating Package Versions 2024-12-03 13:07:58 +00:00
LinuxServer-CI
453bda289f
Bot Updating Templated Files 2024-12-03 12:25:37 +00:00
aptalca
b47e188ba2
Merge pull request #96 from linuxserver/libbump2
bump libaom, mesa, rist, srt and libx265
2024-12-03 07:24:34 -05:00
aptalca
be503f4140
bump libaom, mesa, rist, srt and libx265 2024-11-26 20:34:13 -05:00
LinuxServer-CI
b312e5b51c
Bot Updating Package Versions 2024-11-21 22:54:39 +00:00
LinuxServer-CI
bafb2b2687
Bot Updating Templated Files 2024-11-14 22:16:14 +00:00
LinuxServer-CI
eb951ebe1e
Bot Updating Templated Files 2024-11-14 22:14:50 +00:00
aptalca
e04bf66482
Merge pull request #95 from linuxserver/libbump
Bump harfbuzz, Intel drivers and libs, libdav1d, mesa, svtav1, vpx, vulkan sdk and vvenc
2024-11-08 11:48:01 -05:00
aptalca
4d253bbc09
fix version typo 2024-11-07 20:18:49 -05:00
aptalca
215717e653
Bump harfbuzz, Intel drivers and libs, libdav1d, mesa, svtav1, vpx, vulkan sdk and vvenc 2024-11-07 18:28:39 -05:00
Roxedus
fe080f075e
Merge pull request #94 from linuxserver/readme-sync 2024-11-03 22:18:31 +01:00
Roxedus
3859482e15
Update readme 2024-11-03 19:45:40 +01:00
LinuxServer-CI
d4446d8b18
Bot Updating Package Versions 2024-10-24 23:35:40 +00:00
LinuxServer-CI
7750c2c265
Bot Updating Package Versions 2024-10-17 23:06:45 +00:00
aptalca
d1c62038b3
Merge pull request #92 from linuxserver/vvenc
add support for vvenc on aarch64
2024-10-05 17:26:29 -04:00
aptalca
955938eb08
bump mesa 2024-10-05 16:15:23 -04:00
aptalca
0a8da448da
add support for vvenc on aarch64 2024-10-02 22:45:08 -04:00
aptalca
73c4f3a8b8
Merge pull request #91 from linuxserver/7.1
Bump ffmpeg, fribidi and harfbuzz, add support for libvvenc (amd64) and liblc3
2024-09-30 18:05:16 -04:00
aptalca
6ada8e17a0
vvenc doesn't build on arm 2024-09-30 15:43:47 -04:00
aptalca
b50a8ac7c3
Bump ffmpeg, fribidi and harfbuzz, add support for libvvenc and liblc3 2024-09-30 13:20:03 -04:00
LinuxServer-CI
d08d635018
Bot Updating Package Versions 2024-09-26 23:41:38 +00:00
LinuxServer-CI
f9066156ce
Bot Updating Templated Files 2024-09-26 22:17:10 +00:00
LinuxServer-CI
8403937aca
Bot Updating Templated Files 2024-09-26 22:15:31 +00:00
LinuxServer-CI
76844c6044
Bot Updating Templated Files 2024-09-26 22:13:54 +00:00
aptalca
239fc19a68
Merge pull request #90 from linuxserver/exec
Let ffmpeg terminate gracefully on docker stop/restart. Bump libharfbuzz, libpng, mesa, shaderc and libx265.
2024-09-24 13:32:15 -04:00
aptalca
246fa3ed2c
bump libharfbuzz, libpng, mesa, shaderc and libx265 2024-09-24 10:57:36 -04:00
aptalca
2f3a3ee9b1
run ffmpeg with exec so SIGTERM reaches ffmpeg 2024-09-23 10:07:30 -04:00
LinuxServer-CI
3ce61ce364
Bot Updating Package Versions 2024-09-20 01:17:37 +00:00
LinuxServer-CI
860db17b7c
Bot Updating Package Versions 2024-09-12 23:16:38 +00:00
LinuxServer-CI
3102ecf182
Bot Updating Templated Files 2024-09-11 04:07:17 +00:00
aptalca
44c3009567
Merge pull request #87 from trapexit/zmq
Add libzmq for ZMQ support
2024-09-11 00:06:03 -04:00
Antonio SJ Musumeci
144427e782 Add libzmq support 2024-09-11 02:59:04 +00:00
LinuxServer-CI
bc42c1361d
Bot Updating Package Versions 2024-09-05 22:51:31 +00:00
aptalca
34f736f4ce
Merge pull request #85 from linuxserver/bump
Bump libaom, libdrm, libvpl, mesa and svtav1, enable nvdec/nvenc on arm64 (untested)
2024-08-31 22:26:17 -04:00
aptalca
afb90c2b40
turns out I'm not very good at copy pasta 2024-08-31 20:34:27 -04:00
aptalca
aea62bfe05
fix typo 2024-08-31 18:34:23 -04:00
aptalca
c214f6e0a5
Bump libaom, libdrm, libvol, mesa and svtav1, enable nvdec/nvenc on arm64 (untested) 2024-08-31 18:30:18 -04:00
LinuxServer-CI
2151324e8b
Bot Updating Package Versions 2024-08-29 13:25:07 +00:00
aptalca
a75ba24def
Merge pull request #84 from cloudmercato/aarch64
Added VMAF to aarch64
2024-08-29 08:30:20 -04:00
Anthony Monthe
2b75c6a033 Added VMAF to aarch64 2024-08-29 11:57:03 +01:00
LinuxServer-CI
fb135d8dc9
Bot Updating Package Versions 2024-08-22 22:52:42 +00:00
LinuxServer-CI
f6fdf870c9
Bot Updating Templated Files 2024-08-19 18:07:20 +00:00
LinuxServer-CI
a5d5db31a1 Bot Updating Templated Files 2024-08-19 18:06:19 +00:00
aptalca
df61ef7193
Merge pull request #83 from linuxserver/7.0.2
Bump ffmpeg, freetype, libdovi and mesa
2024-08-19 14:05:23 -04:00
aptalca
ff55333586
add new mesa dep 2024-08-17 14:27:14 -04:00
aptalca
25ee456115
Merge branch 'master' into 7.0.2 2024-08-17 13:55:03 -04:00
aptalca
548a2dc764
Bump ffMPeg, freetype, libdovi and mesa 2024-08-17 13:47:49 -04:00
LinuxServer-CI
df2575e71e Bot Updating Templated Files 2024-08-17 17:27:49 +00:00
aptalca
1b87339f67
Merge pull request #82 from d-prieur/SRT-RIST
Added support for SRT and RIST streaming protocols
2024-08-17 13:26:10 -04:00
aptalca
21f618c5e5
fix ordering 2024-08-17 13:24:53 -04:00
LinuxServer-CI
9eb59666a2 Bot Updating Package Versions 2024-08-15 23:05:41 +00:00
DPrieur
8f11643416 Propagated the changes to the AArch64 file 2024-08-14 00:32:26 -04:00
DPrieur
1f304eb7e1 Improved the alphabetical ordering 2024-08-14 00:27:44 -04:00
DPrieur
ceb131af90 Changelog update 2024-08-14 00:18:44 -04:00
DPrieur
f8a0a62c0c Adding Support for VideoLAN's Reliable Internet Stream Transport (RIST) Protocol 2024-08-13 23:47:08 -04:00
DPrieur
151222a8e4 Adding Support for Haivision's Secure Reliable Transport (SRT) Protocol 2024-08-13 22:27:02 -04:00
LinuxServer-CI
ec388155a1 Bot Updating Package Versions 2024-08-08 22:50:06 +00:00
aptalca
aadc708f4f
Merge pull request #79 from linuxserver/libdav1d
Add libdav1d, bump various libs
2024-08-02 13:14:12 -04:00
aptalca
7af66d82af
fix version typo 2024-08-01 11:57:06 -04:00
aptalca
3f1410baea
Add libdav1d, bump various libs 2024-08-01 10:41:58 -04:00
LinuxServer-CI
a20bc94792 Bot Updating Package Versions 2024-07-18 22:51:10 +00:00
LinuxServer-CI
8e604391f1 Bot Updating Templated Files 2024-07-18 22:13:56 +00:00
LinuxServer-CI
7fb2938a54 Bot Updating Templated Files 2024-07-18 22:12:53 +00:00
LinuxServer-CI
b437430677 Bot Updating Package Versions 2024-07-05 00:12:16 +00:00
aptalca
2b9597f60f
Merge pull request #77 from linuxserver/librav1e
fix librav1e build, bump mesa and libaom
2024-06-21 15:59:19 -04:00
aptalca
56c70c9acc
fix libdovi path 2024-06-21 13:57:56 -04:00
aptalca
3e436b2682
bump libaom and mesa 2024-06-21 12:48:27 -04:00
aptalca
ae7cc02e06
lib path changed with latest cargo-c 2024-06-21 12:39:41 -04:00
LinuxServer-CI
d2d435a770 Bot Updating Package Versions 2024-06-12 16:30:49 +00:00
aptalca
5bb7b704c2
Merge pull request #76 from linuxserver/bump
bump ffmpeg and other libs
2024-06-12 11:52:25 -04:00
aptalca
394dd69b10
bump ffmpeg and other libs 2024-06-08 13:30:47 -04:00
LinuxServer-CI
9c0e59f386 Bot Updating Package Versions 2024-06-06 22:48:41 +00:00
LinuxServer-CI
3ed7ab907a Bot Updating Package Versions 2024-05-29 14:42:31 +00:00
aptalca
5fd88762df
Merge pull request #74 from linuxserver/noble
Rebase to noble, minimize deps, compile libgl, bump libass, harfbuzz and vulkan-sdk
2024-05-29 10:04:43 -04:00
aptalca
df89ca0f27
revert accidental makeflag change 2024-05-26 19:15:51 -04:00
aptalca
c1ea5aafdf
compile libgl, bump libass, harfbuzz and vulkan-sdk 2024-05-26 19:15:15 -04:00
aptalca
7d1fe8432c
Rebase to noble, restructure debs 2024-05-26 12:02:19 -04:00
aptalca
0a5e0b3755
Merge pull request #73 from linuxserver/mesa24.1
Bump Mesa to 24.1.0
2024-05-22 18:39:22 -04:00
aptalca
881a15fc12
third time's a charm 2024-05-22 16:33:08 -04:00
aptalca
5150cb2824
add new mesa deps, add cargo bin to path 2024-05-22 16:26:24 -04:00
aptalca
5d246a2610
Bump Mesa to 24.1.0 2024-05-22 15:18:06 -04:00
LinuxServer-CI
2ceabf1f55 Bot Updating Templated Files 2024-05-20 17:00:54 +00:00
aptalca
d234aeeff1
Merge pull request #72 from tc-mccarthy/bump
Bumps SVTAV1
2024-05-20 12:59:32 -04:00
TC McCarthy
9d0819692b Bumps SVTAV1 2024-05-20 12:05:14 -04:00
aptalca
80690a7f0b
Merge pull request #71 from linuxserver/bump2
Bump various libs
2024-05-10 23:52:20 -04:00
aptalca
9c14a476aa
remove obsolete lib path 2024-05-10 00:02:43 -04:00
aptalca
9ba830f3b9
Update libvpl repo and fix another typo 2024-05-09 22:24:26 -04:00
aptalca
d95a5e50f8
fix typo 2024-05-09 21:56:08 -04:00
aptalca
f5eee658fa
pull x265 tarball on aarch64 2024-05-09 21:13:58 -04:00
aptalca
fa15e895b0
Bump various libs 2024-05-09 20:37:54 -04:00
LinuxServer-CI
d4b323b8bf Bot Updating Package Versions 2024-05-09 22:43:59 +00:00
LinuxServer-CI
15de6e85f9 Bot Updating Package Versions 2024-05-02 23:03:09 +00:00
LinuxServer-CI
b4d9925ae7 Bot Updating Templated Files 2024-05-02 22:12:51 +00:00
LinuxServer-CI
a996a78f38 Bot Updating Package Versions 2024-04-25 22:42:53 +00:00
LinuxServer-CI
a644c98b87 Bot Updating Package Versions 2024-04-18 22:54:23 +00:00
LinuxServer-CI
6d9c61d8cc Bot Updating Templated Files 2024-04-12 14:55:18 +00:00
aptalca
49bc50acde
Merge pull request #68 from linuxserver/libdrm-arm64
explicitly disable libdrm on arm64, add quick build tests
2024-04-12 10:53:59 -04:00
aptalca
fb9eeef31c
explicitly disable libdrm on arm64, add quick build tests 2024-04-11 16:36:25 -04:00
LinuxServer-CI
0fd6f6eb09 Bot Updating Package Versions 2024-04-11 17:13:41 +00:00
LinuxServer-CI
3584858c51 Bot Updating Templated Files 2024-04-11 15:42:55 +00:00
aptalca
bcf329aac1
Merge pull request #66 from linuxserver/harfbuzz
Compile ffmpeg with `libfribidi`, `libharfbuzz` and `libfontconfig`, compile libharfbuzz
2024-04-11 11:40:51 -04:00
aptalca
7c25c3c1d7
preserve fonts 2024-04-11 09:36:45 -04:00
aptalca
5615702358
remove redundant package 2024-04-10 23:37:38 -04:00
aptalca
4c23248abe
compile libharfbuzz, strip various libs, fix typo in libfribi 2024-04-10 22:25:44 -04:00
aptalca
ec678f8ac1
also enable fribidi and fontconfig 2024-04-10 18:20:25 -04:00
aptalca
9017824489
compile with --enable-libharfbuzz 2024-04-10 18:06:54 -04:00
aptalca
87d985f3fb
Merge pull request #65 from linuxserver/7.0
bump ffmpeg to 7.0, bump other deps
2024-04-05 13:38:33 -04:00
aptalca
5ff16e4038
bump ffmpeg to 7.0, bump other deps 2024-04-05 11:07:45 -04:00
LinuxServer-CI
925c2856ed Bot Updating Package Versions 2024-04-04 23:55:03 +00:00
LinuxServer-CI
501c05892a Bot Updating Package Versions 2024-03-22 00:19:11 +00:00
aptalca
6b33b046bd
Merge pull request #64 from linuxserver/bump
Bump libaom, mesa, openjpeg, opus, shaderc and svtav1
2024-03-17 10:15:00 -04:00
aptalca
6f01501876
Bump libaom, mesa, openjpeg, opus, shaderc and svtav1 2024-03-16 21:16:18 -04:00
LinuxServer-CI
7f55eaa35f Bot Updating Package Versions 2024-03-14 23:53:42 +00:00
LinuxServer-CI
8403d18f4c Bot Updating Templated Files 2024-03-14 22:12:05 +00:00
LinuxServer-CI
34e2662e25 Bot Updating Package Versions 2024-03-08 00:26:03 +00:00
LinuxServer-CI
cd4474c96a Bot Updating Package Versions 2024-02-29 23:51:32 +00:00
LinuxServer-CI
e175b91140 Bot Updating Templated Files 2024-02-22 22:13:38 +00:00
LinuxServer-CI
7f065e2284 Bot Updating Templated Files 2024-02-22 22:11:43 +00:00
aptalca
dbb3b6047e
Merge pull request #63 from linuxserver/zimg
Add support for Zimg
2024-02-14 08:32:09 -05:00
aptalca
4d28b9bfbd
I'm a little teapot 2024-02-11 10:31:46 -05:00
aptalca
af6c982e1e
Add support for Zimg 2024-02-11 09:52:50 -05:00
aptalca
e57589ced4
Merge pull request #61 from linuxserver/6.1.1
bump ffmpeg to 6.1.1, bump other deps
2024-02-09 14:21:43 -05:00
aptalca
2cbd3772a3
Revert kvazaar until 2.3.1 is released
https://github.com/ultravideo/kvazaar/issues/381
2024-02-09 11:17:15 -05:00
aptalca
66d3f3d8c9
bump ffmpeg to 6.1.1, bump other deps 2024-02-09 10:00:03 -05:00
LinuxServer-CI
741fe799fa Bot Updating Package Versions 2024-02-09 10:03:57 +00:00
aptalca
e07cb8fcec
Merge pull request #60 from Brainiarc7/patch-3
Enable the full stack of CUDA-related filters via `----enable-cuda-llvm`
2024-02-09 03:09:51 -05:00
aptalca
a8aca108be
fix typo 2024-02-08 23:02:47 -05:00
aptalca
3635efa0cc
simplify deps, clean up rust 2024-02-08 22:01:50 -05:00
LinuxServer-CI
afeaf414bc Bot Updating Package Versions 2024-02-08 23:52:39 +00:00
Dennis E. Mungai
6f75579f1f
Enable the full stack of CUDA-related filters via ----enable-cuda-llvm
As at the moment, this FFmpeg build's filtering capabilities are extremely limited in NVENC-based workloads, lacking multiple CUDA-based filters needed for a fully functional GPU-bound transcode.

This patch adds the ``--enable-cuda-llvm` `./configure` parameter to FFmpeg's builds, with the addition of `clang` (and its' dependencies) as build requirements for these extra filters.

The following filters are now additionally available, and without invoking the installation of the proprietary NVIDIA CUDA SDK: 

```sh
ffmpeg -filters | grep cuda
 ... bilateral_cuda    V->V       (null)
 T.. bwdif_cuda        V->V       (null)
 ... chromakey_cuda    V->V       (null)
 ... colorspace_cuda   V->V       (null)
 ... hwupload_cuda     V->V       (null)
 ... overlay_cuda      VV->V      (null)
 ... scale_cuda        V->V       (null)
 ... thumbnail_cuda    V->V       (null)
 T.. yadif_cuda        V->V       (null)
``` 

Licensing, therefore, remains unaffected.
2024-02-07 00:16:46 +03:00
LinuxServer-CI
e4849bb353 Bot Updating Package Versions 2024-02-01 22:16:35 +00:00
aptalca
34b08b79ae
Merge pull request #57 from linuxserver/mesa24
bump Mesa to v24
2024-02-01 15:33:48 -05:00
aptalca
37afd12ff0
bump Mesa to v24 2024-02-01 12:56:07 -05:00
LinuxServer-CI
4bb1d44c03 Bot Updating Package Versions 2024-01-25 16:16:29 +00:00
aptalca
24b18df49c
Merge pull request #56 from linuxserver/alsa
Alsa
2024-01-25 09:52:53 -05:00
aptalca
e23a6693f4
use latest rust 2024-01-23 09:34:37 -05:00
aptalca
4f3d863660
fix sound device perms if needed 2024-01-23 09:19:51 -05:00
aptalca
23abf40371
add alsa support 2024-01-21 17:01:33 -05:00
Roxedus
5334d8c604
Merge pull request #54 from linuxserver/exit 2024-01-19 14:03:12 +01:00
aptalca
0dc2103432
let wrapper pass exit code to docker run, bump libs 2024-01-18 21:07:04 -05:00
LinuxServer-CI
e93387acf9 Bot Updating Package Versions 2024-01-18 22:44:42 +00:00
LinuxServer-CI
5bee405c60 Bot Updating Package Versions 2024-01-11 23:49:42 +00:00
LinuxServer-CI
b8f38a128f Bot Updating Templated Files 2024-01-11 22:11:58 +00:00
aptalca
63a0415c1d
Merge pull request #52 from tc-mccarthy/svtav1_bump
Bump various libs, add rav1e
2024-01-02 08:36:46 -05:00
aptalca
8f049b3db9
add cargo to aarch64 2024-01-01 22:04:08 -05:00
aptalca
e35de124c8
Add rav1e support 2024-01-01 21:32:41 -05:00
aptalca
2f7a805bce
Bump various libs 2024-01-01 18:00:07 -05:00
TC McCarthy
154a0501da bumps svt-av1 version to 1.8.0 2023-12-28 11:29:22 -05:00
LinuxServer-CI
984c133179 Bot Updating Package Versions 2023-12-21 23:38:41 +00:00
LinuxServer-CI
aee010fdc2 Bot Updating Package Versions 2023-12-14 23:49:41 +00:00
aptalca
6ac8954336
Merge pull request #51 from linuxserver/placebo
Add libplacebo and libdovi
2023-12-06 11:17:42 -05:00
aptalca
35056fa371
Add libplacebo and libdovi 2023-12-05 21:54:10 -05:00
LinuxServer-CI
50383413e4 Bot Updating Package Versions 2023-12-05 21:02:37 +00:00
aptalca
a6f0f0edce
Merge pull request #50 from linuxserver/amd
Fix amd vaapi, fix vdpau, bump mesa, update readme
2023-12-05 15:15:19 -05:00
aptalca
26c3226534
Fix amd vaapi, fix vdpau, bump mesa, update readme 2023-12-05 12:32:43 -05:00
LinuxServer-CI
0a4521de56 Bot Updating Package Versions 2023-11-30 23:43:15 +00:00
LinuxServer-CI
80430190d2 Bot Updating Package Versions 2023-11-28 18:11:38 +00:00
aptalca
e56d263891
Merge pull request #49 from linuxserver/vulkan2
compile mesa, add vulkan deps, remove var
2023-11-28 12:42:52 -05:00
aptalca
f153b395b5
compile mesa, add vulkan deps, remove var 2023-11-25 16:44:34 -05:00
LinuxServer-CI
3b529cd2aa Bot Updating Templated Files 2023-11-24 00:22:19 +00:00
aptalca
a39d399d5f
Merge pull request #48 from linuxserver/vulkan
Add vulkan and shaderc to x86_64
2023-11-23 19:20:18 -05:00
LinuxServer-CI
2212963a37 Bot Updating Package Versions 2023-11-23 22:33:26 +00:00
aptalca
cd263a29b8
enable vulkan via en var, bump libs 2023-11-22 13:59:21 -05:00
aptalca
6b7693bf8b
Add vulkan and shaderc to x86_64 2023-11-20 14:52:52 -05:00
aptalca
5091d851b7
Merge pull request #45 from linuxserver/6.1
Bump FFmpeg to 6.1
2023-11-13 15:42:14 -05:00
aptalca
2543362f36
Bump nv-codec-headers 2023-11-13 12:51:32 -05:00
aptalca
af9cea012c
Bump FFmpeg to 6.1 2023-11-13 11:06:55 -05:00
LinuxServer-CI
77720f84b1 Bot Updating Package Versions 2023-11-02 22:15:54 +00:00
aptalca
77134e839e
Merge pull request #44 from linuxserver/no-small
Remove `--enable-small` from ffmpeg build options
2023-11-02 16:27:15 -05:00
aptalca
a94934fc16
update readme 2023-11-02 15:41:28 -04:00
aptalca
d5ce8293a3
try building without --enable-small 2023-11-02 13:28:01 -04:00
LinuxServer-CI
728c74ca50 Bot Updating Package Versions 2023-10-26 23:06:03 +00:00
LinuxServer-CI
9f18e8b180 Bot Updating Package Versions 2023-10-19 22:34:04 +00:00
LinuxServer-CI
a2544cc770 Bot Updating Templated Files 2023-10-19 22:11:45 +00:00
LinuxServer-CI
b88dba5619 Bot Updating Templated Files 2023-10-09 01:06:09 +00:00
LinuxServer-CI
da56b00644 Bot Updating Templated Files 2023-10-09 01:04:07 +00:00
driz
cc64e698bb
Merge pull request #40 from linuxserver/libs
Add support for SVT-AV1, update libs
2023-10-08 21:02:49 -04:00
aptalca
ced90f84f2
use sourceforge for freetype, fix link for lame 2023-10-06 10:07:25 -04:00
aptalca
79a5961a52
Add support for SVT-AV1 2023-10-05 21:28:11 -04:00
aptalca
42ecf13202
update various libs 2023-10-05 20:28:29 -04:00
LinuxServer-CI
23de3863c4 Bot Updating Package Versions 2023-10-05 22:32:23 +00:00
LinuxServer-CI
5bfd5cefdc Bot Updating Package Versions 2023-09-14 23:07:19 +00:00
LinuxServer-CI
29eed4c452 Bot Updating Package Versions 2023-08-31 23:14:06 +00:00
LinuxServer-CI
0e6ea15303 Bot Updating Package Versions 2023-08-17 15:46:58 +00:00
aptalca
876f6de8d6
Merge pull request #39 from 0x3333/master
Added support for WebP format
2023-08-17 10:39:36 -04:00
Tercio Gaudencio Filho
728b07b92f
Corrected the alphabetical order of the items. 2023-08-17 09:11:12 -03:00
Tercio Gaudencio Filho
01dd1521c0
Added support for WebP format from sources. 2023-08-16 19:59:35 -03:00
Tercio Gaudencio Filho
0142fe0cc1
Merged with master. 2023-08-16 19:56:57 -03:00
LinuxServer-CI
ed03900a95 Bot Updating Package Versions 2023-08-11 22:14:03 +00:00
aptalca
a15aebe905
Merge pull request #37 from linuxserver/i965
add i965 as optional driver for gen5-8
2023-08-11 17:27:34 -04:00
aptalca
3ac15fdb63
update changelog 2023-08-11 11:52:39 -04:00
LinuxServer-CI
1f230ba852 Bot Updating Package Versions 2023-08-03 22:31:00 +00:00
Tercio Gaudencio Filho
9ed6a68b7f
Updated changelog about new WebP format. 2023-08-03 14:09:29 -03:00
LinuxServer-CI
ab5a0a69e4 Bot Updating Package Versions 2023-07-27 23:23:00 +00:00
Tercio Gaudencio Filho
8d29d99e77
Added support for WebP format. 2023-07-21 16:14:24 -03:00
LinuxServer-CI
c3aa17e975 Bot Updating Templated Files 2023-07-06 22:13:18 +00:00
LinuxServer-CI
e696dc5a57 Bot Updating Package Versions 2023-06-29 22:32:20 +00:00
LinuxServer-CI
0784623989 Bot Updating Package Versions 2023-06-15 22:31:12 +00:00
aptalca
605b433fa6
add i965 as optional driver for gen5-8 2023-06-14 20:56:30 -04:00
LinuxServer-CI
db5c63b4a5 Bot Updating Package Versions 2023-06-15 00:34:00 +00:00
aptalca
472e0aab35
Merge pull request #35 from linuxserver/qsv
Add latest iHD and libvpl/msdk for qsv
2023-06-14 20:12:57 -04:00
aptalca
8e22a434fe
update readme 2023-06-14 19:06:56 -04:00
aptalca
2e909accce
add latest iHD and libvpl/msdk for qsv 2023-06-14 17:10:21 -04:00
LinuxServer-CI
61c7fdd493 Bot Updating Package Versions 2023-06-14 01:02:13 +00:00
aptalca
0264cca0f3
Merge pull request #33 from linuxserver/6.0
upgrade to ffmpeg 6.0, deprecate armhf
2023-06-13 20:16:17 -04:00
aptalca
7cc09101a3
Fix build arg/var 2023-06-13 18:30:19 -04:00
aptalca
f20595d0c5
combine bin stage 2023-06-13 18:05:51 -04:00
aptalca
08109809be
add intel shaders 2023-06-11 21:58:21 -04:00
aptalca
485759ea45
upgrade to ffmpeg 6.0, deprecate armhf 2023-06-09 18:24:38 -04:00
LinuxServer-CI
72f12e7239 Bot Updating Package Versions 2023-06-08 22:14:21 +00:00
LinuxServer-CI
b2045d7674 Bot Updating Package Versions 2023-06-01 22:12:30 +00:00
LinuxServer-CI
e7a21f9d3c Bot Updating Package Versions 2023-05-25 22:13:47 +00:00
LinuxServer-CI
1b12c6d04e Bot Updating Templated Files 2023-05-25 22:11:39 +00:00
LinuxServer-CI
c80ea76970 Bot Updating Package Versions 2023-05-11 22:12:13 +00:00
LinuxServer-CI
9a965ee0b6 Bot Updating Package Versions 2023-05-04 22:12:54 +00:00
LinuxServer-CI
048827f205 Bot Updating Package Versions 2023-04-27 22:12:47 +00:00
LinuxServer-CI
5754e1c899 Bot Updating Templated Files 2023-04-27 22:11:10 +00:00
LinuxServer-CI
1d5b70a7af Bot Updating Templated Files 2023-04-27 22:10:30 +00:00
LinuxServer-CI
ca0231e0ff Bot Updating Package Versions 2023-04-20 17:12:56 -05:00
LinuxServer-CI
45fb0a0f9c Bot Updating Package Versions 2023-04-13 17:12:55 -05:00
LinuxServer-CI
a89c86a881 Bot Updating Templated Files 2023-04-03 20:48:24 -05:00
LinuxServer-CI
e6abfd5e50 Bot Updating Templated Files 2023-04-03 20:47:09 -05:00
LinuxServer-CI
008e1244fa Bot Updating Templated Files 2023-04-03 20:45:56 -05:00
LinuxServer-CI
0caab023c4 Bot Updating Package Versions 2023-03-28 03:49:20 +02:00
LinuxServer-CI
da79d2a82e Bot Updating Package Versions 2023-03-14 02:40:08 +01:00
LinuxServer-CI
e16fa924bc Bot Updating Package Versions 2023-03-06 20:09:34 -06:00
LinuxServer-CI
ab61712937 Bot Updating Templated Files 2023-03-06 20:07:02 -06:00
LinuxServer-CI
44bae619cc Bot Updating Package Versions 2023-02-27 19:59:15 -06:00
LinuxServer-CI
2c4dd8955f Bot Updating Package Versions 2023-02-20 20:01:16 -06:00
LinuxServer-CI
6742d755ff Bot Updating Templated Files 2023-02-14 03:01:14 +01:00
LinuxServer-CI
04718601d9 Bot Updating Templated Files 2023-02-14 03:00:06 +01:00
LinuxServer-CI
3d81da5642 Bot Updating Package Versions 2023-01-30 19:59:26 -06:00
LinuxServer-CI
c7705715f4 Bot Updating Package Versions 2023-01-17 02:54:04 +01:00
LinuxServer-CI
abb5679c87 Bot Updating Package Versions 2022-12-18 10:19:09 -06:00
Adam
66bc15cb0e
Merge pull request #24 from linuxserver/jammy-master 2022-12-18 16:17:00 +00:00
TheSpad
87d48de7ac
Rebase to jammy 2022-12-14 15:24:32 +00:00
LinuxServer-CI
2cd2471451 Bot Updating Package Versions 2022-12-13 03:02:32 +01:00
LinuxServer-CI
e6773e1015 Bot Updating Package Versions 2022-12-05 19:54:48 -06:00
LinuxServer-CI
b612a41a15 Bot Updating Package Versions 2022-11-29 03:06:26 +01:00
LinuxServer-CI
46ea072b6c Bot Updating Templated Files 2022-11-29 03:04:16 +01:00
LinuxServer-CI
b3fdb2d2ba Bot Updating Templated Files 2022-11-29 03:03:00 +01:00
LinuxServer-CI
042b14aab0 Bot Updating Templated Files 2022-11-29 03:01:44 +01:00
LinuxServer-CI
b0ff670aae Bot Updating Package Versions 2022-11-22 03:22:19 +01:00
LinuxServer-CI
7d431fb4a4 Bot Updating Package Versions 2022-11-15 03:24:44 +01:00
LinuxServer-CI
fd60f00733 Bot Updating Templated Files 2022-11-15 03:22:05 +01:00
LinuxServer-CI
e8d91726d9 Bot Updating Package Versions 2022-10-31 22:07:06 -05:00
LinuxServer-CI
d90192cd1a Bot Updating Package Versions 2022-10-25 05:18:50 +02:00
LinuxServer-CI
e4595c6ed4 Bot Updating Package Versions 2022-09-26 22:04:33 -05:00
LinuxServer-CI
b638a13688 Bot Updating Package Versions 2022-09-19 22:08:46 -05:00
LinuxServer-CI
ddd3862a5d Bot Updating Templated Files 2022-09-19 22:06:39 -05:00
LinuxServer-CI
6499d3f9c5 Bot Updating Package Versions 2022-09-05 22:13:19 -05:00
LinuxServer-CI
9da86d3b2e Bot Updating Package Versions 2022-08-08 21:43:00 -05:00
LinuxServer-CI
631738b6a7 Bot Updating Package Versions 2022-07-25 08:20:30 -05:00
Adam
c10f946b75
Merge pull request #20 from linuxserver/arch-fix 2022-07-25 14:17:14 +01:00
TheSpad
bd393e05cf
Actually rebase arm to Focal as well. 2022-07-25 12:37:16 +01:00
LinuxServer-CI
034a857e99 Bot Updating Package Versions 2022-07-12 04:48:48 +02:00
LinuxServer-CI
6343f0fd51 Bot Updating Package Versions 2022-07-04 21:40:48 -05:00
LinuxServer-CI
b042b61684 Bot Updating Package Versions 2022-06-24 10:22:33 -05:00
Adam
cb67a236d8
Merge pull request #17 from linuxserver/master-focal 2022-06-24 16:20:09 +01:00
LinuxServer-CI
a6bc7e4d14 Bot Updating Package Versions 2022-06-21 04:27:53 +02:00
TheSpad
8c4474487c
Update readme to new style 2022-06-19 20:48:33 +01:00
TheSpad
3cdc4e7a9a
Rebase to focal 2022-06-19 20:11:43 +01:00
LinuxServer-CI
ea397b56b5 Bot Updating Package Versions 2022-06-06 21:19:07 -05:00
LinuxServer-CI
23fc6283ab Bot Updating Package Versions 2022-05-31 04:30:02 +02:00
LinuxServer-CI
ed02a927bf Bot Updating Package Versions 2022-05-23 21:30:38 -05:00
LinuxServer-CI
0514c2c0ad Bot Updating Package Versions 2022-05-16 21:28:54 -05:00
LinuxServer-CI
0db0f55663 Bot Updating Package Versions 2022-05-09 20:55:25 -05:00
LinuxServer-CI
0fcbe61600 Bot Updating Package Versions 2022-04-19 04:23:36 +02:00
LinuxServer-CI
4eed232b91 Bot Updating Package Versions 2022-04-04 21:00:16 -05:00
LinuxServer-CI
aff975a04b Bot Updating Package Versions 2022-03-28 21:03:27 -05:00
LinuxServer-CI
e20e03a33d Bot Updating Package Versions 2022-03-15 02:49:40 +01:00
LinuxServer-CI
063f705a46 Bot Updating Package Versions 2022-03-08 02:43:56 +01:00
LinuxServer-CI
8e9f2b3916 Bot Updating Package Versions 2022-02-22 02:34:06 +01:00
LinuxServer-CI
bacaab9179 Bot Updating Package Versions 2022-02-08 02:33:03 +01:00
LinuxServer-CI
8cdca35736 Bot Updating Package Versions 2022-01-18 02:38:39 +01:00
LinuxServer-CI
d4b8e80ced Bot Updating Package Versions 2021-12-28 02:33:12 +01:00
LinuxServer-CI
46a1943faf Bot Updating Package Versions 2021-12-21 02:37:36 +01:00
LinuxServer-CI
226ddf020a Bot Updating Templated Files 2021-12-21 02:35:23 +01:00
LinuxServer-CI
df1975c685 Bot Updating Package Versions 2021-12-14 02:35:33 +01:00
LinuxServer-CI
7bacd0720a Bot Updating Package Versions 2021-11-09 02:25:39 +01:00
LinuxServer-CI
903487b503 Bot Updating Package Versions 2021-10-19 03:33:27 +02:00
LinuxServer-CI
2e0ba23ad5 Bot Updating Package Versions 2021-10-05 03:30:26 +02:00
LinuxServer-CI
7f24a69293 Bot Updating Templated Files 2021-10-05 03:28:22 +02:00
LinuxServer-CI
dd68b90568 Bot Updating Package Versions 2021-09-28 03:30:17 +02:00
LinuxServer-CI
650a3f5b3a Bot Updating Package Versions 2021-09-20 03:31:40 +02:00
LinuxServer-CI
e63c095c8f Bot Updating Templated Files 2021-09-20 03:29:19 +02:00
Marc
23402112b0
[x64] added support for libOpenCL (#11) 2021-09-19 18:28:07 -07:00
LinuxServer-CI
b80e61c880 Bot Updating Package Versions 2021-09-19 20:12:06 +02:00
shopeonarope
10a19a4ea5
Handle input args containing spaces (#13) 2021-09-19 11:09:45 -07:00
LinuxServer-CI
8dbcf3a0e4 Bot Updating Package Versions 2021-09-07 03:20:45 +02:00
LinuxServer-CI
5d49083b3d Bot Updating Templated Files 2021-08-31 03:22:22 +02:00
LinuxServer-CI
6116a9d6a8 Bot Updating Package Versions 2021-08-24 03:20:41 +02:00
LinuxServer-CI
65d6b530f7 Bot Updating Package Versions 2021-08-10 03:29:55 +02:00
LinuxServer-CI
0ad10a7812 Bot Updating Package Versions 2021-08-03 03:41:57 +02:00
LinuxServer-CI
c7c71daf33 Bot Updating Package Versions 2021-07-27 03:35:38 +02:00
LinuxServer-CI
18b532e817 Bot Updating Package Versions 2021-07-13 01:32:12 +00:00
LinuxServer-CI
b61fc15f4b Bot Updating Templated Files 2021-07-06 01:31:05 +00:00
LinuxServer-CI
fa4d67a9e3 Bot Updating Templated Files 2021-07-05 21:29:51 -04:00
LinuxServer-CI
c545cb79fe Bot Updating Package Versions 2021-07-01 12:23:03 +00:00
LinuxServer-CI
a61106ab25 Bot Updating Templated Files 2021-07-01 12:15:44 +00:00
thelamer
ab0abd0c5a bump to 4.4 2021-07-01 05:14:16 -07:00
LinuxServer-CI
a52b291b66 Bot Updating Package Versions 2021-06-22 01:28:20 +00:00
LinuxServer-CI
44a2f05fb1 Bot Updating Package Versions 2021-06-14 21:38:22 -04:00
LinuxServer-CI
1480303dc1 Bot Updating Package Versions 2021-06-01 04:05:49 +00:00
LinuxServer-CI
49653531e9 Bot Updating Package Versions 2021-05-25 01:53:22 +00:00
LinuxServer-CI
b71b79804c Bot Updating Package Versions 2021-04-27 01:42:34 +00:00
LinuxServer-CI
c09431683c Bot Updating Package Versions 2021-04-20 02:11:56 +00:00
LinuxServer-CI
3132a14147 Bot Updating Templated Files 2021-04-20 02:37:15 +01:00
LinuxServer-CI
9faaac9408 Bot Updating Templated Files 2021-04-19 21:36:02 -04:00
LinuxServer-CI
c89387a086 Bot Updating Package Versions 2021-04-13 01:41:59 +00:00
LinuxServer-CI
3d5b778d74 Bot Updating Package Versions 2021-04-05 21:40:31 -04:00
LinuxServer-CI
41a50c1277 Bot Updating Package Versions 2021-03-29 21:34:09 -04:00
LinuxServer-CI
018fb6244d Bot Updating Package Versions 2021-03-16 01:17:16 +00:00
LinuxServer-CI
a0eb83405e Bot Updating Package Versions 2021-03-08 20:15:27 -05:00
LinuxServer-CI
f1de48e05e Bot Updating Package Versions 2021-03-02 01:03:29 +00:00
LinuxServer-CI
ae9058e9e2 Bot Updating Package Versions 2021-02-15 20:16:00 -05:00
LinuxServer-CI
84d59b94eb Bot Updating Templated Files 2021-02-16 01:10:12 +00:00
LinuxServer-CI
a3891bbe79 Bot Updating Templated Files 2021-02-15 20:08:49 -05:00
LinuxServer-CI
315400e357 Bot Updating Package Versions 2021-02-08 20:13:51 -05:00
LinuxServer-CI
9a4260a38f Bot Updating Package Versions 2021-02-01 20:23:01 -05:00
LinuxServer-CI
ccbddfdf88 Bot Updating Package Versions 2021-01-25 20:26:58 -05:00
LinuxServer-CI
c58f6d6cd2 Bot Updating Package Versions 2021-01-19 02:06:38 +00:00
LinuxServer-CI
db7926cc53 Bot Updating Package Versions 2021-01-14 05:37:14 +00:00
LinuxServer-CI
a1c363a2d7 Bot Updating Templated Files 2021-01-14 05:30:30 +00:00
LinuxServer-CI
798330d7bc Bot Updating Package Versions 2020-12-24 00:07:33 -05:00
LinuxServer-CI
e3e1760a68 Bot Updating Package Versions 2020-12-16 20:15:51 -05:00
LinuxServer-CI
5db5abdd30 Bot Updating Templated Files 2020-12-16 20:11:55 -05:00
LinuxServer-CI
85c6a74f2f Bot Updating Templated Files 2020-12-17 01:10:49 +00:00
LinuxServer-CI
afc9f67763 Bot Updating Package Versions 2020-12-12 10:21:00 -05:00
LinuxServer-CI
454a285a53 Bot Updating Package Versions 2020-11-21 15:19:55 +00:00
LinuxServer-CI
209266635f Bot Updating Package Versions 2020-11-14 15:21:08 +00:00
LinuxServer-CI
18d67b5de7 Bot Updating Package Versions 2020-11-07 15:21:52 +00:00
LinuxServer-CI
07142dd811 Bot Updating Templated Files 2020-11-07 15:17:55 +00:00
LinuxServer-CI
2818dc886e Bot Updating Package Versions 2020-10-31 15:21:00 +00:00
LinuxServer-CI
b96f3d0feb Bot Updating Package Versions 2020-10-24 10:20:53 -04:00
LinuxServer-CI
94b61bdca8 Bot Updating Templated Files 2020-10-03 10:18:40 -04:00
LinuxServer-CI
f10e1ae1d1 Bot Updating Templated Files 2020-10-03 10:17:43 -04:00
LinuxServer-CI
98304b0231 Bot Updating Package Versions 2020-09-26 14:23:25 +00:00
LinuxServer-CI
5cfcca04ec Bot Updating Package Versions 2020-09-12 15:21:13 +01:00
LinuxServer-CI
2b66e1168d Bot Updating Package Versions 2020-09-05 10:21:59 -04:00
LinuxServer-CI
64a5e88d33 Bot Updating Package Versions 2020-08-29 10:19:36 -04:00
LinuxServer-CI
57e2647d4c Bot Updating Templated Files 2020-08-22 14:17:55 +00:00
LinuxServer-CI
76c5ee89b9 Bot Updating Package Versions 2020-08-15 14:22:38 +00:00
LinuxServer-CI
30fc44bf98 Bot Updating Templated Files 2020-08-08 14:18:22 +00:00
LinuxServer-CI
6f67574719 Bot Updating Templated Files 2020-08-08 14:17:37 +00:00
LinuxServer-CI
b899a3c1ed Bot Updating Package Versions 2020-08-01 14:22:33 +00:00
LinuxServer-CI
86a8c2e7de Bot Updating Package Versions 2020-07-25 10:19:46 -04:00
LinuxServer-CI
4539dc263a Bot Updating Package Versions 2020-07-18 10:21:58 -04:00
LinuxServer-CI
3126048913 Bot Updating Package Versions 2020-07-11 14:20:28 +00:00
LinuxServer-CI
0e15c55b25 Bot Updating Package Versions 2020-07-04 14:19:15 +00:00
LinuxServer-CI
582671e8c6 Bot Updating Package Versions 2020-06-27 14:22:35 +00:00
LinuxServer-CI
fcedc389a3 Bot Updating Package Versions 2020-06-18 01:40:01 -04:00
thelamer
a43cfbc821 typo 2020-06-17 22:36:38 -07:00
thelamer
d27b4c49f8 bump to 4.3 2020-06-17 22:32:25 -07:00
thelamer
86112c35fc Merge branch 'master' of github.com:linuxserver/docker-ffmpeg 2020-06-16 14:10:15 -07:00
thelamer
75ed844b4c ingest new bin layer document changes 2020-06-16 14:10:05 -07:00
LinuxServer-CI
23db2c6413 Bot Updating Package Versions 2020-06-13 14:21:47 +00:00
LinuxServer-CI
e86aeb0843 Bot Updating Package Versions 2020-06-06 16:22:09 +02:00
LinuxServer-CI
d5ccf941db Bot Updating Package Versions 2020-05-30 14:22:04 +00:00
LinuxServer-CI
eee0dcf4ad Bot Updating Templated Files 2020-05-30 14:17:39 +00:00
LinuxServer-CI
37ca8aba30 Bot Updating Package Versions 2020-05-23 10:19:46 -04:00
LinuxServer-CI
7164e28472 Bot Updating Package Versions 2020-05-16 10:24:01 -04:00
LinuxServer-CI
cebdf9defc Bot Updating Templated Files 2020-05-02 14:17:58 +00:00
LinuxServer-CI
31e9ab088c Bot Updating Package Versions 2020-04-04 14:22:28 +00:00
LinuxServer-CI
58ef4d6915 Bot Updating Package Versions 2020-03-28 11:19:34 -04:00
LinuxServer-CI
e8e6d12e3a Bot Updating Package Versions 2020-03-21 16:21:52 +01:00
LinuxServer-CI
b883c20ae2 Bot Updating Package Versions 2020-03-14 16:21:18 +01:00
LinuxServer-CI
de12cce0c8 Bot Updating Package Versions 2020-03-07 15:21:02 +00:00
LinuxServer-CI
599dd50851 Bot Updating Package Versions 2020-02-22 15:22:22 +00:00
LinuxServer-CI
231ebae9cd Bot Updating Package Versions 2020-02-15 15:19:47 +00:00
LinuxServer-CI
1a18c7b681 Bot Updating Package Versions 2020-02-08 15:23:52 +00:00
LinuxServer-CI
0a81a02660 Bot Updating Package Versions 2020-02-01 10:22:32 -05:00
LinuxServer-CI
90e8885bec Bot Updating Package Versions 2020-01-25 15:19:32 +00:00
LinuxServer-CI
6b055ff092 Bot Updating Package Versions 2020-01-17 02:00:50 +01:00
LinuxServer-CI
c140ea018c Bot Updating Templated Files 2020-01-17 00:56:16 +00:00
thelamer
02e41fa616 bumping to 4.2.2 ffmpeg 2020-01-16 16:55:21 -08:00
LinuxServer-CI
70441d2d5d Bot Updating Package Versions 2020-01-11 15:22:03 +00:00
LinuxServer-CI
037988510e Bot Updating Package Versions 2019-12-07 16:19:28 +01:00
LinuxServer-CI
59e271fe6e Bot Updating Templated Files 2019-11-30 15:17:35 +00:00
LinuxServer-CI
55b59fb782 Bot Updating Package Versions 2019-11-23 10:22:45 -05:00
LinuxServer-CI
db419ab9ab Bot Updating Package Versions 2019-11-16 10:19:54 -05:00
LinuxServer-CI
2488f17262 Bot Updating Package Versions 2019-11-02 16:21:02 +01:00
LinuxServer-CI
92d72ecc2e Bot Updating Templated Files 2019-11-02 11:17:59 -04:00
LinuxServer-CI
af6201bbca Bot Updating Package Versions 2019-10-18 06:42:03 +01:00
LinuxServer-CI
c8c5d6bc5b Bot Updating Templated Files 2019-10-18 06:35:34 +01:00
LinuxServer-CI
236874f00f Bot Updating Templated Files 2019-10-18 01:34:50 -04:00
LinuxServer-CI
bee8bfccbe Bot Updating Package Versions 2019-09-23 20:45:34 +01:00
aptalca
1d1466c036
Merge pull request #2 from linuxserver/cli-initial
Go Live
2019-09-23 15:39:13 -04:00
thelamer
2f629c6b24 pull nvidia blobs and update example 2019-09-23 11:31:14 -07:00
thelamer
5ec9b76377 adding nvidia libs for video filters, updating readme snippet example 2019-09-23 08:22:30 -07:00
thelamer
049bc82619 updating cli branch with docs and bumping version 2019-09-22 16:40:52 -07:00
thelamer
12776e45d5 bumping to ffmpeg 4.2 2019-08-07 16:00:22 -07:00
thelamer
0a7ed25cbd bumping ffmpeg 2019-07-25 14:39:13 -07:00
thelamer
cdb92b9dbc rebasing cli to ubuntu 2019-06-22 08:17:59 -07:00
thelamer
1ee3d7e373 adding some base logic to run the ffmpeg user as the perms of the input file and also add them to be able to use hardware devices if mounted 2019-06-20 16:14:52 -07:00
thelamer
f513072c31 getting a working version of the cli variant into lsiodev for testing 2019-06-19 20:26:44 -07:00
24 changed files with 5101 additions and 1 deletions

20
.editorconfig Normal file
View File

@ -0,0 +1,20 @@
# This file is globally distributed to all container image projects from
# https://github.com/linuxserver/docker-jenkins-builder/blob/master/.editorconfig
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# trim_trailing_whitespace may cause unintended issues and should not be globally set true
trim_trailing_whitespace = false
[{Dockerfile*,**.yml}]
indent_style = space
indent_size = 2
[{**.sh,root/etc/s6-overlay/s6-rc.d/**,root/etc/cont-init.d/**,root/etc/services.d/**}]
indent_style = space
indent_size = 4

123
.github/CONTRIBUTING.md vendored Normal file
View File

@ -0,0 +1,123 @@
# Contributing to ffmpeg
## Gotchas
* While contributing make sure to make all your changes before creating a Pull Request, as our pipeline builds each commit after the PR is open.
* Read, and fill the Pull Request template
* If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR
* If the PR is addressing an existing issue include, closes #\<issue number>, in the body of the PR commit message
* If you want to discuss changes, you can also bring it up in [#dev-talk](https://discordapp.com/channels/354974912613449730/757585807061155840) in our [Discord server](https://linuxserver.io/discord)
## Common files
| File | Use case |
| :----: | --- |
| `Dockerfile` | Dockerfile used to build amd64 images |
| `Dockerfile.aarch64` | Dockerfile used to build 64bit ARM architectures |
| `Dockerfile.armhf` | Dockerfile used to build 32bit ARM architectures |
| `Jenkinsfile` | This file is a product of our builder and should not be edited directly. This is used to build the image |
| `jenkins-vars.yml` | This file is used to generate the `Jenkinsfile` mentioned above, it only affects the build-process |
| `package_versions.txt` | This file is generated as a part of the build-process and should not be edited directly. It lists all the installed packages and their versions |
| `README.md` | This file is a product of our builder and should not be edited directly. This displays the readme for the repository and image registries |
| `readme-vars.yml` | This file is used to generate the `README.md` |
## Readme
If you would like to change our readme, please __**do not**__ directly edit the readme, as it is auto-generated on each commit.
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-ffmpeg/edit/master/readme-vars.yml).
These variables are used in a template for our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) as part of an ansible play.
Most of these variables are also carried over to [docs.linuxserver.io](https://docs.linuxserver.io)
### Fixing typos or clarify the text in the readme
There are variables for multiple parts of the readme, the most common ones are:
| Variable | Description |
| :----: | --- |
| `project_blurb` | This is the short excerpt shown above the project logo. |
| `app_setup_block` | This is the text that shows up under "Application Setup" if enabled |
### Parameters
The compose and run examples are also generated from these variables.
We have a [reference file](https://github.com/linuxserver/docker-jenkins-builder/blob/master/vars/_container-vars-blank) in our Jenkins Builder.
These are prefixed with `param_` for required parameters, or `opt_param` for optional parameters, except for `cap_add`.
Remember to enable param, if currently disabled. This differs between parameters, and can be seen in the reference file.
Devices, environment variables, ports and volumes expects its variables in a certain way.
### Devices
```yml
param_devices:
- { device_path: "/dev/dri", device_host_path: "/dev/dri", desc: "For hardware transcoding" }
opt_param_devices:
- { device_path: "/dev/dri", device_host_path: "/dev/dri", desc: "For hardware transcoding" }
```
### Environment variables
```yml
param_env_vars:
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
opt_param_env_vars:
- { env_var: "VERSION", env_value: "latest", desc: "Supported values are LATEST, PLEXPASS or a specific version number." }
```
### Ports
```yml
param_ports:
- { external_port: "80", internal_port: "80", port_desc: "Application WebUI" }
opt_param_ports:
- { external_port: "80", internal_port: "80", port_desc: "Application WebUI" }
```
### Volumes
```yml
param_volumes:
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "Configuration files." }
opt_param_volumes:
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "Configuration files." }
```
### Testing template changes
After you make any changes to the templates, you can use our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) to have the files updated from the modified templates. Please use the command found under `Running Locally` [on this page](https://github.com/linuxserver/docker-jenkins-builder/blob/master/README.md) to generate them prior to submitting a PR.
## Dockerfiles
We use multiple Dockerfiles in our repos, this is because sometimes some CPU architectures needs different packages to work.
If you are proposing additional packages to be added, ensure that you added the packages to all the Dockerfiles in alphabetical order.
### Testing your changes
```bash
git clone https://github.com/linuxserver/docker-ffmpeg.git
cd docker-ffmpeg
docker build \
--no-cache \
--pull \
-t linuxserver/ffmpeg:latest .
```
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
```bash
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
```
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
## Update the changelog
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-ffmpeg/tree/master/root), add an entry to the changelog
```yml
changelogs:
- { date: "DD.MM.YY:", desc: "Added some love to templates" }
```

2
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,2 @@
github: linuxserver
open_collective: linuxserver

13
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,13 @@
blank_issues_enabled: false
contact_links:
- name: Discord chat support
url: https://linuxserver.io/discord
about: Realtime support / chat with the community and the team.
- name: Discourse discussion forum
url: https://discourse.linuxserver.io
about: Post on our community forum.
- name: Documentation
url: https://docs.linuxserver.io
about: Documentation - information about all of our containers.

68
.github/ISSUE_TEMPLATE/issue.bug.yml vendored Normal file
View File

@ -0,0 +1,68 @@
# Based on the issue template
name: Bug report
description: Create a report to help us improve
title: "[BUG] <title>"
labels: [Bug]
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Current Behavior
description: Tell us what happens instead of the expected behavior.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: Tell us what should happen.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: true
- type: textarea
attributes:
label: Environment
description: |
examples:
- **OS**: Ubuntu 20.04
- **How docker service was installed**: distro's packagemanager
value: |
- OS:
- How docker service was installed:
render: markdown
validations:
required: false
- type: textarea
attributes:
label: Docker creation
description: |
Command used to create docker container
Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container
render: bash
validations:
required: true
- type: textarea
attributes:
description: |
Provide a full docker log, output of "docker logs ffmpeg"
label: Container logs
placeholder: |
Output of `docker logs ffmpeg`
render: bash
validations:
required: true

View File

@ -0,0 +1,31 @@
# Based on the issue template
name: Feature request
description: Suggest an idea for this project
title: "[FEAT] <title>"
labels: [enhancement]
body:
- type: checkboxes
attributes:
label: Is this a new feature request?
description: Please search to see if a feature request already exists.
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Wanted change
description: Tell us what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Reason for change
description: Justify your request, why do you want it, what is the benefit.
validations:
required: true
- type: textarea
attributes:
label: Proposed code change
description: Do you have a potential code change in mind?
validations:
required: false

43
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,43 @@
<!--- Provide a general summary of your changes in the Title above -->
[linuxserverurl]: https://linuxserver.io
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
<!--- Before submitting a pull request please check the following -->
<!--- If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR -->
<!--- Ask yourself if this modification is something the whole userbase will benefit from, if this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
<!--- We maintain a changelog of major revisions to the container at the end of readme-vars.yml in the root of this repository, please add your changes there if appropriate -->
<!--- Coding guidelines: -->
<!--- 1. Installed packages in the Dockerfiles should be in alphabetical order -->
<!--- 2. Changes to Dockerfile should be replicated in Dockerfile.armhf and Dockerfile.aarch64 if applicable -->
<!--- 3. Indentation style (tabs vs 4 spaces vs 1 space) should match the rest of the document -->
<!--- 4. Readme is auto generated from readme-vars.yml, make your changes there -->
------------------------------
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-ffmpeg/blob/master/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
------------------------------
<!--- We welcome all PRs though this doesnt guarantee it will be accepted. -->
## Description:
<!--- Describe your changes in detail -->
## Benefits of this PR and context:
<!--- Please explain why we should accept this PR. If this fixes an outstanding bug, please reference the issue # -->
## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
## Source / References:
<!--- Please include any forum posts/github links relevant to the PR -->

View File

@ -0,0 +1,19 @@
name: Issue & PR Tracker
on:
issues:
types: [opened,reopened,labeled,unlabeled,closed]
pull_request_target:
types: [opened,reopened,review_requested,review_request_removed,labeled,unlabeled,closed]
pull_request_review:
types: [submitted,edited,dismissed]
permissions:
contents: read
jobs:
manage-project:
permissions:
issues: write
uses: linuxserver/github-workflows/.github/workflows/issue-pr-tracker.yml@v1
secrets: inherit

16
.github/workflows/call_issues_cron.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: '15 0 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
stale:
permissions:
issues: write
pull-requests: write
uses: linuxserver/github-workflows/.github/workflows/issues-cron.yml@v1
secrets: inherit

147
.github/workflows/external_trigger.yml vendored Normal file
View File

@ -0,0 +1,147 @@
name: External Trigger Main
on:
workflow_dispatch:
permissions:
contents: read
jobs:
external-trigger-master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: External Trigger
if: github.ref == 'refs/heads/master'
env:
SKIP_EXTERNAL_TRIGGER: ${{ vars.SKIP_EXTERNAL_TRIGGER }}
run: |
printf "# External trigger for docker-ffmpeg\n\n" >> $GITHUB_STEP_SUMMARY
if grep -q "^ffmpeg_master_" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`ffmpeg_master_\`; will skip trigger if version matches." >> $GITHUB_STEP_SUMMARY
elif grep -q "^ffmpeg_master" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`ffmpeg_master\`; skipping trigger." >> $GITHUB_STEP_SUMMARY
exit 0
fi
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
echo "> External trigger running off of master branch. To disable this trigger, add \`ffmpeg_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
EXT_RELEASE=$(echo 8.0.1-cli)
echo "Type is \`custom_version_command\`" >> $GITHUB_STEP_SUMMARY
if grep -q "^ffmpeg_master_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` matches current external release; skipping trigger." >> $GITHUB_STEP_SUMMARY
exit 0
fi
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Can't retrieve external version, exiting" >> $GITHUB_STEP_SUMMARY
FAILURE_REASON="Can't retrieve external version for ffmpeg branch master"
GHA_TRIGGER_URL="https://github.com/linuxserver/docker-ffmpeg/actions/runs/${{ github.run_id }}"
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 16711680,
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n**Trigger URL:** '"${GHA_TRIGGER_URL}"' \n"}],
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
exit 1
fi
EXT_RELEASE_SANITIZED=$(echo ${EXT_RELEASE} | sed 's/[~,%@+;:/]//g')
echo "Sanitized external version: \`${EXT_RELEASE_SANITIZED}\`" >> $GITHUB_STEP_SUMMARY
echo "Retrieving last pushed version" >> $GITHUB_STEP_SUMMARY
image="linuxserver/ffmpeg"
tag="latest"
token=$(curl -sX GET \
"https://ghcr.io/token?scope=repository%3Alinuxserver%2Fffmpeg%3Apull" \
| jq -r '.token')
multidigest=$(curl -s \
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
--header "Accept: application/vnd.oci.image.index.v1+json" \
--header "Authorization: Bearer ${token}" \
"https://ghcr.io/v2/${image}/manifests/${tag}")
if jq -e '.layers // empty' <<< "${multidigest}" >/dev/null 2>&1; then
# If there's a layer element it's a single-arch manifest so just get that digest
digest=$(jq -r '.config.digest' <<< "${multidigest}")
else
# Otherwise it's multi-arch or has manifest annotations
if jq -e '.manifests[]?.annotations // empty' <<< "${multidigest}" >/dev/null 2>&1; then
# Check for manifest annotations and delete if found
multidigest=$(jq 'del(.manifests[] | select(.annotations))' <<< "${multidigest}")
fi
if [[ $(jq '.manifests | length' <<< "${multidigest}") -gt 1 ]]; then
# If there's still more than one digest, it's multi-arch
multidigest=$(jq -r ".manifests[] | select(.platform.architecture == \"amd64\").digest?" <<< "${multidigest}")
else
# Otherwise it's single arch
multidigest=$(jq -r ".manifests[].digest?" <<< "${multidigest}")
fi
if digest=$(curl -s \
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
--header "Accept: application/vnd.oci.image.manifest.v1+json" \
--header "Authorization: Bearer ${token}" \
"https://ghcr.io/v2/${image}/manifests/${multidigest}"); then
digest=$(jq -r '.config.digest' <<< "${digest}");
fi
fi
image_info=$(curl -sL \
--header "Authorization: Bearer ${token}" \
"https://ghcr.io/v2/${image}/blobs/${digest}")
if [[ $(echo $image_info | jq -r '.container_config') == "null" ]]; then
image_info=$(echo $image_info | jq -r '.config')
else
image_info=$(echo $image_info | jq -r '.container_config')
fi
IMAGE_RELEASE=$(echo ${image_info} | jq -r '.Labels.build_version' | awk '{print $3}')
IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-ls' '{print $1}')
if [ -z "${IMAGE_VERSION}" ]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "Can't retrieve last pushed version, exiting" >> $GITHUB_STEP_SUMMARY
FAILURE_REASON="Can't retrieve last pushed version for ffmpeg tag latest"
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 16711680,
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n"}],
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
exit 1
fi
echo "Last pushed version: \`${IMAGE_VERSION}\`" >> $GITHUB_STEP_SUMMARY
if [ "${EXT_RELEASE_SANITIZED}" == "${IMAGE_VERSION}" ]; then
echo "Sanitized version \`${EXT_RELEASE_SANITIZED}\` already pushed, exiting" >> $GITHUB_STEP_SUMMARY
exit 0
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-ffmpeg/job/master/lastBuild/api/json | jq -r '.building') == "true" ]; then
echo "New version \`${EXT_RELEASE}\` found; but there already seems to be an active build on Jenkins; exiting" >> $GITHUB_STEP_SUMMARY
exit 0
else
if [[ "${artifacts_found}" == "false" ]]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> New version detected, but not all artifacts are published yet; skipping trigger" >> $GITHUB_STEP_SUMMARY
FAILURE_REASON="New version ${EXT_RELEASE} for ffmpeg tag latest is detected, however not all artifacts are uploaded to upstream release yet. Will try again later."
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n"}],
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
else
printf "\n## Trigger new build\n\n" >> $GITHUB_STEP_SUMMARY
echo "New sanitized version \`${EXT_RELEASE_SANITIZED}\` found; old version was \`${IMAGE_VERSION}\`. Triggering new build" >> $GITHUB_STEP_SUMMARY
if [[ "${artifacts_found}" == "true" ]]; then
echo "All artifacts seem to be uploaded." >> $GITHUB_STEP_SUMMARY
fi
response=$(curl -iX POST \
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-ffmpeg/job/master/buildWithParameters?PACKAGE_CHECK=false \
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
echo "Jenkins [job queue url](${response%$'\r'})" >> $GITHUB_STEP_SUMMARY
echo "Sleeping 10 seconds until job starts" >> $GITHUB_STEP_SUMMARY
sleep 10
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
buildurl="${buildurl%$'\r'}"
echo "Jenkins job [build url](${buildurl})" >> $GITHUB_STEP_SUMMARY
echo "Attempting to change the Jenkins job description" >> $GITHUB_STEP_SUMMARY
curl -iX POST \
"${buildurl}submitDescription" \
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} \
--data-urlencode "description=GHA external trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
--data-urlencode "Submit=Submit"
echo "**** Notifying Discord ****"
TRIGGER_REASON="A version change was detected for ffmpeg tag latest. Old version:${IMAGE_VERSION} New version:${EXT_RELEASE_SANITIZED}"
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
"description": "**Build Triggered** \n**Reason:** '"${TRIGGER_REASON}"' \n**Build URL:** '"${buildurl}display/redirect"' \n"}],
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
fi
fi

View File

@ -0,0 +1,48 @@
name: External Trigger Scheduler
on:
schedule:
- cron: '1 * * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
external-trigger-scheduler:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: '0'
- name: External Trigger Scheduler
run: |
printf "# External trigger scheduler for docker-ffmpeg\n\n" >> $GITHUB_STEP_SUMMARY
printf "Found the branches:\n\n%s\n" "$(git for-each-ref --format='- %(refname:lstrip=3)' refs/remotes)" >> $GITHUB_STEP_SUMMARY
for br in $(git for-each-ref --format='%(refname:lstrip=3)' refs/remotes)
do
if [[ "${br}" == "HEAD" ]]; then
printf "\nSkipping %s.\n" ${br} >> $GITHUB_STEP_SUMMARY
continue
fi
printf "\n## Evaluating \`%s\`\n\n" ${br} >> $GITHUB_STEP_SUMMARY
ls_jenkins_vars=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-ffmpeg/${br}/jenkins-vars.yml)
ls_branch=$(echo "${ls_jenkins_vars}" | yq -r '.ls_branch')
ls_trigger=$(echo "${ls_jenkins_vars}" | yq -r '.external_type')
if [[ "${br}" == "${ls_branch}" ]] && [[ "${ls_trigger}" != "os" ]]; then
echo "Branch appears to be live and trigger is not os; checking workflow." >> $GITHUB_STEP_SUMMARY
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-ffmpeg/${br}/.github/workflows/external_trigger.yml > /dev/null 2>&1; then
echo "Triggering external trigger workflow for branch." >> $GITHUB_STEP_SUMMARY
curl -iX POST \
-H "Authorization: token ${{ secrets.CR_PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
-d "{\"ref\":\"refs/heads/${br}\"}" \
https://api.github.com/repos/linuxserver/docker-ffmpeg/actions/workflows/external_trigger.yml/dispatches
else
echo "Skipping branch due to no external trigger workflow present." >> $GITHUB_STEP_SUMMARY
fi
else
echo "Skipping branch due to being detected as dev branch or having no external version." >> $GITHUB_STEP_SUMMARY
fi
done

19
.github/workflows/greetings.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Greetings
on: [pull_request_target, issues]
permissions:
contents: read
jobs:
greeting:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
issue-message: 'Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-ffmpeg/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
repo-token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -0,0 +1,103 @@
name: Package Trigger Scheduler
on:
schedule:
- cron: '59 21 * * 4'
workflow_dispatch:
permissions:
contents: read
jobs:
package-trigger-scheduler:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: '0'
- name: Package Trigger Scheduler
env:
SKIP_PACKAGE_TRIGGER: ${{ vars.SKIP_PACKAGE_TRIGGER }}
run: |
printf "# Package trigger scheduler for docker-ffmpeg\n\n" >> $GITHUB_STEP_SUMMARY
printf "Found the branches:\n\n%s\n" "$(git for-each-ref --format='- %(refname:lstrip=3)' refs/remotes)" >> $GITHUB_STEP_SUMMARY
for br in $(git for-each-ref --format='%(refname:lstrip=3)' refs/remotes)
do
if [[ "${br}" == "HEAD" ]]; then
printf "\nSkipping %s.\n" ${br} >> $GITHUB_STEP_SUMMARY
continue
fi
printf "\n## Evaluating \`%s\`\n\n" ${br} >> $GITHUB_STEP_SUMMARY
JENKINS_VARS=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-ffmpeg/${br}/jenkins-vars.yml)
if ! curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-ffmpeg/${br}/Jenkinsfile >/dev/null 2>&1; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> No Jenkinsfile found. Branch is either deprecated or is an early dev branch." >> $GITHUB_STEP_SUMMARY
skipped_branches="${skipped_branches}${br} "
elif [[ "${br}" == $(yq -r '.ls_branch' <<< "${JENKINS_VARS}") ]]; then
echo "Branch appears to be live; checking workflow." >> $GITHUB_STEP_SUMMARY
README_VARS=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-ffmpeg/${br}/readme-vars.yml)
if [[ $(yq -r '.project_deprecation_status' <<< "${README_VARS}") == "true" ]]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Branch appears to be deprecated; skipping trigger." >> $GITHUB_STEP_SUMMARY
skipped_branches="${skipped_branches}${br} "
elif [[ $(yq -r '.skip_package_check' <<< "${JENKINS_VARS}") == "true" ]]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Skipping branch ${br} due to \`skip_package_check\` being set in \`jenkins-vars.yml\`." >> $GITHUB_STEP_SUMMARY
skipped_branches="${skipped_branches}${br} "
elif grep -q "^ffmpeg_${br}" <<< "${SKIP_PACKAGE_TRIGGER}"; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Github organizational variable \`SKIP_PACKAGE_TRIGGER\` contains \`ffmpeg_${br}\`; skipping trigger." >> $GITHUB_STEP_SUMMARY
skipped_branches="${skipped_branches}${br} "
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-ffmpeg/job/${br}/lastBuild/api/json | jq -r '.building' 2>/dev/null) == "true" ]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> There already seems to be an active build on Jenkins; skipping package trigger for ${br}" >> $GITHUB_STEP_SUMMARY
skipped_branches="${skipped_branches}${br} "
else
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
echo "> Triggering package trigger for branch ${br}" >> $GITHUB_STEP_SUMMARY
printf "> To disable, add \`ffmpeg_%s\` into the Github organizational variable \`SKIP_PACKAGE_TRIGGER\`.\n\n" "${br}" >> $GITHUB_STEP_SUMMARY
triggered_branches="${triggered_branches}${br} "
response=$(curl -iX POST \
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-ffmpeg/job/${br}/buildWithParameters?PACKAGE_CHECK=true \
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
if [[ -z "${response}" ]]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Jenkins build could not be triggered. Skipping branch."
continue
fi
echo "Jenkins [job queue url](${response%$'\r'})" >> $GITHUB_STEP_SUMMARY
echo "Sleeping 10 seconds until job starts" >> $GITHUB_STEP_SUMMARY
sleep 10
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
buildurl="${buildurl%$'\r'}"
echo "Jenkins job [build url](${buildurl})" >> $GITHUB_STEP_SUMMARY
echo "Attempting to change the Jenkins job description" >> $GITHUB_STEP_SUMMARY
if ! curl -ifX POST \
"${buildurl}submitDescription" \
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} \
--data-urlencode "description=GHA package trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
--data-urlencode "Submit=Submit"; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Unable to change the Jenkins job description."
fi
sleep 20
fi
else
echo "Skipping branch ${br} due to being detected as dev branch." >> $GITHUB_STEP_SUMMARY
fi
done
if [[ -n "${triggered_branches}" ]] || [[ -n "${skipped_branches}" ]]; then
if [[ -n "${triggered_branches}" ]]; then
NOTIFY_BRANCHES="**Triggered:** ${triggered_branches} \n"
NOTIFY_BUILD_URL="**Build URL:** https://ci.linuxserver.io/blue/organizations/jenkins/Docker-Pipeline-Builders%2Fdocker-ffmpeg/activity/ \n"
echo "**** Package check build(s) triggered for branch(es): ${triggered_branches} ****"
fi
if [[ -n "${skipped_branches}" ]]; then
NOTIFY_BRANCHES="${NOTIFY_BRANCHES}**Skipped:** ${skipped_branches} \n"
fi
echo "**** Notifying Discord ****"
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
"description": "**Package Check Build(s) for ffmpeg** \n'"${NOTIFY_BRANCHES}"''"${NOTIFY_BUILD_URL}"'"}],
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
fi

12
.github/workflows/permissions.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Permission check
on:
pull_request_target:
paths:
- '**/run'
- '**/finish'
- '**/check'
- 'root/migrations/*'
jobs:
permission_check:
uses: linuxserver/github-workflows/.github/workflows/init-svc-executable-permissions.yml@v1

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.jenkins-external

1070
Dockerfile Normal file

File diff suppressed because it is too large Load Diff

754
Dockerfile.aarch64 Normal file
View File

@ -0,0 +1,754 @@
# syntax=docker/dockerfile:1
# build stage
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-noble AS buildstage
# set version label
ARG FFMPEG_VERSION
# common env
ENV \
DEBIAN_FRONTEND="noninteractive" \
MAKEFLAGS="-j4" \
CMAKE_POLICY_VERSION_MINIMUM="3.5" \
PATH="/root/.cargo/bin:${PATH}"
# versions
ENV \
AOM=v3.13.1 \
FDKAAC=2.0.3 \
FFMPEG_HARD=8.0.1 \
FONTCONFIG=2.16.0 \
FREETYPE=2.14.1 \
FRIBIDI=1.0.16 \
HARFBUZZ=12.3.0 \
KVAZAAR=2.3.2 \
LAME=3.100 \
LIBASS=0.17.4 \
LIBDAV1D=1.5.3 \
LIBDRM=2.4.131 \
LIBLC3=1.1.3 \
LIBPNG=1.6.53 \
LIBVA=2.23.0 \
LIBVDPAU=1.5 \
LIBVIDSTAB=1.1.1 \
LIBVMAF=3.0.0 \
NVCODEC=n13.0.19.0 \
OGG=1.3.6 \
OPENCOREAMR=0.1.6 \
OPENJPEG=2.5.4 \
OPUS=1.6 \
RAV1E=0.8.1 \
RIST=0.2.11 \
SRT=1.5.4 \
SVTAV1=3.1.2 \
THEORA=1.2.0 \
VORBIS=1.3.7 \
VPX=1.15.2 \
VVENC=1.13.1 \
WEBP=1.6.0 \
X265=4.1 \
XVID=1.3.7 \
ZIMG=3.0.6 \
ZMQ=v4.3.5
RUN \
echo "**** install build packages ****" && \
apt-get update && \
apt-get install -y \
autoconf \
automake \
build-essential \
bzip2 \
cmake \
clang \
diffutils \
g++ \
gcc \
git \
gperf \
libasound2-dev \
libcairo2-dev \
libexpat1-dev \
libgcc-10-dev \
libglib2.0-dev \
libgomp1 \
libharfbuzz-dev \
libpciaccess-dev \
libssl-dev \
libtool \
libv4l-dev \
libx11-dev \
libxext-dev \
libxml2-dev \
llvm-18-dev \
make \
nasm \
perl \
pkg-config \
python3-venv \
x11proto-xext-dev \
xxd \
yasm \
zlib1g-dev && \
mkdir -p /tmp/rust && \
RUST_VERSION=$(curl -fsX GET https://api.github.com/repos/rust-lang/rust/releases/latest | jq -r '.tag_name') && \
curl -fo /tmp/rust.tar.gz -L "https://static.rust-lang.org/dist/rust-${RUST_VERSION}-aarch64-unknown-linux-gnu.tar.gz" && \
tar xf /tmp/rust.tar.gz -C /tmp/rust --strip-components=1 && \
cd /tmp/rust && \
./install.sh && \
cargo install cargo-c --locked && \
python3 -m venv /lsiopy && \
pip install -U --no-cache-dir \
pip \
setuptools \
wheel && \
pip install --no-cache-dir cmake==3.31.6 meson ninja
# compile 3rd party libs
RUN \
echo "**** grabbing aom ****" && \
mkdir -p /tmp/aom && \
git clone \
--branch ${AOM} \
--depth 1 https://aomedia.googlesource.com/aom \
/tmp/aom
RUN \
echo "**** compiling aom ****" && \
cd /tmp/aom && \
rm -rf \
CMakeCache.txt \
CMakeFiles && \
mkdir -p \
aom_build && \
cd aom_build && \
cmake \
-DBUILD_STATIC_LIBS=0 .. && \
make && \
make install
RUN \
echo "**** grabbing fdk-aac ****" && \
mkdir -p /tmp/fdk-aac && \
curl -Lf \
https://github.com/mstorsjo/fdk-aac/archive/v${FDKAAC}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/fdk-aac
RUN \
echo "**** compiling fdk-aac ****" && \
cd /tmp/fdk-aac && \
autoreconf -fiv && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install && \
strip -d /usr/local/lib/libfdk-aac.so
RUN \
echo "**** grabbing ffnvcodec ****" && \
mkdir -p /tmp/ffnvcodec && \
git clone \
--branch ${NVCODEC} \
--depth 1 https://github.com/FFmpeg/nv-codec-headers.git \
/tmp/ffnvcodec
RUN \
echo "**** compiling ffnvcodec ****" && \
cd /tmp/ffnvcodec && \
make install
RUN \
echo "**** grabbing freetype ****" && \
mkdir -p /tmp/freetype && \
curl -Lf \
https://downloads.sourceforge.net/project/freetype/freetype2/${FREETYPE}/freetype-${FREETYPE}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/freetype
RUN \
echo "**** compiling freetype ****" && \
cd /tmp/freetype && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install && \
strip -d /usr/local/lib/libfreetype.so
RUN \
echo "**** grabbing fontconfig ****" && \
mkdir -p /tmp/fontconfig && \
curl -Lf \
https://www.freedesktop.org/software/fontconfig/release/fontconfig-${FONTCONFIG}.tar.xz | \
tar -xJ --strip-components=1 -C /tmp/fontconfig
RUN \
echo "**** compiling fontconfig ****" && \
cd /tmp/fontconfig && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install && \
strip -d /usr/local/lib/libfontconfig.so
RUN \
echo "**** grabbing fribidi ****" && \
mkdir -p /tmp/fribidi && \
curl -Lf \
https://github.com/fribidi/fribidi/archive/v${FRIBIDI}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/fribidi
RUN \
echo "**** compiling fribidi ****" && \
cd /tmp/fribidi && \
./autogen.sh && \
./configure \
--disable-static \
--enable-shared && \
make -j 1 && \
make install && \
strip -d /usr/local/lib/libfribidi.so
RUN \
echo "**** grabbing harfbuzz ****" && \
mkdir -p /tmp/harfbuzz && \
curl -Lf \
https://github.com/harfbuzz/harfbuzz/archive/${HARFBUZZ}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/harfbuzz
RUN \
echo "**** compiling harfbuzz ****" && \
cd /tmp/harfbuzz && \
meson build && \
ninja -C build install && \
strip -d /usr/local/lib/aarch64-linux-gnu/libharfbuzz*.so
RUN \
echo "**** grabbing kvazaar ****" && \
mkdir -p /tmp/kvazaar && \
curl -Lf \
https://github.com/ultravideo/kvazaar/archive/v${KVAZAAR}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/kvazaar
RUN \
echo "**** compiling kvazaar ****" && \
cd /tmp/kvazaar && \
./autogen.sh && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install && \
strip -d /usr/local/lib/libkvazaar.so
RUN \
echo "**** grabbing lame ****" && \
mkdir -p /tmp/lame && \
curl -Lf \
http://downloads.sourceforge.net/project/lame/lame/${LAME}/lame-${LAME}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/lame
RUN \
echo "**** compiling lame ****" && \
cd /tmp/lame && \
cp \
/usr/share/automake-1.16/config.guess \
config.guess && \
cp \
/usr/share/automake-1.16/config.sub \
config.sub && \
./configure \
--disable-frontend \
--disable-static \
--enable-nasm \
--enable-shared && \
make && \
make install
RUN \
echo "**** grabbing libass ****" && \
mkdir -p /tmp/libass && \
curl -Lf \
https://github.com/libass/libass/archive/${LIBASS}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/libass
RUN \
echo "**** compiling libass ****" && \
cd /tmp/libass && \
./autogen.sh && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install && \
strip -d /usr/local/lib/libass.so
RUN \
echo "**** grabbing libdav1d ****" && \
mkdir -p /tmp/libdav1d && \
git clone \
--branch ${LIBDAV1D} \
https://code.videolan.org/videolan/dav1d \
/tmp/libdav1d
RUN \
echo "**** compiling libdav1d ****" && \
mkdir -p /tmp/libdav1d/build && \
cd /tmp/libdav1d/build && \
meson setup .. && \
ninja install
RUN \
echo "**** grabbing libdrm ****" && \
mkdir -p /tmp/libdrm && \
curl -Lf \
https://dri.freedesktop.org/libdrm/libdrm-${LIBDRM}.tar.xz | \
tar -xJ --strip-components=1 -C /tmp/libdrm
RUN \
echo "**** compiling libdrm ****" && \
cd /tmp/libdrm && \
meson setup \
--prefix=/usr --libdir=/usr/local/lib/aarch64-linux-gnu \
-Dvalgrind=disabled \
. build && \
ninja -C build && \
ninja -C build install && \
strip -d /usr/local/lib/aarch64-linux-gnu/libdrm*.so
RUN \
echo "**** grabbing liblc3 ****" && \
mkdir -p /tmp/liblc3 && \
git clone \
--branch v${LIBLC3} \
--depth 1 \
https://github.com/google/liblc3.git \
/tmp/liblc3
RUN \
echo "**** compiling liblc3 ****" && \
cd /tmp/liblc3 && \
meson setup build && \
meson install -C build --strip
RUN \
echo "**** grabbing vmaf ****" && \
mkdir -p /tmp/vmaf && \
curl -Lf \
https://github.com/Netflix/vmaf/archive/refs/tags/v${LIBVMAF}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/vmaf
RUN \
echo "**** compiling libvmaf ****" && \
cd /tmp/vmaf/libvmaf && \
meson setup \
--prefix=/usr --libdir=/usr/local/lib \
--buildtype release \
build && \
ninja -vC build && \
ninja -vC build install
RUN \
echo "**** grabbing ogg ****" && \
mkdir -p /tmp/ogg && \
curl -Lf \
http://downloads.xiph.org/releases/ogg/libogg-${OGG}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/ogg
RUN \
echo "**** compiling ogg ****" && \
cd /tmp/ogg && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install
RUN \
echo "**** grabbing opencore-amr ****" && \
mkdir -p /tmp/opencore-amr && \
curl -Lf \
http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-${OPENCOREAMR}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/opencore-amr
RUN \
echo "**** compiling opencore-amr ****" && \
cd /tmp/opencore-amr && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install && \
strip -d /usr/local/lib/libopencore-amr*.so
RUN \
echo "**** grabbing openjpeg ****" && \
mkdir -p /tmp/openjpeg && \
curl -Lf \
https://github.com/uclouvain/openjpeg/archive/v${OPENJPEG}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/openjpeg
RUN \
echo "**** compiling openjpeg ****" && \
cd /tmp/openjpeg && \
rm -Rf \
thirdparty/libpng/* && \
curl -Lf \
https://download.sourceforge.net/libpng/libpng-${LIBPNG}.tar.gz | \
tar -zx --strip-components=1 -C thirdparty/libpng/ && \
cmake \
-DBUILD_STATIC_LIBS=0 \
-DBUILD_THIRDPARTY:BOOL=ON . && \
make && \
make install
RUN \
echo "**** grabbing opus ****" && \
mkdir -p /tmp/opus && \
curl -Lf \
https://downloads.xiph.org/releases/opus/opus-${OPUS}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/opus
RUN \
echo "**** compiling opus ****" && \
cd /tmp/opus && \
autoreconf -fiv && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install && \
strip -d /usr/local/lib/libopus.so
RUN \
echo "**** grabbing rav1e ****" && \
mkdir -p /tmp/rav1e && \
git clone \
--branch v${RAV1E} \
https://github.com/xiph/rav1e.git \
/tmp/rav1e
RUN \
echo "**** compiling rav1e ****" && \
cd /tmp/rav1e && \
cargo cinstall --release && \
strip -d /usr/local/lib/aarch64-linux-gnu/librav1e.so
RUN \
echo "**** grabbing rist ****" && \
mkdir -p /tmp/rist && \
git clone \
--branch v${RIST} \
--depth 1 https://code.videolan.org/rist/librist.git \
/tmp/rist
RUN \
echo "**** compiling rist ****" && \
cd /tmp/rist && \
mkdir -p \
rist_build && \
cd rist_build && \
meson setup \
--default-library=shared .. && \
ninja && \
ninja install && \
strip -d /usr/local/lib/librist.so
RUN \
echo "**** grabbing srt ****" && \
mkdir -p /tmp/srt && \
git clone \
--branch v${SRT} \
--depth 1 https://github.com/Haivision/srt.git \
/tmp/srt
RUN \
echo "**** compiling srt ****" && \
cd /tmp/srt && \
mkdir -p \
srt_build && \
cd srt_build && \
cmake \
-DBUILD_SHARED_LIBS:BOOL=on .. && \
make && \
make install && \
strip -d /usr/local/lib/libsrt.so
RUN \
echo "**** grabbing SVT-AV1 ****" && \
mkdir -p /tmp/svt-av1 && \
curl -Lf \
https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v${SVTAV1}/SVT-AV1-v${SVTAV1}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/svt-av1
RUN \
echo "**** compiling SVT-AV1 ****" && \
cd /tmp/svt-av1/Build && \
cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release && \
make && \
make install
RUN \
echo "**** grabbing theora ****" && \
mkdir -p /tmp/theora && \
curl -Lf \
http://downloads.xiph.org/releases/theora/libtheora-${THEORA}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/theora
RUN \
echo "**** compiling theora ****" && \
cd /tmp/theora && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install
RUN \
echo "**** grabbing vid.stab ****" && \
mkdir -p /tmp/vid.stab && \
curl -Lf \
https://github.com/georgmartius/vid.stab/archive/v${LIBVIDSTAB}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/vid.stab
RUN \
echo "**** compiling vid.stab ****" && \
cd /tmp/vid.stab && \
echo "" > \
CMakeModules/FindSSE.cmake && \
cmake . && \
make && \
make install
RUN \
echo "**** grabbing vorbis ****" && \
mkdir -p /tmp/vorbis && \
curl -Lf \
http://downloads.xiph.org/releases/vorbis/libvorbis-${VORBIS}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/vorbis
RUN \
echo "**** compiling vorbis ****" && \
cd /tmp/vorbis && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install
RUN \
echo "**** grabbing vpx ****" && \
mkdir -p /tmp/vpx && \
curl -Lf \
https://github.com/webmproject/libvpx/archive/v${VPX}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/vpx
RUN \
echo "**** compiling vpx ****" && \
cd /tmp/vpx && \
./configure \
--disable-debug \
--disable-docs \
--disable-examples \
--disable-install-bins \
--disable-static \
--disable-unit-tests \
--enable-pic \
--enable-shared \
--enable-vp8 \
--enable-vp9 \
--enable-vp9-highbitdepth && \
make && \
make install
RUN \
echo "**** grabbing vvenc ****" && \
mkdir -p /tmp/vvenc && \
git clone \
--branch v${VVENC} \
--depth 1 https://github.com/fraunhoferhhi/vvenc.git \
/tmp/vvenc
RUN \
echo "**** compiling vvenc ****" && \
cd /tmp/vvenc && \
make install install-prefix=/usr/local && \
strip -d /usr/local/lib/libvvenc.so
RUN \
echo "**** grabbing webp ****" && \
mkdir -p /tmp/webp && \
curl -Lf \
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-${WEBP}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/webp
RUN \
echo "**** compiling webp ****" && \
cd /tmp/webp && \
./configure && \
make && \
make install && \
strip -d /usr/local/lib/libweb*.so
RUN \
echo "**** grabbing x264 ****" && \
mkdir -p /tmp/x264 && \
curl -Lf \
https://code.videolan.org/videolan/x264/-/archive/master/x264-stable.tar.bz2 | \
tar -jx --strip-components=1 -C /tmp/x264
RUN \
echo "**** compiling x264 ****" && \
cd /tmp/x264 && \
./configure \
--disable-cli \
--disable-static \
--enable-pic \
--enable-shared && \
make && \
make install
RUN \
echo "**** grabbing x265 ****" && \
mkdir -p /tmp/x265 && \
curl -Lf \
https://bitbucket.org/multicoreware/x265_git/downloads/x265_${X265}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/x265
RUN \
echo "**** compiling x265 ****" && \
cd /tmp/x265/build/linux && \
export CXXFLAGS="-fPIC" && \
./multilib.sh && \
make -C 8bit install
RUN \
echo "**** grabbing xvid ****" && \
mkdir -p /tmp/xvid && \
curl -Lf \
https://downloads.xvid.com/downloads/xvidcore-${XVID}.tar.gz | \
tar -zx --strip-components=1 -C /tmp/xvid
RUN \
echo "**** compiling xvid ****" && \
cd /tmp/xvid/build/generic && \
./configure && \
make && \
make install
RUN \
echo "**** grabbing zimg ****" && \
mkdir -p /tmp/zimg && \
git clone \
--branch release-${ZIMG} --depth 1 \
https://github.com/sekrit-twc/zimg.git \
/tmp/zimg
RUN \
echo "**** compiling zimg ****" && \
cd /tmp/zimg && \
./autogen.sh && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install
RUN \
echo "**** grabbing zmq ****" && \
mkdir -p /tmp/zmq && \
git clone \
--branch ${ZMQ} --depth 1 \
https://github.com/zeromq/libzmq.git \
/tmp/zmq
RUN \
echo "**** compiling zmq ****" && \
cd /tmp/zmq && \
./autogen.sh && \
./configure \
--disable-static \
--enable-shared && \
make && \
make install-strip
# main ffmpeg build
RUN \
echo "**** Versioning ****" && \
if [ -z ${FFMPEG_VERSION+x} ]; then \
FFMPEG=${FFMPEG_HARD}; \
else \
FFMPEG=${FFMPEG_VERSION%-cli}; \
fi && \
echo "**** grabbing ffmpeg ****" && \
mkdir -p /tmp/ffmpeg && \
echo "https://ffmpeg.org/releases/ffmpeg-${FFMPEG}.tar.bz2" && \
curl -Lf \
https://ffmpeg.org/releases/ffmpeg-${FFMPEG}.tar.bz2 | \
tar -jx --strip-components=1 -C /tmp/ffmpeg
RUN \
echo "**** compiling ffmpeg ****" && \
cd /tmp/ffmpeg && \
./configure \
--disable-debug \
--disable-doc \
--disable-ffplay \
--enable-alsa \
--enable-cuda-llvm \
--enable-cuvid \
--enable-ffprobe \
--enable-gpl \
--enable-libaom \
--enable-libass \
--enable-libdav1d \
--enable-libfdk_aac \
--enable-libfontconfig \
--enable-libfreetype \
--enable-libfribidi \
--enable-libharfbuzz \
--enable-libkvazaar \
--enable-liblc3 \
--enable-libmp3lame \
--enable-libopencore-amrnb \
--enable-libopencore-amrwb \
--enable-libopenjpeg \
--enable-libopus \
--enable-librav1e \
--enable-librist \
--enable-libsrt \
--enable-libsvtav1 \
--enable-libtheora \
--enable-libv4l2 \
--enable-libvidstab \
--enable-libvmaf \
--enable-libvorbis \
--enable-libvpx \
--enable-libvvenc \
--enable-libwebp \
--enable-libx264 \
--enable-libx265 \
--enable-libxml2 \
--enable-libxvid \
--enable-libzimg \
--enable-libzmq \
--enable-nonfree \
--enable-nvdec \
--enable-nvenc \
--enable-openssl \
--enable-stripping \
--enable-version3 \
&& \
make
RUN \
echo "**** arrange files ****" && \
/usr/local/lib/rustlib/uninstall.sh && \
ldconfig && \
mkdir -p \
/buildout/usr/local/bin \
/buildout/usr/local/etc/fonts \
/buildout/usr/local/lib/aarch64-linux-gnu \
/buildout/usr/share/fonts && \
cp \
/tmp/ffmpeg/ffmpeg \
/buildout/usr/local/bin && \
cp \
/tmp/ffmpeg/ffprobe \
/buildout/usr/local/bin && \
cp -a \
/usr/local/etc/fonts/* \
/buildout/usr/local/etc/fonts/ && \
cp -a \
/usr/local/lib/lib*so* \
/buildout/usr/local/lib/ && \
cp -a \
/usr/local/lib/aarch64-linux-gnu/lib*so* \
/buildout/usr/local/lib/aarch64-linux-gnu/ && \
cp -a \
/usr/share/fonts/* \
/buildout/usr/share/fonts/
# runtime stage
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-noble
# Add files from binstage
COPY --from=buildstage /buildout/ /
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
ARG DEBIAN_FRONTEND="noninteractive"
ENV \
NVIDIA_DRIVER_CAPABILITIES="compute,video,utility" \
NVIDIA_VISIBLE_DEVICES="all"
RUN \
echo "**** install runtime ****" && \
apt-get update && \
apt-get install -y \
libasound2t64 \
libexpat1 \
libglib2.0-0 \
libgomp1 \
libllvm18 \
libv4l-0 \
libx11-6 \
libxcb1 \
libxcb-shm0 \
libxext6 \
libxml2 \
ocl-icd-libopencl1 && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** clean up ****" && \
rm -rf \
/var/lib/apt/lists/* \
/var/tmp/* && \
echo "**** quick test ffmpeg ****" && \
ldd /usr/local/bin/ffmpeg && \
/usr/local/bin/ffmpeg -version
COPY /root /
ENTRYPOINT ["/ffmpegwrapper.sh"]

1179
Jenkinsfile vendored Normal file

File diff suppressed because it is too large Load Diff

674
LICENSE Normal file
View File

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

240
README.md
View File

@ -1 +1,239 @@
# Initial
<!-- DO NOT EDIT THIS FILE MANUALLY -->
<!-- Please read https://github.com/linuxserver/docker-ffmpeg/blob/master/.github/CONTRIBUTING.md -->
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)](https://linuxserver.io)
[![Blog](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Blog)](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
[![Discord](https://img.shields.io/discord/354974912613449730.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=Discord&logo=discord)](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.")
[![Discourse](https://img.shields.io/discourse/https/discourse.linuxserver.io/topics.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=discourse)](https://discourse.linuxserver.io "post on our community forum.")
[![Fleet](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Fleet)](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
[![GitHub](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub&logo=github)](https://github.com/linuxserver "view the source for all of our repositories.")
[![Open Collective](https://img.shields.io/opencollective/all/linuxserver.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=Supporters&logo=open%20collective)](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget")
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
* regular and timely application updates
* easy user mappings (PGID, PUID)
* custom base image with s6 overlay
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
* regular security updates
Find us at:
* [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
* [Discourse](https://discourse.linuxserver.io) - post on our community forum.
* [Fleet](https://fleet.linuxserver.io) - an online web interface which displays all of our maintained images.
* [GitHub](https://github.com/linuxserver) - view the source for all of our repositories.
* [Open Collective](https://opencollective.com/linuxserver) - please consider helping us by either donating or contributing to our budget
# [linuxserver/ffmpeg](https://github.com/linuxserver/docker-ffmpeg)
[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Fffmpeg?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh)
[![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-ffmpeg.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-ffmpeg)
[![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-ffmpeg.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-ffmpeg/releases)
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver/docker-ffmpeg/packages)
[![GitLab Container Registry](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitLab%20Registry&logo=gitlab)](https://gitlab.com/linuxserver.io/docker-ffmpeg/container_registry)
[![Quay.io](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Quay.io)](https://quay.io/repository/linuxserver.io/ffmpeg)
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/ffmpeg.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/linuxserver/ffmpeg)
[![Docker Stars](https://img.shields.io/docker/stars/linuxserver/ffmpeg.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=stars&logo=docker)](https://hub.docker.com/r/linuxserver/ffmpeg)
[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-ffmpeg%2Fjob%2Fmaster%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-ffmpeg/job/master/)
[FFmpeg](https://ffmpeg.org) - A complete, cross-platform solution to record, convert and stream audio and video.
[![ffmpeg](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/ffmpeg.png)](https://ffmpeg.org)
## Supported Architectures
We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://distribution.github.io/distribution/spec/manifest-v2-2/#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
Simply pulling `lscr.io/linuxserver/ffmpeg:latest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
The architectures supported by this image are:
| Architecture | Available | Tag |
| :----: | :----: | ---- |
| x86-64 | ✅ | amd64-\<version tag\> |
| arm64 | ✅ | arm64v8-\<version tag\> |
| armhf | ❌ | |
## Usage
Unlike most of our container library this image is meant to be run ephemerally from the command line parsing user input for a custom FFmpeg command. You will need to understand some Docker basics to use this image and be familiar with how to construct an FFmpeg command. In the commands below we will be bind mounting our current working directory from the CLI to /config, the assumption is that input.mkv is in your current working directory.
If an input file is detected we will run FFmpeg as that user/group so the output file will match its permissions.
The image supports Hardware acceleration on x86 pay close attention to the variables for the examples below.
### Included Intel Drivers (latest versions compiled):
* iHD Driver: Supports gen8+ (default for Intel)
* i965 Driver: Supports gen5+ (for gen5-gen9.5 it can be enabled by setting env var `LIBVA_DRIVER_NAME=i965` in docker arguments)
* Libva (VAAPI): Supports gen5+ with i965 driver and gen8+ with iHD driver
* Qsv Dispatcher: OneVPL (supports both OneVPL and MSDK runtimes and should automatically switch)
* Qsv Runtime:
* OneVPL: Supports gen12+
* MSDK (libmfx): Supports gen8 - gen12
### Basic Transcode
```bash
docker run --rm -it \
-v $(pwd):/config \
linuxserver/ffmpeg \
-i /config/input.mkv \
-c:v libx264 \
-b:v 4M \
-vf scale=1280:720 \
-c:a copy \
/config/output.mkv
```
### Hardware accelerated (VAAPI) ([click for more info](https://trac.ffmpeg.org/wiki/Hardware/VAAPI))
```bash
docker run --rm -it \
--device=/dev/dri:/dev/dri \
-v $(pwd):/config \
linuxserver/ffmpeg \
-vaapi_device /dev/dri/renderD128 \
-i /config/input.mkv \
-c:v h264_vaapi \
-b:v 4M \
-vf 'format=nv12|vaapi,hwupload,scale_vaapi=w=1280:h=720' \
-c:a copy \
/config/output.mkv
```
### Hardware accelerated (QSV) ([click for more info](https://trac.ffmpeg.org/wiki/Hardware/QuickSync))
```bash
docker run --rm -it \
--device=/dev/dri:/dev/dri \
-v $(pwd):/config \
linuxserver/ffmpeg \
-hwaccel qsv \
-c:v h264_qsv \
-i /config/input.mkv \
-c:v h264_qsv \
-global_quality 25 \
/config/output.mkv
```
### Nvidia Hardware accelerated ([click for more info](https://trac.ffmpeg.org/wiki/HWAccelIntro#CUDANVENCNVDEC))
Nvidia support __requires__ [Nvidia container toolkit](https://github.com/NVIDIA/nvidia-container-toolkit) and the Nvidia drivers installed on the host.
```bash
docker run --rm -it \
--runtime=nvidia \
-v $(pwd):/config \
linuxserver/ffmpeg \
-hwaccel nvdec \
-i /config/input.mkv \
-c:v h264_nvenc \
-b:v 4M \
-vf scale=1280:720 \
-c:a copy \
/config/output.mkv
```
### Vulkan support
Vulkan support has been added to x86_64 (tested with Intel and AMD iGPU) ([click for more info](https://trac.ffmpeg.org/wiki/HWAccelIntro#Vulkan)).
```bash
docker run --rm -it \
--device=/dev/dri:/dev/dri \
-v $(pwd):/config \
-e ANV_VIDEO_DECODE=1 \
linuxserver/ffmpeg \
-init_hw_device "vulkan=vk:0" \
-hwaccel vulkan \
-hwaccel_output_format vulkan \
-i /config/input.mkv \
-f null - -benchmark
```
#### Vulkan supports three drivers
* ANV: To enable for Intel, set the env var `ANV_VIDEO_DECODE=1`
* RADV: To enable on AMD, set the env var `RADV_PERFTEST=video_decode`
* NVIDIA: To enable on Nvidia, install Nvidia Vulkan Beta drivers on the host per [this article](https://lynne.ee/vulkan-video-decoding.html#driver-support)
## Building locally
If you want to make local modifications to these images for development purposes or just to customize the logic:
```bash
git clone https://github.com/linuxserver/docker-ffmpeg.git
cd docker-ffmpeg
docker build \
--no-cache \
--pull \
-t lscr.io/linuxserver/docker-ffmpeg:latest .
```
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
```bash
docker run --rm --privileged multiarch/qemu-user-static:register --reset
```
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
## Versions
* **06.01.26:** - Remove mpp from aarch64 build due to upstream DMCA removal. Bump harfbuzz, libdav1d, libdrm, libpng, libva, libvpl, mesa, opus, shaderc and vulkan-sdk.
* **01.12.25:** - Bump ffmpeg to 8.0.1.
* **19.11.25:** - Bump aom, freetype, harfbuzz, Intel drivers and libs, kvazaar, libdav1d, libdrm, mesa, mpp, openjpeg, shaderc, svt-av1 and vulkan-sdk.
* **23.08.25:** - Bump ffmpeg to 8.0. Bump harfbuzz, Intel drivers and libs, libdovi, libdrm, libpng, mesa, ogg, rav1e, shaderc, svt-av1, vulkan-sdk, webp and zimg.
* **06.08.25:** - Bump svt-av1.
* **07.06.25:** - Bump harfbuzz, libass, libdovi, libplacebo, libpng, mesa, rav1e, shaderc, libvpx and vulkan-sdk.
* **04.06.25:** - Add libdrm and rkmpp to arm64 image.
* **21.04.25:** - Bump aom, Intel drivers and libs, harfbuzz, mesa, svt-av1, libvpx, libtheora, vulkan-sdk and vvenc.
* **07.03.25:** - Bump ffmpeg to 7.1.1, Bump aom, fontconfig, Intel drivers and libs, harfbuzz, libdav1d, libdovi, libdrm, liblc3, libpng, mesa, openjpeg, shaderc, svt-av1, vulkan-sdk, vvenc and webp.
* **26.11.24:** - Bump libaom, mesa, rist, srt and libx265.
* **07.11.24:** - Bump harfbuzz, Intel drivers and libs, libdav1d, mesa, svtav1, vpx, vulkan sdk and vvenc.
* **05.10.24:** - Add support for libvvenc on aarch64. Bump mesa.
* **30.09.24:** - Bump ffmpeg for 7.1. Add support for libvvenc (amd64 only) and liblc3. Bump libfribidi and libharfbuzz.
* **24.09.24:** - Let ffmpeg terminate gracefully on docker stop/restart. Bump libharfbuzz, libpng, mesa, shaderc and libx265.
* **09.09.24:** - Add libzmq.
* **31.08.24:** - Bump libaom, libdrm, libvpl, mesa and svtav1. Enable nvdec/nvenc on arm64 (untested).
* **17.08.24:** - Bump ffmpeg, freetype, libdovi and mesa.
* **14.08.24:** - Add SRT and libRIST.
* **01.08.24:** - Add libdav1d. Bump libharfbuzz, various Intel drivers and libs, libass, libdrm, libplacebo, libva, mesa, svtav1, and vulkan sdk.
* **21.06.24:** - Bump mesa and libaom. Update lib path for rav1e.
* **08.06.24:** - Bump ffmpeg, fribidi, libdrm, mesa and vpx.
* **26.05.24:** - Rebase to Ubuntu Noble. Bump libass, libharfbuzz and vulkan-sdk.
* **22.05.24:** - Bump Mesa to 24.1.0.
* **20.05.24:** - Bump libsvtav1.
* **09.05.24:** - Bump libaom, fribidi, kvazaar, various Intel drivers and libs, Mesa, opus, shaderc, webp and x265.
* **11.04.24:** - Explicitly disable libdrm on aarch64, add new lib `libxcb-shm0`. Add quick test at the end of build.
* **10.04.24:** - Compile ffmpeg with `libfribidi`, `libharfbuzz` and `libfontconfig`, compile libharfbuzz.
* **05.04.24:** - Bump ffmpeg to 7.0, bump libdovi, libva, mesa and vulkan-sdk.
* **16.03.24:** - Bump libaom, mesa, openjpeg, opus, shaderc and svtav1.
* **11.02.24:** - Add Zimg support.
* **09.02.24:** - Bump ffmpeg to 6.1.1, bump other deps.
* **08.02.24:** - Enable cuda-llvm, clean up rustc.
* **01.02.24:** - Bump Mesa to v24.
* **21.01.24:** - Add alsa support.
* **18.01.24:** - Let the wrapper pass the ffmpeg exit code to docker run. Bump various libs.
* **01.01.24:** - Add rav1e support. Bump libaom, fdkaac, libdrm, libvmaf, libvpl, mesa and svt-av1.
* **06.12.23:** - Add libplacebo and libdobi to x86_64.
* **05.12.23:** - Bump Mesa. Fix vdpau. Fix AMD VAAPI.
* **25.11.23:** - Compile Mesa from source. Add proper Vulkan support (env var `ENABLE_VULKAN=true` no longer needed)(tested with Intel).
* **22.11.23:** - Add shaderc and (preliminary) Vulkan support (via env var `ENABLE_VULKAN=true`) to x86_64. Bump Intel drivers and other libs.
* **13.11.23:** - Bump FFmpeg to 6.1.
* **02.11.23:** - Remove `--enable-small` from ffmpeg build options to add back some features.
* **05.10.23:** - Add support for SVT-AV1. Update various libraries.
* **16.08.23:** - Added support for WebP formats.
* **11.08.23:** - Add optional i965 driver for gen5+ support.
* **14.06.23:** - Switch to latest iHD for Intel, add qsv support.
* **13.06.23:** - Bump to 6.0, update shared libraries, deprecate armhf, combine bin stage.
* **14.12.22:** - Rebase to Jammy, bump to 5.1.2.
* **19.06.22:** - Rebase to Focal.
* **26.08.21:** - Add support for libOpenCL.
* **01.07.21:** - Bump to 4.4.
* **17.06.20:** - Bump to 4.3.
* **16.06.20:** - Add support for libvmaf.
* **01.08.19:** - Initial release.

20
jenkins-vars.yml Normal file
View File

@ -0,0 +1,20 @@
---
# jenkins variables
project_name: docker-ffmpeg
external_type: na
custom_version_command: "echo 8.0.1-cli"
release_type: stable
release_tag: latest
ls_branch: master
repo_vars:
- BUILD_VERSION_ARG = 'FFMPEG_VERSION'
- LS_USER = 'linuxserver'
- LS_REPO = 'docker-ffmpeg'
- CONTAINER_NAME = 'ffmpeg'
- DOCKERHUB_IMAGE = 'linuxserver/ffmpeg'
- DEV_DOCKERHUB_IMAGE = 'lsiodev/ffmpeg'
- PR_DOCKERHUB_IMAGE = 'lspipepr/ffmpeg'
- DIST_IMAGE = 'ubuntu'
- MULTIARCH='true'
- CI='false'

181
package_versions.txt Executable file
View File

@ -0,0 +1,181 @@
NAME VERSION TYPE
adduser 3.137ubuntu1 deb
alsa-topology-conf 1.2.5.1-2 deb
alsa-ucm-conf 1.2.10-1ubuntu5.9 deb
apt 2.8.3 deb
apt-utils 2.8.3 deb
base-files 13ubuntu10.4 deb
base-passwd 3.6.3build1 deb
bash 5.2.21-2ubuntu4 deb
bsdutils 1:2.39.3-9ubuntu6.4 deb
ca-certificates 20240203 deb
catatonit 0.1.7-1 deb
coreutils 9.4-3ubuntu6.1 deb
cron 3.0pl1-184ubuntu2 deb
cron-daemon-common 3.0pl1-184ubuntu2 deb
curl 8.5.0-2ubuntu10.6 deb
dash 0.5.12-6ubuntu5 deb
debconf 1.5.86ubuntu1 deb
debianutils 5.17build1 deb
diffutils 1:3.10-1build1 deb
dirmngr 2.4.4-2ubuntu17.4 deb
dpkg 1.22.6ubuntu6.5 deb
e2fsprogs 1.47.0-2.4~exp1ubuntu4.1 deb
findutils 4.9.0-5build1 deb
gcc-14-base 14.2.0-4ubuntu2~24.04 deb
gnupg 2.4.4-2ubuntu17.4 deb
gnupg-l10n 2.4.4-2ubuntu17.4 deb
gnupg-utils 2.4.4-2ubuntu17.4 deb
gpg 2.4.4-2ubuntu17.4 deb
gpg-agent 2.4.4-2ubuntu17.4 deb
gpg-wks-client 2.4.4-2ubuntu17.4 deb
gpgconf 2.4.4-2ubuntu17.4 deb
gpgsm 2.4.4-2ubuntu17.4 deb
gpgv 2.4.4-2ubuntu17.4 deb
grep 3.11-4build1 deb
gzip 1.12-1ubuntu3.1 deb
hostname 3.23+nmu2ubuntu2 deb
init-system-helpers 1.66ubuntu1 deb
jq 1.7.1-3ubuntu0.24.04.1 deb
keyboxd 2.4.4-2ubuntu17.4 deb
krb5-locales 1.20.1-6ubuntu2.6 deb
libacl1 2.3.2-1build1.1 deb
libapt-pkg6.0t64 2.8.3 deb
libasound2-data 1.2.11-1ubuntu0.1 deb
libasound2t64 1.2.11-1ubuntu0.1 deb
libassuan0 2.5.6-1build1 deb
libattr1 1:2.5.2-1build1.1 deb
libaudit-common 1:3.1.2-2.1build1.1 deb
libaudit1 1:3.1.2-2.1build1.1 deb
libblkid1 2.39.3-9ubuntu6.4 deb
libbrotli1 1.1.0-2build2 deb
libbsd0 0.12.1-1build1.1 deb
libbz2-1.0 1.0.8-5.1build0.1 deb
libc-bin 2.39-0ubuntu8.7 deb
libc6 2.39-0ubuntu8.7 deb
libcap-ng0 0.8.4-2build2 deb
libcap2 1:2.66-5ubuntu2.2 deb
libcom-err2 1.47.0-2.4~exp1ubuntu4.1 deb
libcrypt1 1:4.4.36-4build1 deb
libcurl4t64 8.5.0-2ubuntu10.6 deb
libdb5.3t64 5.3.28+dfsg2-7 deb
libdebconfclient0 0.271ubuntu3 deb
libedit2 3.1-20230828-1build1 deb
libelf1t64 0.190-1.1ubuntu0.1 deb
libexpat1 2.6.1-2ubuntu0.3 deb
libext2fs2t64 1.47.0-2.4~exp1ubuntu4.1 deb
libffi8 3.4.6-1build1 deb
libgcc-s1 14.2.0-4ubuntu2~24.04 deb
libgcrypt20 1.10.3-2build1 deb
libglib2.0-0t64 2.80.0-6ubuntu3.8 deb
libglib2.0-data 2.80.0-6ubuntu3.8 deb
libgmp10 2:6.3.0+dfsg-2ubuntu6.1 deb
libgnutls30t64 3.8.3-1.1ubuntu3.4 deb
libgomp1 14.2.0-4ubuntu2~24.04 deb
libgpg-error0 1.47-3build2.1 deb
libgssapi-krb5-2 1.20.1-6ubuntu2.6 deb
libhogweed6t64 3.9.1-2.2build1.1 deb
libicu74 74.2-1ubuntu3.1 deb
libidn2-0 2.3.7-2build1.1 deb
libjpeg-turbo8 2.1.5-2ubuntu2 deb
libjpeg8 8c-2ubuntu11 deb
libjq1 1.7.1-3ubuntu0.24.04.1 deb
libk5crypto3 1.20.1-6ubuntu2.6 deb
libkeyutils1 1.6.3-3build1 deb
libkrb5-3 1.20.1-6ubuntu2.6 deb
libkrb5support0 1.20.1-6ubuntu2.6 deb
libksba8 1.6.6-1build1 deb
libldap-common 2.6.10+dfsg-0ubuntu0.24.04.1 deb
libldap2 2.6.10+dfsg-0ubuntu0.24.04.1 deb
libllvm18 1:18.1.3-1ubuntu1 deb
liblz4-1 1.9.4-1build1.1 deb
liblzma5 5.6.1+really5.4.5-1ubuntu0.2 deb
libmd0 1.1.0-2build1.1 deb
libmount1 2.39.3-9ubuntu6.4 deb
libncursesw6 6.4+20240113-1ubuntu2 deb
libnettle8t64 3.9.1-2.2build1.1 deb
libnghttp2-14 1.59.0-1ubuntu0.2 deb
libnpth0t64 1.6-3.1build1 deb
libonig5 6.9.9-1build1 deb
libp11-kit0 0.25.3-4ubuntu2.1 deb
libpam-modules 1.5.3-5ubuntu5.5 deb
libpam-modules-bin 1.5.3-5ubuntu5.5 deb
libpam-runtime 1.5.3-5ubuntu5.5 deb
libpam0g 1.5.3-5ubuntu5.5 deb
libpciaccess0 0.17-3ubuntu0.24.04.2 deb
libpcre2-8-0 10.42-4ubuntu2.1 deb
libproc2-0 2:4.0.4-4ubuntu3.2 deb
libpsl5t64 0.21.2-1.1build1 deb
libreadline8t64 8.2-4build1 deb
librtmp1 2.4+20151223.gitfa8646d.1-2build7 deb
libsasl2-2 2.1.28+dfsg1-5ubuntu3.1 deb
libsasl2-modules 2.1.28+dfsg1-5ubuntu3.1 deb
libsasl2-modules-db 2.1.28+dfsg1-5ubuntu3.1 deb
libseccomp2 2.5.5-1ubuntu3.1 deb
libselinux1 3.5-2ubuntu2.1 deb
libsemanage-common 3.5-1build5 deb
libsemanage2 3.5-1build5 deb
libsepol2 3.5-2build1 deb
libsmartcols1 2.39.3-9ubuntu6.4 deb
libsqlite3-0 3.45.1-1ubuntu2.5 deb
libss2 1.47.0-2.4~exp1ubuntu4.1 deb
libssh-4 0.10.6-2ubuntu0.2 deb
libssl3t64 3.0.13-0ubuntu3.7 deb
libstdc++6 14.2.0-4ubuntu2~24.04 deb
libsystemd0 255.4-1ubuntu8.12 deb
libtasn1-6 4.19.0-3ubuntu0.24.04.2 deb
libtinfo6 6.4+20240113-1ubuntu2 deb
libudev1 255.4-1ubuntu8.12 deb
libunistring5 1.1-2build1.1 deb
libuuid1 2.39.3-9ubuntu6.4 deb
libv4l-0t64 1.26.1-4build3 deb
libv4lconvert0t64 1.26.1-4build3 deb
libwayland-client0 1.22.0-2.1build1 deb
libx11-6 2:1.8.7-1build1 deb
libx11-data 2:1.8.7-1build1 deb
libx11-xcb1 2:1.8.7-1build1 deb
libxau6 1:1.0.9-1build6 deb
libxcb-dri2-0 1.15-1ubuntu2 deb
libxcb-dri3-0 1.15-1ubuntu2 deb
libxcb-present0 1.15-1ubuntu2 deb
libxcb-randr0 1.15-1ubuntu2 deb
libxcb-shape0 1.15-1ubuntu2 deb
libxcb-shm0 1.15-1ubuntu2 deb
libxcb-sync1 1.15-1ubuntu2 deb
libxcb-xfixes0 1.15-1ubuntu2 deb
libxcb1 1.15-1ubuntu2 deb
libxdmcp6 1:1.1.3-0ubuntu6 deb
libxext6 2:1.3.4-1build2 deb
libxfixes3 1:6.0.0-2build1 deb
libxml2 2.9.14+dfsg-1.3ubuntu3.7 deb
libxshmfence1 1.3-1build5 deb
libxxhash0 0.8.2-2build1 deb
libzstd1 1.5.5+dfsg2-2build1.1 deb
locales 2.39-0ubuntu8.7 deb
login 1:4.13+dfsg1-4ubuntu3.2 deb
logsave 1.47.0-2.4~exp1ubuntu4.1 deb
mawk 1.3.4.20240123-1build1 deb
mount 2.39.3-9ubuntu6.4 deb
ncurses-base 6.4+20240113-1ubuntu2 deb
ncurses-bin 6.4+20240113-1ubuntu2 deb
netcat-openbsd 1.226-1ubuntu2 deb
ocl-icd-libopencl1 2.3.2-1build1 deb
openssl 3.0.13-0ubuntu3.7 deb
passwd 1:4.13+dfsg1-4ubuntu3.2 deb
perl-base 5.38.2-3.2ubuntu0.2 deb
pinentry-curses 1.2.1-3ubuntu5 deb
procps 2:4.0.4-4ubuntu3.2 deb
publicsuffix 20231001.0357-0.1 deb
readline-common 8.2-4build1 deb
sed 4.9-2build1 deb
sensible-utils 0.0.22 deb
shared-mime-info 2.4-4 deb
systemd-standalone-sysusers 255.4-1ubuntu8.12 deb
sysvinit-utils 3.08-6ubuntu3 deb
tar 1.35+dfsg-3build1 deb
tzdata 2025b-0ubuntu0.24.04.1 deb
ubuntu-keyring 2023.11.28.1 deb
unminimize 0.2.1 deb
util-linux 2.39.3-9ubuntu6.4 deb
xdg-user-dirs 0.18-1build1 deb
zlib1g 1:1.3.dfsg-3.1ubuntu2.1 deb

247
readme-vars.yml Normal file
View File

@ -0,0 +1,247 @@
---
# project information
project_name: ffmpeg
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/ffmpeg.png"
project_blurb: A complete, cross-platform solution to record, convert and stream audio and video.
project_categories: "Media Tools"
full_custom_readme: |
{% raw -%}
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)](https://linuxserver.io)
[![Blog](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Blog)](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
[![Discord](https://img.shields.io/discord/354974912613449730.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=Discord&logo=discord)](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.")
[![Discourse](https://img.shields.io/discourse/https/discourse.linuxserver.io/topics.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=discourse)](https://discourse.linuxserver.io "post on our community forum.")
[![Fleet](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Fleet)](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
[![GitHub](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub&logo=github)](https://github.com/linuxserver "view the source for all of our repositories.")
[![Open Collective](https://img.shields.io/opencollective/all/linuxserver.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=Supporters&logo=open%20collective)](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget")
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
* regular and timely application updates
* easy user mappings (PGID, PUID)
* custom base image with s6 overlay
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
* regular security updates
Find us at:
* [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
* [Discourse](https://discourse.linuxserver.io) - post on our community forum.
* [Fleet](https://fleet.linuxserver.io) - an online web interface which displays all of our maintained images.
* [GitHub](https://github.com/linuxserver) - view the source for all of our repositories.
* [Open Collective](https://opencollective.com/linuxserver) - please consider helping us by either donating or contributing to our budget
# [linuxserver/ffmpeg](https://github.com/linuxserver/docker-ffmpeg)
[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Fffmpeg?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh)
[![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-ffmpeg.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-ffmpeg)
[![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-ffmpeg.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-ffmpeg/releases)
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver/docker-ffmpeg/packages)
[![GitLab Container Registry](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitLab%20Registry&logo=gitlab)](https://gitlab.com/linuxserver.io/docker-ffmpeg/container_registry)
[![Quay.io](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Quay.io)](https://quay.io/repository/linuxserver.io/ffmpeg)
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/ffmpeg.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/linuxserver/ffmpeg)
[![Docker Stars](https://img.shields.io/docker/stars/linuxserver/ffmpeg.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=stars&logo=docker)](https://hub.docker.com/r/linuxserver/ffmpeg)
[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-ffmpeg%2Fjob%2Fmaster%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-ffmpeg/job/master/)
[FFmpeg](https://ffmpeg.org) - A complete, cross-platform solution to record, convert and stream audio and video.
[![ffmpeg](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/ffmpeg.png)](https://ffmpeg.org)
## Supported Architectures
We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://distribution.github.io/distribution/spec/manifest-v2-2/#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
Simply pulling `lscr.io/linuxserver/ffmpeg:latest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
The architectures supported by this image are:
| Architecture | Available | Tag |
| :----: | :----: | ---- |
| x86-64 | ✅ | amd64-\<version tag\> |
| arm64 | ✅ | arm64v8-\<version tag\> |
| armhf | ❌ | |
## Usage
Unlike most of our container library this image is meant to be run ephemerally from the command line parsing user input for a custom FFmpeg command. You will need to understand some Docker basics to use this image and be familiar with how to construct an FFmpeg command. In the commands below we will be bind mounting our current working directory from the CLI to /config, the assumption is that input.mkv is in your current working directory.
If an input file is detected we will run FFmpeg as that user/group so the output file will match its permissions.
The image supports Hardware acceleration on x86 pay close attention to the variables for the examples below.
### Included Intel Drivers (latest versions compiled):
* iHD Driver: Supports gen8+ (default for Intel)
* i965 Driver: Supports gen5+ (for gen5-gen9.5 it can be enabled by setting env var `LIBVA_DRIVER_NAME=i965` in docker arguments)
* Libva (VAAPI): Supports gen5+ with i965 driver and gen8+ with iHD driver
* Qsv Dispatcher: OneVPL (supports both OneVPL and MSDK runtimes and should automatically switch)
* Qsv Runtime:
* OneVPL: Supports gen12+
* MSDK (libmfx): Supports gen8 - gen12
### Basic Transcode
```bash
docker run --rm -it \
-v $(pwd):/config \
linuxserver/ffmpeg \
-i /config/input.mkv \
-c:v libx264 \
-b:v 4M \
-vf scale=1280:720 \
-c:a copy \
/config/output.mkv
```
### Hardware accelerated (VAAPI) ([click for more info](https://trac.ffmpeg.org/wiki/Hardware/VAAPI))
```bash
docker run --rm -it \
--device=/dev/dri:/dev/dri \
-v $(pwd):/config \
linuxserver/ffmpeg \
-vaapi_device /dev/dri/renderD128 \
-i /config/input.mkv \
-c:v h264_vaapi \
-b:v 4M \
-vf 'format=nv12|vaapi,hwupload,scale_vaapi=w=1280:h=720' \
-c:a copy \
/config/output.mkv
```
### Hardware accelerated (QSV) ([click for more info](https://trac.ffmpeg.org/wiki/Hardware/QuickSync))
```bash
docker run --rm -it \
--device=/dev/dri:/dev/dri \
-v $(pwd):/config \
linuxserver/ffmpeg \
-hwaccel qsv \
-c:v h264_qsv \
-i /config/input.mkv \
-c:v h264_qsv \
-global_quality 25 \
/config/output.mkv
```
### Nvidia Hardware accelerated ([click for more info](https://trac.ffmpeg.org/wiki/HWAccelIntro#CUDANVENCNVDEC))
Nvidia support __requires__ [Nvidia container toolkit](https://github.com/NVIDIA/nvidia-container-toolkit) and the Nvidia drivers installed on the host.
```bash
docker run --rm -it \
--runtime=nvidia \
-v $(pwd):/config \
linuxserver/ffmpeg \
-hwaccel nvdec \
-i /config/input.mkv \
-c:v h264_nvenc \
-b:v 4M \
-vf scale=1280:720 \
-c:a copy \
/config/output.mkv
```
### Vulkan support
Vulkan support has been added to x86_64 (tested with Intel and AMD iGPU) ([click for more info](https://trac.ffmpeg.org/wiki/HWAccelIntro#Vulkan)).
```bash
docker run --rm -it \
--device=/dev/dri:/dev/dri \
-v $(pwd):/config \
-e ANV_VIDEO_DECODE=1 \
linuxserver/ffmpeg \
-init_hw_device "vulkan=vk:0" \
-hwaccel vulkan \
-hwaccel_output_format vulkan \
-i /config/input.mkv \
-f null - -benchmark
```
#### Vulkan supports three drivers
* ANV: To enable for Intel, set the env var `ANV_VIDEO_DECODE=1`
* RADV: To enable on AMD, set the env var `RADV_PERFTEST=video_decode`
* NVIDIA: To enable on Nvidia, install Nvidia Vulkan Beta drivers on the host per [this article](https://lynne.ee/vulkan-video-decoding.html#driver-support)
## Building locally
If you want to make local modifications to these images for development purposes or just to customize the logic:
```bash
git clone https://github.com/linuxserver/docker-ffmpeg.git
cd docker-ffmpeg
docker build \
--no-cache \
--pull \
-t lscr.io/linuxserver/docker-ffmpeg:latest .
```
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
```bash
docker run --rm --privileged multiarch/qemu-user-static:register --reset
```
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
## Versions
* **06.01.26:** - Remove mpp from aarch64 build due to upstream DMCA removal. Bump harfbuzz, libdav1d, libdrm, libpng, libva, libvpl, mesa, opus, shaderc and vulkan-sdk.
* **01.12.25:** - Bump ffmpeg to 8.0.1.
* **19.11.25:** - Bump aom, freetype, harfbuzz, Intel drivers and libs, kvazaar, libdav1d, libdrm, mesa, mpp, openjpeg, shaderc, svt-av1 and vulkan-sdk.
* **23.08.25:** - Bump ffmpeg to 8.0. Bump harfbuzz, Intel drivers and libs, libdovi, libdrm, libpng, mesa, ogg, rav1e, shaderc, svt-av1, vulkan-sdk, webp and zimg.
* **06.08.25:** - Bump svt-av1.
* **07.06.25:** - Bump harfbuzz, libass, libdovi, libplacebo, libpng, mesa, rav1e, shaderc, libvpx and vulkan-sdk.
* **04.06.25:** - Add libdrm and rkmpp to arm64 image.
* **21.04.25:** - Bump aom, Intel drivers and libs, harfbuzz, mesa, svt-av1, libvpx, libtheora, vulkan-sdk and vvenc.
* **07.03.25:** - Bump ffmpeg to 7.1.1, Bump aom, fontconfig, Intel drivers and libs, harfbuzz, libdav1d, libdovi, libdrm, liblc3, libpng, mesa, openjpeg, shaderc, svt-av1, vulkan-sdk, vvenc and webp.
* **26.11.24:** - Bump libaom, mesa, rist, srt and libx265.
* **07.11.24:** - Bump harfbuzz, Intel drivers and libs, libdav1d, mesa, svtav1, vpx, vulkan sdk and vvenc.
* **05.10.24:** - Add support for libvvenc on aarch64. Bump mesa.
* **30.09.24:** - Bump ffmpeg for 7.1. Add support for libvvenc (amd64 only) and liblc3. Bump libfribidi and libharfbuzz.
* **24.09.24:** - Let ffmpeg terminate gracefully on docker stop/restart. Bump libharfbuzz, libpng, mesa, shaderc and libx265.
* **09.09.24:** - Add libzmq.
* **31.08.24:** - Bump libaom, libdrm, libvpl, mesa and svtav1. Enable nvdec/nvenc on arm64 (untested).
* **17.08.24:** - Bump ffmpeg, freetype, libdovi and mesa.
* **14.08.24:** - Add SRT and libRIST.
* **01.08.24:** - Add libdav1d. Bump libharfbuzz, various Intel drivers and libs, libass, libdrm, libplacebo, libva, mesa, svtav1, and vulkan sdk.
* **21.06.24:** - Bump mesa and libaom. Update lib path for rav1e.
* **08.06.24:** - Bump ffmpeg, fribidi, libdrm, mesa and vpx.
* **26.05.24:** - Rebase to Ubuntu Noble. Bump libass, libharfbuzz and vulkan-sdk.
* **22.05.24:** - Bump Mesa to 24.1.0.
* **20.05.24:** - Bump libsvtav1.
* **09.05.24:** - Bump libaom, fribidi, kvazaar, various Intel drivers and libs, Mesa, opus, shaderc, webp and x265.
* **11.04.24:** - Explicitly disable libdrm on aarch64, add new lib `libxcb-shm0`. Add quick test at the end of build.
* **10.04.24:** - Compile ffmpeg with `libfribidi`, `libharfbuzz` and `libfontconfig`, compile libharfbuzz.
* **05.04.24:** - Bump ffmpeg to 7.0, bump libdovi, libva, mesa and vulkan-sdk.
* **16.03.24:** - Bump libaom, mesa, openjpeg, opus, shaderc and svtav1.
* **11.02.24:** - Add Zimg support.
* **09.02.24:** - Bump ffmpeg to 6.1.1, bump other deps.
* **08.02.24:** - Enable cuda-llvm, clean up rustc.
* **01.02.24:** - Bump Mesa to v24.
* **21.01.24:** - Add alsa support.
* **18.01.24:** - Let the wrapper pass the ffmpeg exit code to docker run. Bump various libs.
* **01.01.24:** - Add rav1e support. Bump libaom, fdkaac, libdrm, libvmaf, libvpl, mesa and svt-av1.
* **06.12.23:** - Add libplacebo and libdobi to x86_64.
* **05.12.23:** - Bump Mesa. Fix vdpau. Fix AMD VAAPI.
* **25.11.23:** - Compile Mesa from source. Add proper Vulkan support (env var `ENABLE_VULKAN=true` no longer needed)(tested with Intel).
* **22.11.23:** - Add shaderc and (preliminary) Vulkan support (via env var `ENABLE_VULKAN=true`) to x86_64. Bump Intel drivers and other libs.
* **13.11.23:** - Bump FFmpeg to 6.1.
* **02.11.23:** - Remove `--enable-small` from ffmpeg build options to add back some features.
* **05.10.23:** - Add support for SVT-AV1. Update various libraries.
* **16.08.23:** - Added support for WebP formats.
* **11.08.23:** - Add optional i965 driver for gen5+ support.
* **14.06.23:** - Switch to latest iHD for Intel, add qsv support.
* **13.06.23:** - Bump to 6.0, update shared libraries, deprecate armhf, combine bin stage.
* **14.12.22:** - Rebase to Jammy, bump to 5.1.2.
* **19.06.22:** - Rebase to Focal.
* **26.08.21:** - Add support for libOpenCL.
* **01.07.21:** - Bump to 4.4.
* **17.06.20:** - Bump to 4.3.
* **16.06.20:** - Add support for libvmaf.
* **01.08.19:** - Initial release.
{%- endraw %}

72
root/ffmpegwrapper.sh Executable file
View File

@ -0,0 +1,72 @@
#! /bin/bash
FULL_ARGS=( "$@" )
set_uidgid () {
# setup abc based on file perms
PUID=$(stat -c %u "${INPUT_FILE}")
PGID=$(stat -c %g "${INPUT_FILE}")
groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc
}
run_ffmpeg () {
# we do not have input file or it does not exist on disk just run as root
if [ -z ${INPUT_FILE+x} ] || [ ! -f "${INPUT_FILE}" ]; then
exec /usr/local/bin/ffmpeg "${FULL_ARGS[@]}"
# we found the input file run as abc
else
set_uidgid
exec s6-setuidgid abc \
/usr/local/bin/ffmpeg "${FULL_ARGS[@]}"
fi
}
# look for input file value
for i in "$@"
do
if [ ${KILL+x} ]; then
INPUT_FILE=$i
break
fi
if [ "$i" == "-i" ]; then
KILL=1
fi
done
## hardware support ##
FILES=$(find /dev/dri /dev/dvb /dev/snd -type c -print 2>/dev/null)
for i in $FILES
do
VIDEO_GID=$(stat -c '%g' "${i}")
VIDEO_UID=$(stat -c '%u' "${i}")
# check if user matches device
if id -u abc | grep -qw "${VIDEO_UID}"; then
echo "**** permissions for ${i} are good ****"
else
# check if group matches and that device has group rw
if id -G abc | grep -qw "${VIDEO_GID}" && [ $(stat -c '%A' "${i}" | cut -b 5,6) = "rw" ]; then
echo "**** permissions for ${i} are good ****"
# check if device needs to be added to video group
elif ! id -G abc | grep -qw "${VIDEO_GID}"; then
# check if video group needs to be created
VIDEO_NAME=$(getent group "${VIDEO_GID}" | awk -F: '{print $1}')
if [ -z "${VIDEO_NAME}" ]; then
VIDEO_NAME="video$(head /dev/urandom | tr -dc 'a-z0-9' | head -c4)"
groupadd "${VIDEO_NAME}"
groupmod -g "${VIDEO_GID}" "${VIDEO_NAME}"
echo "**** creating video group ${VIDEO_NAME} with id ${VIDEO_GID} ****"
fi
echo "**** adding ${i} to video group ${VIDEO_NAME} with id ${VIDEO_GID} ****"
usermod -a -G "${VIDEO_NAME}" abc
fi
# check if device has group rw
if [ $(stat -c '%A' "${i}" | cut -b 5,6) != "rw" ]; then
echo -e "**** The device ${i} does not have group read/write permissions, attempting to fix inside the container. ****"
chmod g+rw "${i}"
fi
fi
done
run_ffmpeg