summaryrefslogtreecommitdiff
path: root/COMPILE.TXT
blob: 03526d5c2245db8da173098993eb21e3ff0b92cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
=== Compiling ===

In order to build winff you need the Free Pascal IDE called lazarus [1]. Actually,
you only need lazbuild (which is part of lazarus) and fpc [2], which is needed by
lazbuild. We don't know how new you need these programs, but with fpc older than
2.4.4 we have had issues. Maybe also some code needs lazarus to be not too old.

Currently we have compiled winff with the following versions:
fpc 2.4.4
lazarus 0.9.30

winff is compiled with "lazbuild -B winff.lpr" or manually in the Lazarus IDE.

[1] http://lazarus.freepascal.org/
[2] http://freepascal.org/


=== ffmpeg/libav ===

In order to USE winff, you need a working ffmpeg [3] or avconv [4]. But because
the interface to these programs change a lot, you need to check which version
of the presets.xml file you need. The presets files are updated per libavcodec
library. Currently we ship the presets file for ffmpeg/avconv that use libavcodec
version 53, but we already have higher versions available on the winff website.

How to check which version you have?
Run ffmpeg or avconv in a command prompt with the -version option. An example is
given below. Identify the line that says libavcodec and look for the first number.
This is the version that you need to get your presets for.

Example:
paul@wollumbin ~ $ avconv -version
avconv version 9_beta1-6:9~beta1-1, Copyright (c) 2000-2012 the Libav developers
  built on Oct 16 2012 20:18:50 with gcc 4.7 (Debian 4.7.2-4)
avconv 9_beta1-6:9~beta1-1
libavutil     51. 42. 0 / 51. 42. 0
libavcodec    54. 31. 0 / 54. 31. 0        <------- THIS LINE
libavformat   54. 18. 0 / 54. 18. 0
libavdevice   53.  2. 0 / 53.  2. 0
libavfilter    3.  1. 0 /  3.  1. 0
libavresample  1.  0. 0 /  1.  0. 0
libswscale     2.  1. 1 /  2.  1. 1

[3] http://ffmpeg.org/
[4] http://libav.org/