This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
howto:linux:install:centos [2012/09/02 18:44] rumbles [9. Rebuild ffmpeg] typo |
howto:linux:install:centos [2012/09/02 19:17] will |
||
---|---|---|---|
Line 5: | Line 5: | ||
==== Prerequisites ==== | ==== Prerequisites ==== | ||
* Java< | * Java< | ||
- | * Ffmpeg< | ||
==== 1.Download Serviio ==== | ==== 1.Download Serviio ==== | ||
< | < | ||
Line 128: | Line 127: | ||
iptables -A INPUT -p tcp --dport 8895 -j ACCEPT -m comment --comment " | iptables -A INPUT -p tcp --dport 8895 -j ACCEPT -m comment --comment " | ||
iptables -A INPUT -p tcp --dport 23423 -j ACCEPT -m comment --comment " | iptables -A INPUT -p tcp --dport 23423 -j ACCEPT -m comment --comment " | ||
+ | iptables -A INPUT -p tcp --dport 23424 -j ACCEPT -m comment --comment " | ||
</ | </ | ||
==== 9. Rebuild ffmpeg ==== | ==== 9. Rebuild ffmpeg ==== | ||
Line 138: | Line 138: | ||
libxvidcore-devel | libxvidcore-devel | ||
- | * x264< | + | * x264 (optional)< |
mkdir src | mkdir src | ||
cd src | cd src | ||
Line 147: | Line 147: | ||
make install</ | make install</ | ||
- | * Libvpx< | + | * Libvpx< |
git clone http:// | git clone http:// | ||
cd libvpx | cd libvpx | ||
Line 157: | Line 157: | ||
cd rtmpdump | cd rtmpdump | ||
make SYS=posix</ | make SYS=posix</ | ||
+ | |||
+ | Some of the above libraries are optional, if you don't build them, remember to remove the equivilant --enable-libXXX from ./configure below. | ||
* ffmpeg< | * ffmpeg< | ||
Line 169: | Line 171: | ||
make install</ | make install</ | ||
- | * Add the ffmpeg location to / | + | * Add the ffmpeg location to / |
< | < | ||
JAVA_OPTS=" | JAVA_OPTS=" |