Skip to content

Commit

Permalink
ffmpeg shared library
Browse files Browse the repository at this point in the history
  • Loading branch information
sasgas committed Sep 15, 2021
1 parent 8891517 commit e51a79c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ RUN yum install -y \
ADD install_xercesc280.sh /script/
RUN /script/install_xercesc280.sh

ADD install_cmake3211.sh /script/
RUN /script/install_cmake3211.sh
ADD install_cmake3212.sh /script/
RUN /script/install_cmake3212.sh

ADD install_cryptopp850.sh /script/
RUN /script/install_cryptopp850.sh
Expand Down
9 changes: 0 additions & 9 deletions install_cmake3211.sh

This file was deleted.

9 changes: 9 additions & 0 deletions install_cmake3212.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash -e
set -x #echo on
cd ~
wget -nv https://github.com/Kitware/CMake/releases/download/v3.21.2/cmake-3.21.2-linux-x86_64.sh --no-check-certificate
chmod +x cmake-3.21.2-linux-x86_64.sh
./cmake-3.21.2-linux-x86_64.sh --skip-license --prefix=/usr/local
cmake --version
cd ~
rm -rf cmake-*
4 changes: 3 additions & 1 deletion install_ffmpeg44.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ wget -nv --no-check-certificate https://ffmpeg.org/releases/ffmpeg-4.4.tar.bz2
tar xf ffmpeg-4.4.tar.bz2
cd ffmpeg-4.4

./configure --enable-libxml2
./configure --enable-libxml2 --enable-shared
make install -j$(nproc)
echo "/usr/local/lib" >> /etc/ld.so.conf.d/ffmpeg.conf
ldconfig

cd ~
rm -rf ffmpeg-4.4*

0 comments on commit e51a79c

Please sign in to comment.