mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2024-11-13 17:10:09 -08:00
48154d0c3c
* Update URL for x264 #1860 * Use Ubuntu-latest in Pipelines (16.04 image removed from Pipelines)
29 lines
517 B
Bash
Executable File
29 lines
517 B
Bash
Executable File
#!/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 https://code.videolan.org/videolan/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 -
|