Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 406de7b

Browse filesBrowse files
committed
copu ffplay
1 parent c236891 commit 406de7b
Copy full SHA for 406de7b

File tree

Expand file treeCollapse file tree

5 files changed

+24
-9
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+24
-9
lines changed

‎Dockerfile

Copy file name to clipboardExpand all lines: Dockerfile
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ RUN apt-get update \
2121
&& apt-get -y install libva-drm2 \
2222
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
2323

24+
# Copy ffmpeg
2425
COPY --from=build /app/workspace/bin/ffmpeg /usr/bin/ffmpeg
2526
COPY --from=build /app/workspace/bin/ffprobe /usr/bin/ffprobe
27+
COPY --from=build /app/workspace/bin/ffplay /usr/bin/ffplay
2628

27-
RUN ldd /usr/bin/ffmpeg ; exit 0
28-
RUN ldd /usr/bin/ffprobe ; exit 0
29+
# Check shared library
30+
RUN ldd /usr/bin/ffmpeg
31+
RUN ldd /usr/bin/ffprobe
32+
RUN ldd /usr/bin/ffplay
2933

3034
CMD ["--help"]
3135
ENTRYPOINT ["/usr/bin/ffmpeg"]

‎cuda-centos.dockerfile

Copy file name to clipboardExpand all lines: cuda-centos.dockerfile
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ COPY --from=build /usr/local/cuda-11.1/targets/x86_64-linux/lib/libnppidei.so.11
3535
# Copy ffmpeg
3636
COPY --from=build /app/workspace/bin/ffmpeg /usr/bin/ffmpeg
3737
COPY --from=build /app/workspace/bin/ffprobe /usr/bin/ffprobe
38+
COPY --from=build /app/workspace/bin/ffplay /usr/bin/ffplay
3839

39-
RUN ldd /usr/bin/ffmpeg ; exit 0
40-
RUN ldd /usr/bin/ffprobe ; exit 0
40+
# Check shared library
41+
RUN ldd /usr/bin/ffmpeg
42+
RUN ldd /usr/bin/ffprobe
43+
RUN ldd /usr/bin/ffplay
4144

4245
CMD ["--help"]
4346
ENTRYPOINT ["/usr/bin/ffmpeg"]

‎cuda-ubuntu.dockerfile

Copy file name to clipboardExpand all lines: cuda-ubuntu.dockerfile
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@ COPY --from=build /usr/local/cuda-11.1/targets/x86_64-linux/lib/libnppidei.so.11
3737
# Copy ffmpeg
3838
COPY --from=build /app/workspace/bin/ffmpeg /usr/bin/ffmpeg
3939
COPY --from=build /app/workspace/bin/ffprobe /usr/bin/ffprobe
40+
COPY --from=build /app/workspace/bin/ffplay /usr/bin/ffplay
4041

41-
RUN ldd /usr/bin/ffmpeg ; exit 0
42-
RUN ldd /usr/bin/ffprobe ; exit 0
42+
# Check shared library
43+
RUN ldd /usr/bin/ffmpeg
44+
RUN ldd /usr/bin/ffprobe
45+
RUN ldd /usr/bin/ffplay
4346

4447
CMD ["--help"]
4548
ENTRYPOINT ["/usr/bin/ffmpeg"]

‎export.dockerfile

Copy file name to clipboardExpand all lines: export.dockerfile
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ COPY --from=ffmpeg:cuda-${DIST} /lib/x86_64-linux-gnu/libnppidei.so.11 /lib/libn
1010

1111
# Copy ffmpeg
1212
COPY --from=ffmpeg:cuda-${DIST} /usr/bin/ffmpeg /bin/ffmpeg
13-
COPY --from=ffmpeg:cuda-${DIST} /usr/bin/ffprobe /bin/ffprobe
13+
COPY --from=ffmpeg:cuda-${DIST} /usr/bin/ffprobe /bin/ffprobe
14+
COPY --from=ffmpeg:cuda-${DIST} /usr/bin/ffplay /bin/ffplay

‎full-static.dockerfile

Copy file name to clipboardExpand all lines: full-static.dockerfile
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,20 @@ COPY ./build-ffmpeg /app/build-ffmpeg
1414

1515
RUN AUTOINSTALL=yes /app/build-ffmpeg --build --full-static
1616

17-
RUN ldd /app/workspace/bin/ffmpeg ; exit 0
18-
RUN ldd /app/workspace/bin/ffprobe ; exit 0
17+
# Check shared library
18+
RUN ! ldd /app/workspace/bin/ffmpeg
19+
RUN ! ldd /app/workspace/bin/ffprobe
20+
RUN ! ldd /app/workspace/bin/ffplay
1921

2022
FROM scratch
2123

2224
ENV NVIDIA_VISIBLE_DEVICES all
2325
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility,video
2426

27+
# Copy ffmpeg
2528
COPY --from=build /app/workspace/bin/ffmpeg /ffmpeg
2629
COPY --from=build /app/workspace/bin/ffprobe /ffprobe
30+
COPY --from=build /app/workspace/bin/ffplay /ffplay
2731

2832
CMD ["--help"]
2933
ENTRYPOINT ["/ffmpeg"]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.