Skip to content

Commit fe814fd

Browse files
authored
debloat ffmpeg-mini more
1 parent 8f18899 commit fe814fd

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

ffmpeg-mini.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,22 @@ get-pkgbuild
88
cd "$BUILD_DIR"
99

1010
# debloat package, remove x265 support and AV1 encoding support
11+
# remove a lot of image formats support and other stuff like opencore
12+
# a lot of these changes make ffmpeg more similar to what void and alpine do
13+
# so they should not cause issues to most applications
1114
sed -i \
1215
-e '/x265/d' \
1316
-e '/aom/d' \
1417
-e '/amf/d' \
1518
-e '/opencl/d' \
1619
-e '/placebo/d' \
1720
-e '/librav1e/d' \
21+
-e '/frei0r/d' \
22+
-e '/gsm/d' \
23+
-e '/opencore/d' \
24+
-e '/libjxl/d' \
25+
-e '/librsvg/d' \
26+
-e '/libopenjpeg/d' \
1827
-e '/--enable-libsvtav1/d' \
1928
-e 's/--enable-vapoursynth/--enable-small/' \
2029
-e 's/--enable-libglslang/--disable-vdpau/' \

0 commit comments

Comments
 (0)