Skip to content

Commit

Permalink
fix: added Gstreamer opengl plugins to the Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
ABeltramo committed Jan 12, 2025
1 parent b3008c6 commit f377d27
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docker/gstreamer.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ Version: $GSTREAMER_VERSION
Depends: libc6, libcap2, libcap2-bin, libdw1, libglib2.0-0, libunwind8,
zlib1g, libdrm2, libva2, libmfx1, libpulse0, libxdamage1, libx265-209, libopus0,
libegl1, libgl1, libgles2, libudev1, libva-drm2, libva-wayland2, libva-x11-2, libva2,
libwayland-client0, libx11-6, libxrandr2, libvpl2, libzxing3, libopenexr-3-1-30, librsvg2-2, libwebp7,
libcairo2, libcairo-gobject2, libjpeg8, libopenjp2-7, liblcms2-2, libzbar0, libaom3, libsoup-2.4-1
libwayland-client0, libx11-6, libx11-xcb1, libxrandr2, libvpl2, libzxing3, libopenexr-3-1-30, librsvg2-2, libwebp7,
libcairo2, libcairo-gobject2, libjpeg8, libopenjp2-7, liblcms2-2, libzbar0, libaom3, libsoup-2.4-1, libopengl0,
libgbm1, libglx0, libgl1, libgudev-1.0-0
Provides: gstreamer, libgstreamer1.0-0
Description: Manually built from git
EOT
Expand All @@ -37,9 +38,10 @@ RUN <<_GSTREAMER_INSTALL
ca-certificates git libllvm15 \
flex libx265-dev libopus-dev nasm libzxing-dev libzbar-dev libdrm-dev libva-dev \
libmfx-dev libvpl-dev libmfx-tools libunwind8 libcap2-bin \
libx11-dev libxfixes-dev libxdamage-dev libwayland-dev libpulse-dev libglib2.0-dev \
libx11-dev libx11-xcb-dev libxfixes-dev libxdamage-dev libwayland-dev wayland-protocols libpulse-dev libglib2.0-dev \
libopenjp2-7-dev liblcms2-dev libcairo2-dev libcairo-gobject2 libwebp7 librsvg2-dev libaom-dev \
libharfbuzz-dev libpango1.0-dev libsoup-2.4-1
libharfbuzz-dev libpango1.0-dev libsoup-2.4-1 libopengl-dev libgbm-dev libegl-dev \
libglu1-mesa-dev freeglut3-dev mesa-common-dev libgl1-mesa-dev libgles-dev libgl-dev libglx-dev libgudev-1.0-dev
"
apt-get update -y
apt-get install -y --no-install-recommends $DEV_PACKAGES
Expand Down Expand Up @@ -77,6 +79,9 @@ RUN <<_GSTREAMER_INSTALL
-Dgst-plugins-bad:qsv=enabled \
-Dgst-plugins-bad:aom=enabled \
-Dgst-plugin-bad:nvcodec=enabled \
-Dgst-plugins-base:gl=enabled \
-Dgstreamer-vaapi:x11=disabled \
-Dgst-plugins-base:gl_winsys=wayland,egl,gbm,surfaceless \
-Dvaapi=enabled \
build
meson compile -C build
Expand Down

0 comments on commit f377d27

Please sign in to comment.