Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Ref #55
  • Loading branch information
h4tr3d committed Aug 6, 2019
1 parent a1fef2a commit 7da2645
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Note 2: Debian Wheezy repo contains only FFmpeg 1.0.8. I tested building only wi
### Ubuntu and Linux Mint

You should add [ffmpeg-3](https://launchpad.net/~jonathonf/+archive/ubuntu/ffmpeg-3) PPA:

```
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y
sudo add-apt-repository ppa:jonathonf/tesseract -y
Expand All @@ -60,18 +61,23 @@ sudo apt install libavcodec-dev \
libswscale-dev
```

Also, you can use [ffmpeg-4](https://launchpad.net/~jonathonf/+archive/ubuntu/ffmpeg-4) PPA if needed. Instruction mostly same. Just change PPA name.

Build
-----

```
git clone https://github.com/h4tr3d/avcpp.git avcpp-git
git clone --recurse-submodules https://github.com/h4tr3d/avcpp.git avcpp-git
cd avcpp-git
mkdir build
cd build
cmake ..
make -j8
```

If your Git version so old (refer to the [SO for clarification](https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules)) you can just
replace `--recurse-submodules` with pair of `git submodule init && git submodule update`.

If FFmpeg located in non-standard place:
```
cmake -DPC_FFMPEG_LIBRARY_DIRS=<some_path> -DPC_FFMPEG_INCLUDE_DIRS=<some_path> ..
Expand Down

0 comments on commit 7da2645

Please sign in to comment.