FFMPEG找不到 [英] FFMPEG Not found

查看:991
本文介绍了FFMPEG找不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 jave api 编写Java代码,但是底层代码对于api使用ffmpeg,根据要求,我已将ffmpeg保存在C:\ ffmpeg中,并将ffmpeg.exe的路径添加到Windows上的环境变量中.但是我遇到了这个错误

I am writing a java code using jave api, but the underlying code for api uses ffmpeg, as per requirement I have saved ffmpeg in C:\ffmpeg and added the path of ffmpeg.exe to environment variables on Windows. But I am getting this error

it.sauronsoftware.jave.DefaultFFMPEGLocator copyFile
SEVERE: Could not get native library for ffmpeg-x86.exe

我在Google上进行了搜索,但找不到任何解决方案.

I searched on google but unable to find any solution.

推荐答案

您正尝试使用DefaultFFMpegLocator.尝试以下方法:

You were attempting to use the DefaultFFMpegLocator. Try this instead:

来自Jave文档:

JAVE为您提供了一个名为it.sauronsoftware.jave.FFMPEGLocator的抽象类.扩展它.您所要做的就是定义以下方法:

公共java.lang.String getFFMPEGExecutablePath()

此方法应返回基于文件系统的路径到您的自定义ffmpeg可执行文件.

这篇关于FFMPEG找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆