Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macpro使用1.0.6版本,执行代码后targetFile并未创建,日志显示"dyld: Library not loaded" #18

Open
shudao opened this issue Mar 6, 2020 · 2 comments

Comments

@shudao
Copy link

shudao commented Mar 6, 2020

代码:
`
File amrFile = new File("1.amr");
File mp3File = new File("1.mp3");

    try {
        // amr 转 mp3
        AudioUtils.amrToMp3(amrFile, mp3File);

    } catch (Exception e) {
        e.printStackTrace();
    }

`

日志:

[main] INFO it.sauronsoftware.jave.DefaultFFMPEGLocator - ffmpeg.home does not exists, use default bin path: /var/folders/bp/p9t730ts1y734f3r64z1m0jr0000gp/T/jave-1
[main] INFO it.sauronsoftware.jave.FFMPEGExecutor - exec cmd: [/var/folders/bp/p9t730ts1y734f3r64z1m0jr0000gp/T/jave-1/ffmpeg-mac, -i, /Users/dali/temp/1, -vn, -acodec, libmp3lame, -f, wav, -y, /Users/dali/IdeaProjects/demo/1.mp3]
[main] DEBUG it.sauronsoftware.jave.IgnoreErrorEncoder - dyld: Library not loaded: /usr/local/opt/libidn2/lib/libidn2.0.dylib
[main] DEBUG it.sauronsoftware.jave.IgnoreErrorEncoder - Referenced from: /var/folders/bp/p9t730ts1y734f3r64z1m0jr0000gp/T/jave-1/ffmpeg-mac
[main] DEBUG it.sauronsoftware.jave.IgnoreErrorEncoder - Reason: image not found

@dadiyang
Copy link
Owner

dadiyang commented Mar 6, 2020

跑一下我项目里面的单元测试看看能不能通过

@loseyourselfWell
Copy link

我也遇到了,单元测试也不行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants