-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathffmpeg_install.bash
More file actions
executable file
·47 lines (45 loc) · 944 Bytes
/
Copy pathffmpeg_install.bash
File metadata and controls
executable file
·47 lines (45 loc) · 944 Bytes
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
#!/bin/bash
function ffmpeg_install
{
local CURDIR=`pwd`
git clone git://source.ffmpeg.org/ffmpeg.git /tmp/ffmpeg
cd /tmp/ffmpeg
./configure\
--arch=x86_32\
--cc='gcc -m32'\
--logfile=ffmpeg.log\
--prefix="${HOME}/ffmpeg"\
--extra-version="Built-by-Tim"\
--disable-ffplay\
--disable-ffprobe\
--disable-ffserver\
--disable-doc\
--disable-htmlpages\
--disable-manpages\
--disable-podpages\
--disable-txtpages\
--enable-gpl\
--enable-nonfree\
--enable-libx264\
--enable-libfreetype\
--enable-libass\
--enable-libmp3lame\
--enable-libopenjpeg\
--enable-libschroedinger\
--enable-libtheora\
--enable-libvorbis\
--enable-libvpx\
--enable-zlib\
--enable-libxvid\
--enable-bzlib\
--enable-libfdk-aac
if [ $? -ne 0 ]; then
echo "Configuration failed. Exiting..."
return 1
fi
make
make install
cd "$CURDIR"
return 0
}
ffmpeg_install