How to install YASM 1.2.0 and compile FFMPEG library on mac?

5

3

I am trying with FFMpeg for this i need to compile FFMPEG library.To compile FFMPEG Library i need to install YASM 1.2.0.But i don't know any command ?

Thanks in advance?

Anurag Sharma

Posted 2014-11-24T11:20:48.590

Reputation:

Answers

13

  1. Download yasm source code from http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
  2. Unpack tar xvzf yasm-1.2.0.tar.gz
  3. cd yasm-1.2.0
  4. Configure and build:

    ./configure && make -j 4 && sudo make install

pogorskiy

Posted 2014-11-24T11:20:48.590

Reputation: 231

what "make -j 4" does? – sekmo – 2015-02-19T10:46:56.213

@sekmo see https://www.gnu.org/software/make/manual/html_node/Parallel.html

– pogorskiy – 2015-02-19T10:48:52.963

0

You can use Homebrew on Mac:

brew install yasm
brew install ffmpeg

http://brewformulas.org/Yasm
http://brewformulas.org/Ffmpeg

Makes installing a breeze.

Jan Werkhoven

Posted 2014-11-24T11:20:48.590

Reputation: 111