mirror of
https://github.com/hybridgroup/gocv
synced 2025-08-25 08:41:04 +08:00
docker: gstreamer with a specific set of plugins
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
@@ -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
|
||||
@@ -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 \
|
||||
@@ -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
|
||||
|
Reference in New Issue
Block a user