forked from cap-ntu/Morph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependencies.sh
63 lines (52 loc) · 1.93 KB
/
dependencies.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
58
59
60
61
62
63
echo "Installing mp4box"
wget -O mp4box.tar.gz https://github.com/gpac/gpac/archive/v0.7.1.tar.gz
tar -zxvf mp4box.tar.gz
cd gpac-0.7.1
./configure --static-mp4box --use-zlib=no
make -j4
sudo make install
echo "Installing handbrake"
sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo apt-get update
sudo apt-get install handbrake-cli
##compile handbrak from the source
#sudo apt-get install bzr subversion yasm build-essential \
#autoconf libtool zlib1g-dev libbz2-dev libfribidi-dev \
#intltool libglib2.0-dev libdbus-glib-1-dev libgtk2.0-dev \
#libgudev-1.0-dev libwebkit-dev libnotify-dev \
#libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
#bzr branch lp:handbrake
#cd handbrake
#./configure
#cd ./build
#sudo make
#sudo make install
echo "Installing ffmpeg"
sudo apt-get install ffmpeg
##compile ffmpeg from the source
#sudo apt-get install build-essential libmp3lame-dev libvorbis-dev libtheora-dev libspeex-dev yasm pkg-config libfaac-dev libopenjpeg-dev libx264-dev libvpx-dev
#mkdir software
#cd software
#wget http://ffmpeg.org/releases/ffmpeg-3.4.tar.bz2
#cd ..
#mkdir src
#cd src
#tar xvjf ../software/ffmpeg-3.4.tar.bz2
#cd ffmpeg-3.4
#./configure --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libspeex --enable-shared --enable-pthreads --enable-libopenjpeg --enable-libfaac --enable-nonfree --enable-libvpx
#sudo make -j 2
#sudo make install
#sudo ldconfig
echo "Installation is now complete and ffmpeg (also ffprobe, ffserver, lame, and x264) should now be ready to use"
echo "Insatlling numpy"
sudo pip install numpy
echo "Installing pycurl"
sudo apt-get install python-pycurl
echo "Installing mysql"
sudo apt-get install mysql-server
sudo apt-get install mysql-client
sudo apt-get install python-dev libmysqlclient-dev
echo "Installing mysqldb"
sudo apt-get install python-mysqldb
##If dependency errors
#sudo apt-get -f install