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 4069858 commit f93a91c
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 @@ -51,8 +51,8 @@ ADD install_devtoolset9.sh /script/
RUN /script/install_devtoolset9.sh
SHELL [ "scl", "enable", "devtoolset-9" ]

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

ADD install_libbacktrace.sh /script/
RUN /script/install_libbacktrace.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.el6.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 f93a91c

Please sign in to comment.