Skip to content

Commit

Permalink
docker: gstreamer with a specific set of plugins
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Oct 21, 2024
1 parent 5aa4e93 commit eee79e4
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions Dockerfile.gstreamer-static-alpine
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# To build release:
# docker buildx build -f Dockerfile.gstreamer-static-alpine -t ghcr.io/hybridgroup/gstreamer:1.24-alpine --platform=linux/arm64,linux/amd64 --load .
# docker buildx build -f Dockerfile.gstreamer-static-alpine -t ghcr.io/hybridgroup/gstreamer:1.24-alpine --platform=linux/arm64,linux/amd64 --progress plain --load .

FROM --platform=linux/amd64 alpine:3.20 AS builder-amd64

Expand Down Expand Up @@ -29,7 +29,12 @@ RUN meson --default-library=static --prefix=/gstbin \
-Dgst-full-target-type=static_library \
-Dgst-full=enabled \
-Dauto_features=disabled \
-Dbase=enabled \
-Dgst-plugins-base:app=enabled \
-Dgst-plugins-base:playback=enabled \
-Dgst-plugins-base:rawparse=enabled \
-Dgst-plugins-base:tcp=enabled \
-Dgst-plugins-base:videoconvertscale=enabled \
-Dgst-plugins-base:videotestsrc=enabled \
-Dgst-plugins-good:isomp4=enabled \
-Dgst-plugins-good:rtp=enabled \
-Dgst-plugins-good:udp=enabled \
Expand All @@ -39,7 +44,7 @@ RUN meson --default-library=static --prefix=/gstbin \
-Dgst-plugins-bad:videoparsers=enabled \
-Dgst-plugins-bad:codectimestamper=enabled \
-Dgst-plugins-bad:openh264=enabled \
-Dtools=disabled \
-Dtools=enabled \
build

RUN meson compile -C build
Expand Down Expand Up @@ -75,7 +80,12 @@ RUN meson --default-library=static --prefix=/gstbin \
-Dgst-full-target-type=static_library \
-Dgst-full=enabled \
-Dauto_features=disabled \
-Dbase=enabled \
-Dgst-plugins-base:app=enabled \
-Dgst-plugins-base:playback=enabled \
-Dgst-plugins-base:tcp=enabled \
-Dgst-plugins-base:rawparse=enabled \
-Dgst-plugins-base:videoconvertscale=enabled \
-Dgst-plugins-base:videotestsrc=enabled \
-Dgst-plugins-good:isomp4=enabled \
-Dgst-plugins-good:rtp=enabled \
-Dgst-plugins-good:udp=enabled \
Expand All @@ -85,9 +95,9 @@ RUN meson --default-library=static --prefix=/gstbin \
-Dgst-plugins-bad:videoparsers=enabled \
-Dgst-plugins-bad:codectimestamper=enabled \
-Dgst-plugins-bad:openh264=enabled \
-Dtools=disabled \
-Dtools=enabled \
build

RUN meson compile -C build

RUN meson install -C build
Expand Down

0 comments on commit eee79e4

Please sign in to comment.