mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Removed getffmpeg.sh (reverted from commit 8190a5ccae
)
Added back in our improved bash script for manaully installing ffmpeg with x264 support.
This commit is contained in:
parent
cad690cf97
commit
3c8b858baf
1 changed files with 28 additions and 0 deletions
28
getffmpeg.sh
Executable file
28
getffmpeg.sh
Executable file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/sh
|
||||
|
||||
# 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