Move encoders and ffmpeg to separate scripts
This commit is contained in:
16
build/scripts/ffmpeg.sh
Normal file
16
build/scripts/ffmpeg.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
source /build/config
|
||||
set -x
|
||||
|
||||
## Environment
|
||||
export_env FFMPEG_VERSION 2.8.6
|
||||
|
||||
## FFmpeg
|
||||
cd /opt
|
||||
wget https://github.com/xbmc/FFmpeg/archive/$FFMPEG_VERSION-Jarvis-16.0.tar.gz
|
||||
tar xvjf ffmpeg-$FFMPEG_VERSION.tar.bz2
|
||||
cd ffmpeg-$FFMPEG_VERSION
|
||||
./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
|
||||
make $JOBS
|
||||
make install
|
||||
Reference in New Issue
Block a user