mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 05:53:12 -07:00
Build own FFMPEG
This commit is contained in:
parent
44e9142886
commit
8fd2610941
4 changed files with 74 additions and 34 deletions
12
scripts/build-ffmpeg.sh
Executable file
12
scripts/build-ffmpeg.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd $(dirname "${BASH_SOURCE[0]}")/..
|
||||
ROOT="`pwd`"
|
||||
|
||||
TAG=n4.2
|
||||
|
||||
git clone https://git.ffmpeg.org/ffmpeg.git --depth 1 -b $TAG && cd ffmpeg || exit 1
|
||||
|
||||
./configure --disable-all --enable-avcodec --enable-decoder=h264 --prefix="$ROOT/ffmpeg-prefix" || exit 1
|
||||
make -j4 || exit 1
|
||||
make install || exit 1
|
Loading…
Add table
Add a link
Reference in a new issue