Skip to content

Install ffmpeg native library

Naohide Sano edited this page Sep 26, 2022 · 1 revision

Install ffmpeg native library

add bellow into your pom.xml

      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.10</version>
        <executions>
          <execution>
            <id>copy</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>vavi</groupId>
                  <artifactId>vavi-image-ffmpeg</artifactId>
                  <version>1.0.9</version>
                  <type>dylib</type>
                  <overWrite>false</overWrite>
                  <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
                  <destFileName>libFfmpegResampleOpWrapper.dylib</destFileName>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
        </executions>
      </plugin>
Clone this wiki locally