forked from heshanlk/FFMPEG-install-script-for-shared-host
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.sh
executable file
·75 lines (55 loc) · 876 Bytes
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
#Shared Host FFMPEG installation script
RED='\033[01;31m'
RESET='\033[0m'
export PATH=$HOME/bin:$PATH
export LD_LIBRARY_PATH=$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=$HOME/lib:/usr/local/lib:$LIBRARY_PATH
export CPATH=$HOME/include:/usr/local/include:$CPATH
export TMPDIR=$HOME/tmp
#presetup
sh presetup.sh
#libpng
sh libpng.sh
#libjpeg
sh libjpeg.sh
#lame
sh lame.sh
#codecs
sh codecs.sh
#libogg
sh libogg.sh
#libvorbis
sh libvorbis.sh
#vorbis-tools
sh vorbis-tools.sh
#libtheora
sh libtheora.sh
#amrnb
sh amrnb.sh
#amrwd
sh amrwb.sh
#facc
sh facc.sh
#faad2
sh faad2.sh
#libvpx
sh libvpx.sh
#yasm
sh yasm.sh
#x264
sh x264.sh
#ffmpeg
sh ffmpeg.sh
if [ -e "$HOME/bin/ffmpeg" ]; then
echo " "
else
echo " "
echo " "
echo -e $RED" FFMPEG installation Failed :( "$RESET
echo " "
echo " "
exit
fi
#postinstall
sh post.sh