17 lines
345 B
Bash
17 lines
345 B
Bash
|
export ffmpegPath=$workDir/ffmpeg
|
||
|
|
||
|
git clone https://github.com/FFmpeg/FFmpeg $ffmpegPath
|
||
|
|
||
|
cd $ffmpegPath
|
||
|
|
||
|
make distclean
|
||
|
|
||
|
./configure --disable-gpl --disable-nonfree --disable-doc --disable-network \
|
||
|
--disable-ffprobe --disable-ffplay --enable-static --disable-shared \
|
||
|
--enable-libopenh264 \
|
||
|
--prefix=$PREFIX
|
||
|
|
||
|
make -j
|
||
|
|
||
|
cp ffmpeg $outDir
|