Skip to content

Commit 3dbe734

Browse files
Update README.md
1 parent 0b89708 commit 3dbe734

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 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+
```shell
60+
wigwam init && wigwam install opencv ffmpeg
61+
```
6062

6163
You will probably end up with a shared build, for static build, please feel free to play with Makefile.
6264

@@ -74,8 +76,9 @@ To build the tools on Windows:
7476
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
7577
5. Open VS2015 x64 Native Tools Command Prompt (VS2015 Community Edition will work) and run:
7678

77-
```shell
79+
```shell
7880
nmake mpegflow.exe FFMPEG_DIR=dependencies\ffmpeg-3.0.1-win64-dev\ffmpeg-3.0.1-win64-dev
7981
# nmake vis.exe OPENCV_DIR=dependencies\opencv-3.1.0\opencv\build\x64\vc14
8082
```
83+
8184
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)