Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to install ffmpeg under linux

Shulou Source: shulou.com Published: 2022-06-01 19:34:14 10月03日 Update

This article is about how to install ffmpeg under linux. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

1. Install ffmpeg under centos linux 1. Download and extract wget http://www.ffmpeg.org/releases/ffmpeg-3.1.tar.gztar-zxvf ffmpeg-3.1.tar.gz2. Enter the decompressed directory and enter the following command/usr/local/ffmpeg for the installation directory specified by yourself cd ffmpeg-3.1./ configure --prefix=/usr/local/ffmpeg make && make install3, config variables vi /etc/profile Add environment variables at the end of PATH: export PATH=$PATH:/usr/local/ffmpeg/bin Save exit to see if it works source /ect/profile Settings take effect 4, View version ffmpeg -version View Version Note:

If the following errors occur during installation:

yasm/nasm not found or too old. Use -disable-yasm for a crippled build.If you think configure made a mistake, make sure you are using the latestversion from Git. If the latest version fails, report the problem to theffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.Include the log file "config.log" produced by configure as this will helpsolve the problem.

Yasm needs to be installed

wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gztar -zxvf yasm-1.3.0.tar.gzcd yasm-1.3.0./ configure make && make install 2. debian install ffmpeg1. edit/etc/apt/sources.list add deb http://www.deb-multimedia.org jessie main2. install ffmpegsudo apt-get updatesudo apt-get install deb-multimedia-keyringsudo apt-get install ffmpeg thank you for reading! About "how to install ffmpeg under linux" this article is shared here, I hope the above content can have some help for everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!

Tags: Content variables more version catalog article good practical command article environment look knowledge process error reference help related input configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Redmi Shulou Tech Info MariaDB Huawei