Fixing issue with youtube-dl and ffmpeg
This commit is contained in:
parent
0f96078a36
commit
03dbb36361
|
@ -1,14 +1,12 @@
|
||||||
machine:
|
machine:
|
||||||
environment:
|
environment:
|
||||||
PATH: $PATH:$HOME/bin/
|
PATH: $HOME/bin/:$PATH
|
||||||
LD_RUN_PATH: $LD_RUN_PATH:$HOME/opus/lib
|
LD_RUN_PATH: $LD_RUN_PATH:$HOME/opus/lib
|
||||||
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$HOME/opus/lib
|
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$HOME/opus/lib
|
||||||
PKG_CONFIG_PATH: $PKG_CONFIG_PATH:$HOME/opus/lib/pkgconfig
|
PKG_CONFIG_PATH: $PKG_CONFIG_PATH:$HOME/opus/lib/pkgconfig
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
pre:
|
pre:
|
||||||
- sudo apt-get -qq update
|
|
||||||
- sudo apt-get -qqy install ffmpeg
|
|
||||||
- bash install-dependencies.sh
|
- bash install-dependencies.sh
|
||||||
|
|
||||||
override:
|
override:
|
||||||
|
|
|
@ -2,15 +2,15 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# check to see if ffmpeg is installed
|
# check to see if ffmpeg is installed
|
||||||
#if [ ! -f "$HOME/bin/ffmpeg" ]; then
|
if [ ! -f "$HOME/bin/ffmpeg" ]; then
|
||||||
# echo 'Installing ffmpeg'
|
echo 'Installing ffmpeg'
|
||||||
# wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz -O /tmp/ffmpeg.tar.xz
|
wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz -O /tmp/ffmpeg.tar.xz
|
||||||
# tar -xvf /tmp/ffmpeg.tar.xz --strip 1 --no-anchored ffmpeg ffprobe
|
tar -xvf /tmp/ffmpeg.tar.xz --strip 1 --no-anchored ffmpeg ffprobe
|
||||||
# chmod a+rx ffmpeg ffprobe
|
chmod a+rx ffmpeg ffprobe
|
||||||
# mv ff* ~/bin
|
mv ff* ~/bin
|
||||||
#else
|
else
|
||||||
# echo 'Using cached version of ffmpeg.';
|
echo 'Using cached version of ffmpeg.';
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
# check to see if opus is installed
|
# check to see if opus is installed
|
||||||
if [ ! -d "$HOME/opus/lib" ]; then
|
if [ ! -d "$HOME/opus/lib" ]; then
|
||||||
|
|
Reference in a new issue