Home  >  Article  >  System Tutorial  >  Installation guide for FFmpeg in Ubuntu environment

Installation guide for FFmpeg in Ubuntu environment

PHPz
PHPzforward
2024-01-02 14:30:111625browse

I recently started doing my graduation project, which is about the design of a video surveillance system under Linux. Now I am starting to configure the Linux environment. In order to facilitate future reference, I will write down my thoughts during the installation. I hope everyone can learn and make progress together!

Before installing ffmpeg, you must first install yasm.

1. Install yasm

The yasm I use is the version yasm-1.2.0.tar.gz

tar xzvf yasm-1.2.0.tar.gz

# cd yasm-1.2.0

#./configure

Note: Do not use prefix to specify the installation path, otherwise there will be endless trouble! Sister, I understand it deeply, really!

#make

#make install

2. Install ffmpeg

The ffmpeg I use is the version ffmpeg-0.10.2.tar.bz2

#tar xvfj ffmpeg-0.10.2.tar.bz2

#cd ffmpeg-0.10.2

#./configure

#make

#make install

At this point, ffmpeg has been installed.

The above is the detailed content of Installation guide for FFmpeg in Ubuntu environment. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete