Closed seaLordsLiu closed 2 years ago
Eglish please
courtesy translation of the original question: title: Is aarch64 supported? content: My server is aarch64-based. When using this, it shows an error about missing ffmep-aarch64 I assume ffmep-aarch64 is a misspelling of ffmpeg-aarch64.
Is your 'server' a Apple M1-based MacBook Pro? If so, it is not yet supported. You can try install a x86 architecture JDK and use Rosetta2.
If your server is a linux arm64 server, you need to include jave-nativebin-linux-arm64
as your dependency.
In the 3.3.0-SNAPSHOT version we have a jave-nativebin-osxm1 which supports the M1 chip
When does the 3.3.0-snapshot come out?
I'm getting similar errors on my 2022 M1 MAX macbook pro. The same code works just fine on my old 2014 mac book pro. The errors look like:
Exception in thread "main" ws.schild.jave.EncoderException: java.io.IOException: Cannot run program "/var/folders/t3/d0344lf14fs00nhhb6rphvfc0000gn/T/jave/ffmpeg-aarch64-3.2.0-osx": error=2, No such file or directory at ws.schild.jave.Encoder.encode(Encoder.java:508) at ws.schild.jave.Encoder.encode(Encoder.java:351) at ws.schild.jave.Encoder.encode(Encoder.java:318) at dr_slurp.MyceliumFidelity.Video.VideoSplitter.split(VideoSplitter.java:46) at dr_slurp.MyceliumFidelity.MyFiTester.main(MyFiTester.java:19)
Thanks for the help.
Similar Story here with jave-all-deps
:
ERROR [main] w.s.j.p.f.DefaultFFMPEGLocator: Could not find ffmpeg platform executable in resources for <ws/schild/jave/nativebin/ffmpeg-aarch64-osx>
ERROR [main] w.s.j.p.f.DefaultFFMPEGLocator: ffmpeg executable NOT found: /var/folders/vw/xqbw628j2sggf3y98370qhb80000gn/T/jave/ffmpeg-aarch64-3.2.0-osx
The release 3.3.0 is therefore highly anticipated :-)
I updated jave-all-deps
to the newly released version 3.3.0
, but unfortunately I still get the same error. I suspect a naming mismatch between the package name (osxm1
) and the name the DefaultFFMPEGLocator
is looking for (ffmpeg-aarch64-3.3.0-osx
).
Damn. So close but so far. Soon....
Can you please try with the 3.3.1-SNAPSHOT release of the jave-nativebin-osxm1 (Instead of the jave-all-deps) The ffmpeg filed had an underline in the name, instead of the -
Is the the SNAPSHOT published? I tried to include the following, but maven is unable to resolve it:
<dependency>
<groupId>ws.schild</groupId>
<artifactId>jave-nativebin-osxm1</artifactId>
<version>3.3.1-SNAPSHOT</version>
</dependency>
Have you added the snapshot respository to your pom.xml file?
<repositories>
<repository>
<id>oss.sonatype.org-snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
@a-schild thanks for the hint. With the correct configuration I was able to download the SNAPSHOT. For me this version works like a charm on a M1 macbook.
Fixed with release 3.3.1
我的服务器是aarch64的,在使用过程中提示错误信息,ffmep-aarch64缺失。