FFmpeg: Speed up compile and FATE tests

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

FFmpeg: Speed up compile and FATE tests

Post 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
Post Reply