Page 1 of 1

FFmpeg: Speed up compile and FATE tests

Posted: Sun Aug 30, 2015 11:57 pm
by peter_b
1) FFmpeg build:
By default, FFmpeg compiles/builds using only a single thread.
In order to speed this up, one can run make in parallel mode.

Single threading:

Code: Select all

$ ./configure && make clean && make
Parallel mode:

Code: Select all

$ ./configure && make clean && make -k -j6
"-j" = "-jobs".
"-j6" runs 6 build jobs in parallel.
See: GNU Make Manual: Parallel Execution


2) Run FATE tests:

Code: Select all

$ make -k -j6 fate
The speed-gain is tremendous :D