引入javaCV依赖

This commit is contained in:
wangliwen 2022-11-22 17:42:21 +08:00
parent b8510a65b8
commit 55af49efa1
1 changed files with 22 additions and 0 deletions

22
pom.xml
View File

@ -26,6 +26,9 @@
<exposed.version>0.40.1</exposed.version>
<sqlite-jdbc.version>3.39.4.0</sqlite-jdbc.version>
<HikariCP.version>4.0.3</HikariCP.version>
<javacv.version>1.5.7</javacv.version>
<system.linux-x86_64>linux-x86_64</system.linux-x86_64>
<ffmpeg.version>5.0</ffmpeg.version>
<main.verticle>com.hisense.dahua_video.MainVerticle</main.verticle>
<launcher.class>io.vertx.core.Launcher</launcher.class>
@ -177,6 +180,25 @@
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<!-- javacv+javacpp核心库-->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacv</artifactId>
<version>${javacv.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp-platform</artifactId>
<version>${javacv.version}</version>
</dependency>
<!-- ffmpeg最小依赖包必须包含上面的javacv+javacpp核心库 -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>ffmpeg</artifactId>
<version>${ffmpeg.version}-${javacv.version}</version>
<classifier>${system.linux-x86_64}</classifier>
</dependency>
</dependencies>
<build>