New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added OpenSSL & various protocol support to FFmpeg backend #229
Changes from 6 commits
a577c57
f2c53bd
77619d3
c746b96
d71b139
bc69c01
991a981
0977132
3dace9e
74d92e0
8fc6035
6f566cd
f621ead
e08dccb
3525469
8aa69b3
af2f0c6
d08a9c9
43704d3
b72fb32
2eb9e03
8e86d77
8d12fd7
4808583
88597ed
399baca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,28 @@ RUN curl -O -L https://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensou | |
ENV QTDIR /opt/Qt4.8.7 | ||
ENV PATH "$QTDIR/bin:$PATH" | ||
|
||
RUN curl -O -L https://cmake.org/files/v3.9/cmake-3.9.0.tar.gz && \ | ||
tar -zxf cmake-3.9.0.tar.gz && \ | ||
cd cmake-3.9.0 && \ | ||
yum -y install curl-devel zlib-devel && \ | ||
./configure --system-curl && \ | ||
make && \ | ||
make install && \ | ||
cd .. && \ | ||
RUN curl -O -L https://cmake.org/files/v3.9/cmake-3.9.0.tar.gz && \ | ||
tar -zxf cmake-3.9.0.tar.gz && \ | ||
cd cmake-3.9.0 && \ | ||
yum -y install curl-devel zlib-devel && \ | ||
./configure --system-curl && \ | ||
make -j4 && \ | ||
make install && \ | ||
cd .. && \ | ||
rm -rf cmake-3.9.0* | ||
|
||
RUN yum install autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ libtool make mercurial pkgconfig zlib-devel -y && \ | ||
yum remove nasm -y && \ | ||
RUN curl -O -L https://www.cpan.org/src/5.0/perl-5.10.1.tar.gz && \ | ||
tar -xzf perl-5.10.1.tar.gz && \ | ||
yum install autoconf automake bzip2 git freetype-devel gcc gcc-c++ libtool make pkgconfig -y && \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There's no need to install Git because manylinux already provides it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But builds were failing on my machine due to the absence of |
||
cd perl-5.10.1 && \ | ||
./Configure -des -Dprefix=$HOME/ffmpeg_build && \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When I fix the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @native-api please see abhiTronix#2 , I have suggested some changes related to this issue. |
||
make -j4 && \ | ||
make install && \ | ||
cd .. && \ | ||
rm -rf perl-5.10.1* && \ | ||
PATH=$HOME/ffmpeg_build/bin:$PATH #otherwise perl not detected at runtime | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No need to add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for this. |
||
|
||
RUN yum remove nasm -y && \ | ||
mkdir ~/ffmpeg_sources && \ | ||
cd ~/ffmpeg_sources && \ | ||
curl -O -L http://www.nasm.us/pub/nasm/releasebuilds/2.13.02/nasm-2.13.02.tar.bz2 && \ | ||
|
@@ -46,11 +56,18 @@ RUN yum install autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ libtool | |
make -j4 && \ | ||
make install && \ | ||
cd ~/ffmpeg_sources && \ | ||
curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_1c.tar.gz && \ | ||
tar -zxvf OpenSSL_1_1_1c.tar.gz && \ | ||
cd openssl-OpenSSL_1_1_1c && \ | ||
./config --prefix="$HOME/ffmpeg_build" --openssldir="$HOME/ffmpeg_build" shared zlib && \ | ||
make -j4 && \ | ||
make install_sw && \ #skip building man-pages | ||
cd ~/ffmpeg_sources && \ | ||
curl -O -L https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 && \ | ||
tar xjvf ffmpeg-snapshot.tar.bz2 && \ | ||
cd ffmpeg && \ | ||
PATH=~/bin:$PATH && \ | ||
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --enable-libvpx --enable-shared --enable-pic --bindir="$HOME/bin" && \ | ||
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --enable-openssl --enable-libvpx --enable-shared --enable-pic --bindir="$HOME/bin" && \ | ||
make -j4 && \ | ||
make install && \ | ||
echo "/root/ffmpeg_build/lib/" >> /etc/ld.so.conf && \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: inconsistent spacing here and further on
abhiTronix#2