mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 13:53:15 -07:00
Added in a ffmpeg auto-installer function to our Transcoder class
This commit is contained in:
parent
c691cd6c6d
commit
0f08619ac5
8 changed files with 257 additions and 153 deletions
31
getffmpeg.sh
31
getffmpeg.sh
|
@ -1,11 +1,28 @@
|
|||
#!/bin/sh
|
||||
#!/bin/sh
|
||||
|
||||
git clone https://github.com/FFmpeg/FFmpeg.git
|
||||
|
||||
cd FFmpeg
|
||||
|
||||
./configure --disable-yasm
|
||||
# get ffmpeg/yasm/x264
|
||||
git clone git://source.ffmpeg.org/ffmpeg.git FFmpeg
|
||||
git clone git://github.com/yasm/yasm.git FFmpeg/yasm
|
||||
git clone git://git.videolan.org/x264.git FFmpeg/x264
|
||||
|
||||
# compile/install yasm
|
||||
cd FFmpeg/yasm
|
||||
./autogen.sh
|
||||
./configure
|
||||
make
|
||||
|
||||
make install
|
||||
cd -
|
||||
|
||||
# compile/install x264
|
||||
cd FFmpeg/x264
|
||||
./configure --enable-static --enable-shared
|
||||
make
|
||||
make install
|
||||
ldconfig
|
||||
cd -
|
||||
|
||||
# compile/install ffmpeg
|
||||
cd FFmpeg
|
||||
./configure --disable-asm --enable-libx264 --enable-gpl
|
||||
make install
|
||||
cd -
|
Loading…
Add table
Add a link
Reference in a new issue