ARM aarch64 CentOS 7 安裝 ffmepg

登入root

下載安裝包

wget https://ffmpeg.org//releases/ffmpeg-6.1.tar.gz

解壓縮

tar -zxvf ffmpeg-6.1.tar.gz

編譯

cd ffmpeg-6.1
./configure --target-os=linux --prefix=/usr/local/ffmpeg --arch=arm64
make && make install

設置環境變數

vi /etc/profile

在最後一行加入

export PATH=$PATH:/usr/local/ffmpeg/bin

保存後退出

重新載入 /etc/profile

source /etc/profile

確認版本及安裝

ffmpeg -version

發佈留言

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>