Created
November 4, 2017 16:33
-
-
Save developius/b08ebdca7a87aacdfd2a6b123a21e814 to your computer and use it in GitHub Desktop.
ffmpeg + opencv dockerfile
This file contains hidden or 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
FROM python:2.7 | |
RUN apt-get update -qy && apt-get install -qy libmp3lame-dev libopenjpeg-dev pkg-config yasm libav-tools libspeex-dev libtheora-dev libvorbis-dev libx264-dev | |
WORKDIR /root | |
RUN wget http://ffmpeg.org/releases/ffmpeg-3.4.tar.bz2 | |
RUN tar xvjf ffmpeg-3.4.tar.bz2 | |
WORKDIR /root/ffmpeg-3.4 | |
RUN ./configure --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame \ | |
--enable-libvorbis --enable-libtheora --enable-libx264 --enable-libspeex --enable-shared --enable-pthreads \ | |
--enable-libopenjpeg --enable-nonfree | |
RUN make | |
RUN make install | |
RUN /sbin/ldconfig | |
WORKDIR /root | |
RUN rm -rf /root/ffmpeg-3.4* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment