-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rc/0.2.21' into stable
# Conflicts: # scripts/packages/tator-py
- Loading branch information
Showing
87 changed files
with
2,802 additions
and
1,363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FROM cvisionai/vpl_encoder:v0.0.1 as builder | ||
ENV LANG C.UTF-8 | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
wget unzip \ | ||
&& rm -rf /var/lib/apt/lists | ||
RUN mkdir -p /opt/cvision | ||
RUN wget http://zebulon.bok.net/Bento4/binaries/Bento4-SDK-1-6-0-632.x86_64-unknown-linux.zip | ||
RUN unzip Bento4-SDK-1-6-0-632.x86_64-unknown-linux.zip | ||
RUN cp Bento4-SDK-1-6-0-632.x86_64-unknown-linux/bin/mp4dump /opt/cvision/bin | ||
RUN cp Bento4-SDK-1-6-0-632.x86_64-unknown-linux/bin/mp4info /opt/cvision/bin | ||
|
||
FROM ubuntu:20.04 AS cvtranscoder | ||
MAINTAINER CVision AI <info@cvisionai.com> | ||
# Install apt packages | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
python3 python3-pip \ | ||
python3-setuptools python3-dev gcc git vim curl unzip wget \ | ||
&& rm -rf /var/lib/apt/lists | ||
COPY --from=builder /opt/cvision /opt/cvision | ||
ENV PATH="/opt/cvision/bin/:$PATH" | ||
RUN echo "/opt/cvision/lib" > /etc/ld.so.conf.d/cvision.conf | ||
RUN ldconfig | ||
|
||
# Install pip packages | ||
RUN pip3 --no-cache-dir --timeout=1000 install wheel | ||
RUN pip3 --no-cache-dir --timeout=1000 install pillow==9.0.0 imageio==2.14.0 progressbar2==4.0.0 boto3==1.20.41 pandas==1.4.0 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends fastjar libsm6 libxext6 \ | ||
libxrender-dev libx265-179 libx264-155 \ | ||
libpng16-16 libfreetype6 python3-opencv \ | ||
libx265-179 libx264-155 libx11-6 libxext6 libxfixes3 \ | ||
libxcb1 libxcb-shm0 libxcb-shape0 libxcb-xfixes0 \ | ||
libwayland-client0 libaom0 && rm -rf /var/lib/apt/lists | ||
|
||
# Copy over scripts | ||
COPY scripts/transcoder /scripts | ||
COPY scripts/packages/tator-py/dist/*.whl /tmp | ||
|
||
# Build tator-py | ||
RUN pip3 install tmp/*.whl | ||
|
||
WORKDIR /scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.