Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
e36b7e7a
Unverified
Commit
e36b7e7a
authored
Dec 18, 2025
by
milesial
Committed by
GitHub
Dec 18, 2025
Browse files
fix: ffmpeg legal alignment (#5002)
Signed-off-by:
Alexandre Milesi
<
milesial@users.noreply.github.com
>
parent
5b82b8b0
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
4 deletions
+35
-4
ATTRIBUTIONS.md
ATTRIBUTIONS.md
+11
-0
container/Dockerfile
container/Dockerfile
+6
-1
container/Dockerfile.sglang
container/Dockerfile.sglang
+6
-1
container/Dockerfile.trtllm
container/Dockerfile.trtllm
+6
-1
container/Dockerfile.vllm
container/Dockerfile.vllm
+6
-1
No files found.
ATTRIBUTIONS.md
View file @
e36b7e7a
...
@@ -763,6 +763,17 @@ Used to integrate EPP functionality within Dynamo.
...
@@ -763,6 +763,17 @@ Used to integrate EPP functionality within Dynamo.
limitations under the License.
limitations under the License.
```
```
## ffmpeg
**License:**
GNU Lesser General Public License v2.1 or later (LGPL-2.1+)
**Copyright:**
Copyright (C) FFmpeg developers
FFmpeg - a complete, cross-platform solution to record, convert and stream audio and video.
The complete text of the LGPL-2.1 license can be found at: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
Note: FFmpeg may be compiled with GPL or non-free components. This projects ensures only LGPL components are included.
---
---
## Source Code Availability
## Source Code Availability
...
...
container/Dockerfile
View file @
e36b7e7a
...
@@ -219,6 +219,7 @@ ENV SCCACHE_BUCKET=${USE_SCCACHE:+${SCCACHE_BUCKET}} \
...
@@ -219,6 +219,7 @@ ENV SCCACHE_BUCKET=${USE_SCCACHE:+${SCCACHE_BUCKET}} \
RUSTC_WRAPPER=${USE_SCCACHE:+sccache}
RUSTC_WRAPPER=${USE_SCCACHE:+sccache}
# Build FFmpeg from source
# Build FFmpeg from source
# Do not delete the source tarball for legal reasons
ARG
FFMPEG_VERSION=7.1
ARG
FFMPEG_VERSION=7.1
RUN
--mount
=
type
=
secret,id
=
aws-key-id,env
=
AWS_ACCESS_KEY_ID
\
RUN
--mount
=
type
=
secret,id
=
aws-key-id,env
=
AWS_ACCESS_KEY_ID
\
--mount
=
type
=
secret,id
=
aws-secret-id,env
=
AWS_SECRET_ACCESS_KEY
\
--mount
=
type
=
secret,id
=
aws-secret-id,env
=
AWS_SECRET_ACCESS_KEY
\
...
@@ -236,6 +237,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
...
@@ -236,6 +237,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
cd
ffmpeg-
${
FFMPEG_VERSION
}
&&
\
cd
ffmpeg-
${
FFMPEG_VERSION
}
&&
\
./configure
\
./configure
\
--prefix
=
/usr/local
\
--prefix
=
/usr/local
\
--disable-gpl
\
--disable-nonfree
\
--disable-programs
\
--disable-programs
\
--disable-doc
\
--disable-doc
\
--disable-static
\
--disable-static
\
...
@@ -252,7 +255,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
...
@@ -252,7 +255,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
make
install
&&
\
make
install
&&
\
/tmp/use-sccache.sh show-stats
"FFMPEG"
&&
\
/tmp/use-sccache.sh show-stats
"FFMPEG"
&&
\
ldconfig
&&
\
ldconfig
&&
\
rm
-rf
/tmp/ffmpeg-
${
FFMPEG_VERSION
}*
;
\
mkdir
-p
/usr/local/src/ffmpeg
&&
\
mv
/tmp/ffmpeg-
${
FFMPEG_VERSION
}*
/usr/local/src/ffmpeg/
;
\
fi
fi
# Build and install UCX
# Build and install UCX
...
@@ -444,6 +448,7 @@ RUN --mount=type=bind,from=wheel_builder,source=/usr/local/,target=/tmp/usr/loca
...
@@ -444,6 +448,7 @@ RUN --mount=type=bind,from=wheel_builder,source=/usr/local/,target=/tmp/usr/loca
cp
-rnL
/tmp/usr/local/include/libav
*
/tmp/usr/local/include/libsw
*
/usr/local/include/
;
\
cp
-rnL
/tmp/usr/local/include/libav
*
/tmp/usr/local/include/libsw
*
/usr/local/include/
;
\
cp
-nL
/tmp/usr/local/lib/libav
*
.so /tmp/usr/local/lib/libsw
*
.so /usr/local/lib/
;
\
cp
-nL
/tmp/usr/local/lib/libav
*
.so /tmp/usr/local/lib/libsw
*
.so /usr/local/lib/
;
\
cp
-nL
/tmp/usr/local/lib/pkgconfig/libav
*
.pc /tmp/usr/local/lib/pkgconfig/libsw
*
.pc /usr/lib/pkgconfig/
;
\
cp
-nL
/tmp/usr/local/lib/pkgconfig/libav
*
.pc /tmp/usr/local/lib/pkgconfig/libsw
*
.pc /usr/lib/pkgconfig/
;
\
cp
-r
/tmp/usr/local/src/ffmpeg /usr/local/src/
;
\
true
# in case ffmpeg not enabled
true
# in case ffmpeg not enabled
# Copy built artifacts
# Copy built artifacts
...
...
container/Dockerfile.sglang
View file @
e36b7e7a
...
@@ -221,6 +221,7 @@ ENV SCCACHE_BUCKET=${USE_SCCACHE:+${SCCACHE_BUCKET}} \
...
@@ -221,6 +221,7 @@ ENV SCCACHE_BUCKET=${USE_SCCACHE:+${SCCACHE_BUCKET}} \
RUSTC_WRAPPER=${USE_SCCACHE:+sccache}
RUSTC_WRAPPER=${USE_SCCACHE:+sccache}
# Build FFmpeg from source
# Build FFmpeg from source
# Do not delete the source tarball for legal reasons
ARG FFMPEG_VERSION=7.1
ARG FFMPEG_VERSION=7.1
RUN --mount=type=secret,id=aws-key-id,env=AWS_ACCESS_KEY_ID \
RUN --mount=type=secret,id=aws-key-id,env=AWS_ACCESS_KEY_ID \
--mount=type=secret,id=aws-secret-id,env=AWS_SECRET_ACCESS_KEY \
--mount=type=secret,id=aws-secret-id,env=AWS_SECRET_ACCESS_KEY \
...
@@ -238,6 +239,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
...
@@ -238,6 +239,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
cd ffmpeg-${FFMPEG_VERSION} && \
cd ffmpeg-${FFMPEG_VERSION} && \
./configure \
./configure \
--prefix=/usr/local \
--prefix=/usr/local \
--disable-gpl \
--disable-nonfree \
--disable-programs \
--disable-programs \
--disable-doc \
--disable-doc \
--disable-static \
--disable-static \
...
@@ -254,7 +257,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
...
@@ -254,7 +257,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
make install && \
make install && \
/tmp/use-sccache.sh show-stats "FFMPEG" && \
/tmp/use-sccache.sh show-stats "FFMPEG" && \
ldconfig && \
ldconfig && \
rm -rf /tmp/ffmpeg-${FFMPEG_VERSION}*; \
mkdir -p /usr/local/src/ffmpeg && \
mv /tmp/ffmpeg-${FFMPEG_VERSION}* /usr/local/src/ffmpeg/; \
fi
fi
# Build and install UCX
# Build and install UCX
...
@@ -715,6 +719,7 @@ RUN --mount=type=bind,from=wheel_builder,source=/usr/local/,target=/tmp/usr/loca
...
@@ -715,6 +719,7 @@ RUN --mount=type=bind,from=wheel_builder,source=/usr/local/,target=/tmp/usr/loca
cp -rnL /tmp/usr/local/include/libav* /tmp/usr/local/include/libsw* /usr/local/include/; \
cp -rnL /tmp/usr/local/include/libav* /tmp/usr/local/include/libsw* /usr/local/include/; \
cp -nL /tmp/usr/local/lib/libav*.so /tmp/usr/local/lib/libsw*.so /usr/local/lib/; \
cp -nL /tmp/usr/local/lib/libav*.so /tmp/usr/local/lib/libsw*.so /usr/local/lib/; \
cp -nL /tmp/usr/local/lib/pkgconfig/libav*.pc /tmp/usr/local/lib/pkgconfig/libsw*.pc /usr/lib/pkgconfig/; \
cp -nL /tmp/usr/local/lib/pkgconfig/libav*.pc /tmp/usr/local/lib/pkgconfig/libsw*.pc /usr/lib/pkgconfig/; \
cp -r /tmp/usr/local/src/ffmpeg /usr/local/src/; \
true # in case ffmpeg not enabled
true # in case ffmpeg not enabled
# Install Dynamo wheels from dynamo_base wheelhouse
# Install Dynamo wheels from dynamo_base wheelhouse
...
...
container/Dockerfile.trtllm
View file @
e36b7e7a
...
@@ -241,6 +241,7 @@ ENV SCCACHE_BUCKET=${USE_SCCACHE:+${SCCACHE_BUCKET}} \
...
@@ -241,6 +241,7 @@ ENV SCCACHE_BUCKET=${USE_SCCACHE:+${SCCACHE_BUCKET}} \
SCCACHE_REGION=${USE_SCCACHE:+${SCCACHE_REGION}}
SCCACHE_REGION=${USE_SCCACHE:+${SCCACHE_REGION}}
# Build FFmpeg from source
# Build FFmpeg from source
# Do not delete the source tarball for legal reasons
ARG FFMPEG_VERSION=7.1
ARG FFMPEG_VERSION=7.1
RUN --mount=type=secret,id=aws-key-id,env=AWS_ACCESS_KEY_ID \
RUN --mount=type=secret,id=aws-key-id,env=AWS_ACCESS_KEY_ID \
--mount=type=secret,id=aws-secret-id,env=AWS_SECRET_ACCESS_KEY \
--mount=type=secret,id=aws-secret-id,env=AWS_SECRET_ACCESS_KEY \
...
@@ -258,6 +259,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
...
@@ -258,6 +259,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
cd ffmpeg-${FFMPEG_VERSION} && \
cd ffmpeg-${FFMPEG_VERSION} && \
./configure \
./configure \
--prefix=/usr/local \
--prefix=/usr/local \
--disable-gpl \
--disable-nonfree \
--disable-programs \
--disable-programs \
--disable-doc \
--disable-doc \
--disable-static \
--disable-static \
...
@@ -274,7 +277,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
...
@@ -274,7 +277,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
make install && \
make install && \
/tmp/use-sccache.sh show-stats "FFMPEG" && \
/tmp/use-sccache.sh show-stats "FFMPEG" && \
ldconfig && \
ldconfig && \
rm -rf /tmp/ffmpeg-${FFMPEG_VERSION}*; \
mkdir -p /usr/local/src/ffmpeg && \
mv /tmp/ffmpeg-${FFMPEG_VERSION}* /usr/local/src/ffmpeg/; \
fi
fi
# Build and install UCX
# Build and install UCX
...
@@ -716,6 +720,7 @@ RUN --mount=type=bind,from=wheel_builder,source=/usr/local/,target=/tmp/usr/loca
...
@@ -716,6 +720,7 @@ RUN --mount=type=bind,from=wheel_builder,source=/usr/local/,target=/tmp/usr/loca
cp -rnL /tmp/usr/local/include/libav* /tmp/usr/local/include/libsw* /usr/local/include/; \
cp -rnL /tmp/usr/local/include/libav* /tmp/usr/local/include/libsw* /usr/local/include/; \
cp -nL /tmp/usr/local/lib/libav*.so /tmp/usr/local/lib/libsw*.so /usr/local/lib/; \
cp -nL /tmp/usr/local/lib/libav*.so /tmp/usr/local/lib/libsw*.so /usr/local/lib/; \
cp -nL /tmp/usr/local/lib/pkgconfig/libav*.pc /tmp/usr/local/lib/pkgconfig/libsw*.pc /usr/lib/pkgconfig/; \
cp -nL /tmp/usr/local/lib/pkgconfig/libav*.pc /tmp/usr/local/lib/pkgconfig/libsw*.pc /usr/lib/pkgconfig/; \
cp -r /tmp/usr/local/src/ffmpeg /usr/local/src/; \
true # in case ffmpeg not enabled
true # in case ffmpeg not enabled
ENV TENSORRT_LIB_DIR=/usr/local/tensorrt/targets/${ARCH_ALT}-linux-gnu/lib
ENV TENSORRT_LIB_DIR=/usr/local/tensorrt/targets/${ARCH_ALT}-linux-gnu/lib
...
...
container/Dockerfile.vllm
View file @
e36b7e7a
...
@@ -243,6 +243,7 @@ ENV SCCACHE_BUCKET=${USE_SCCACHE:+${SCCACHE_BUCKET}} \
...
@@ -243,6 +243,7 @@ ENV SCCACHE_BUCKET=${USE_SCCACHE:+${SCCACHE_BUCKET}} \
SCCACHE_REGION=${USE_SCCACHE:+${SCCACHE_REGION}}
SCCACHE_REGION=${USE_SCCACHE:+${SCCACHE_REGION}}
# Build FFmpeg from source
# Build FFmpeg from source
# Do not delete the source tarball for legal reasons
ARG FFMPEG_VERSION=7.1
ARG FFMPEG_VERSION=7.1
RUN --mount=type=secret,id=aws-key-id,env=AWS_ACCESS_KEY_ID \
RUN --mount=type=secret,id=aws-key-id,env=AWS_ACCESS_KEY_ID \
--mount=type=secret,id=aws-secret-id,env=AWS_SECRET_ACCESS_KEY \
--mount=type=secret,id=aws-secret-id,env=AWS_SECRET_ACCESS_KEY \
...
@@ -260,6 +261,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
...
@@ -260,6 +261,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
cd ffmpeg-${FFMPEG_VERSION} && \
cd ffmpeg-${FFMPEG_VERSION} && \
./configure \
./configure \
--prefix=/usr/local \
--prefix=/usr/local \
--disable-gpl \
--disable-nonfree \
--disable-programs \
--disable-programs \
--disable-doc \
--disable-doc \
--disable-static \
--disable-static \
...
@@ -276,7 +279,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
...
@@ -276,7 +279,8 @@ if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
make install && \
make install && \
/tmp/use-sccache.sh show-stats "FFMPEG" && \
/tmp/use-sccache.sh show-stats "FFMPEG" && \
ldconfig && \
ldconfig && \
rm -rf /tmp/ffmpeg-${FFMPEG_VERSION}*; \
mkdir -p /usr/local/src/ffmpeg && \
mv /tmp/ffmpeg-${FFMPEG_VERSION}* /usr/local/src/ffmpeg/; \
fi
fi
# Build and install UCX
# Build and install UCX
...
@@ -634,6 +638,7 @@ RUN --mount=type=bind,from=wheel_builder,source=/usr/local/,target=/tmp/usr/loca
...
@@ -634,6 +638,7 @@ RUN --mount=type=bind,from=wheel_builder,source=/usr/local/,target=/tmp/usr/loca
cp -rnL /tmp/usr/local/include/libav* /tmp/usr/local/include/libsw* /usr/local/include/; \
cp -rnL /tmp/usr/local/include/libav* /tmp/usr/local/include/libsw* /usr/local/include/; \
cp -nL /tmp/usr/local/lib/libav*.so /tmp/usr/local/lib/libsw*.so /usr/local/lib/; \
cp -nL /tmp/usr/local/lib/libav*.so /tmp/usr/local/lib/libsw*.so /usr/local/lib/; \
cp -nL /tmp/usr/local/lib/pkgconfig/libav*.pc /tmp/usr/local/lib/pkgconfig/libsw*.pc /usr/lib/pkgconfig/; \
cp -nL /tmp/usr/local/lib/pkgconfig/libav*.pc /tmp/usr/local/lib/pkgconfig/libsw*.pc /usr/lib/pkgconfig/; \
cp -r /tmp/usr/local/src/ffmpeg /usr/local/src/; \
true # in case ffmpeg not enabled
true # in case ffmpeg not enabled
ENV LD_LIBRARY_PATH=\
ENV LD_LIBRARY_PATH=\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment