Skip to content

Commit 4ed7685

Browse files
author
Clement Champetier
committed
Add INSTALL.md
1 parent 488531f commit 4ed7685

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

INSTALL.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Compilation
2+
3+
AvTranscoder uses CMake as build system.
4+
5+
#### To build
6+
```
7+
mkdir build && cd build
8+
cmake ..
9+
make
10+
make install
11+
```
12+
13+
#### To indicate a specific ffmpeg/libav folder
14+
```
15+
cmake .. -DFFMPEG_INCLUDE_DIR=/path/to/include/ -DFFMPEG_LIBRARY_DIR=/path/to/lib/
16+
```
17+
18+
#### To not build apps
19+
```
20+
cmake .. -DDISABLE_APPS=True
21+
```
22+
23+
#### To not build bindings
24+
```
25+
cmake .. -DDISABLE_BINDINGS=True
26+
```
27+
```
28+
cmake .. -DDISABLE_PYTHON_BINDING=True
29+
```
30+
```
31+
cmake .. -DDISABLE_JAVA_BINDING=True
32+
```
33+
34+
#### Other useful flags
35+
###### To install at a specific location
36+
```
37+
cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/install
38+
```
39+
###### To build Release/Debug version
40+
```
41+
cmake .. -DCMAKE_BUILD_TYPE=Release/Debug
42+
```

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Based on Libav/FFmpeg libraries to support various video and audio formats, avTr
1313
#### License
1414
See [**COPYING.md**](COPYING.md)
1515

16+
#### Compilation
17+
See [**INSTALL.md**](INSTALL.md)
18+
1619
#### How to use
1720
Check out applications contained in the project to see examples of how to use the library in C++, Java or Python.
1821

0 commit comments

Comments
 (0)