You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,9 @@ Feel free to copy-paste and run the examples above. More runnable examples are i
56
56
57
57
# Building from source
58
58
**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.
60
62
61
63
Once the dependencies are visible to g++, run:
62
64
```bash
@@ -67,12 +69,13 @@ make vis # to build vis
67
69
To build the tools on Windows:
68
70
69
71
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:
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