Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install ffmpeg under linux

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report