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-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Both plugin and sample can be built using CMake and any recent C/C++ compiler (g
14
14
### ● FFmpeg plugin
15
15
To build the plugin, go to the source directory and create a build directory where CMake configuration will be performed.
16
16
17
-
On Windows, you must defined FFMPEG_ROOT. This variable contains the path to the FFMpeg libraries and header files.
17
+
On Windows, you must defined `FFMPEG_ROOT`. This variable contains the path to the FFmpeg libraries and header files.
18
18
19
19
```
20
20
mkdir build
@@ -24,6 +24,13 @@ cmake .. \
24
24
-DCMAKE_INSTALL_PREFIX=<plugin install path>
25
25
```
26
26
27
+
On Linux, do not forget to specify `CMAKE_BUILD_TYPE` or the install will fail. If FFmpeg was installed using the system package manager, there is no need to specify `FFMPEG_ROOT`.
28
+
```
29
+
cmake .. \
30
+
-DCMAKE_BUILD_TYPE=Release \
31
+
-DCMAKE_INSTALL_PREFIX=<plugin install path>
32
+
```
33
+
27
34
### ● Test program
28
35
The sample program requires Harfang C++ SDK, Asset compiler (assetc) and the FFmpeg plugin (or any video stream plugin).
0 commit comments