Skip to content

Commit 0b89708

Browse files
Update README.md
1 parent 21a2175 commit 0b89708

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ Feel free to copy-paste and run the examples above. More runnable examples are i
5656

5757
# Building from source
5858
**mpegflow** depends only on a recent FFmpeg, **vis** depends on FFmpeg, OpenCV and libpng. The tools are known to work with FFmpeg 3.1 and OpenCV 3.1. You may use [wigwam](http://wigwam.in) to install them to a local directory (no root required):
59-
```wigwam init && wigwam install opencv ffmpeg```
59+
```wigwam init && wigwam install opencv ffmpeg```
60+
61+
You will probably end up with a shared build, for static build, please feel free to play with Makefile.
6062

6163
Once the dependencies are visible to g++, run:
6264
```bash
@@ -67,12 +69,13 @@ make vis # to build vis
6769
To build the tools on Windows:
6870

6971
1. Install 7zip
70-
2. Extract these FFmpeg builds to the dependencies directory using 7zip (for mpegflow and vis): https://ffmpeg.zeranoe.com/builds/win64/dev/ffmpeg-3.0.1-win64-dev.7z and https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-3.0.1-win64-shared.7z
71-
3. Extract this OpenCV build to the dependencies directory using 7zip (for vis): https://github.com/opencv/opencv/releases/download/3.1.0/opencv-3.1.0.exe
72-
4. Open VS2015 x64 Native Tools Command Prompt (VS2015 Community Edition will work) and run:
72+
2. Create directory `dependencies`
73+
3. Extract these FFmpeg builds to the `dependencies` directory using 7zip (for mpegflow and vis): https://ffmpeg.zeranoe.com/builds/win64/dev/ffmpeg-3.0.1-win64-dev.7z and https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-3.0.1-win64-shared.7z
74+
4. Extract this OpenCV build to the `dependencies` directory using 7zip (for vis): https://github.com/opencv/opencv/releases/download/3.1.0/opencv-3.1.0.exe
75+
5. Open VS2015 x64 Native Tools Command Prompt (VS2015 Community Edition will work) and run:
7376

7477
```shell
7578
nmake mpegflow.exe FFMPEG_DIR=dependencies\ffmpeg-3.0.1-win64-dev\ffmpeg-3.0.1-win64-dev
7679
# nmake vis.exe OPENCV_DIR=dependencies\opencv-3.1.0\opencv\build\x64\vc14
7780
```
78-
5. The Windows build is not fully static. You need to keep `avutil-54.dll`, `avformat-56.dll`, `avcodec-56.dll`, `swresample-2.dll` (for **mpegflow**) and `opencv_world310.dll` (for **vis**) in the same directory as the binary. Note that the instructions and the Makefile assume x64 machine architecture.
81+
6. The Windows build is not fully static. You need to keep `avutil-54.dll`, `avformat-56.dll`, `avcodec-56.dll`, `swresample-2.dll` (for **mpegflow**) and `opencv_world310.dll` (for **vis**) in the same directory as the binary. Note that the instructions and the Makefile assume x64 machine architecture.

0 commit comments

Comments
 (0)