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

Loading library /opt/homebrew/Cellar/ffmpeg/5.1.2_1/lib/libavutil.57.28.100.dylib failed #502

Open
lbnb opened this issue Dec 28, 2022 · 5 comments
Labels

Comments

@lbnb
Copy link

lbnb commented Dec 28, 2022

Hello ,when I try to specify custom ffmpeg libraries to use, Yuview show me

The selected file does not appear to be a usable ffmpeg avFormat library.
We have collected a more detailed log. Do you want to save it to disk?

and the error log is

Checking versions avutil 57, swresample 4, avcodec 59, avformat 59
Unloading all loaded libraries
Checking versions avutil 56, swresample 3, avcodec 58, avformat 58
Unloading all loaded libraries
Loading library /opt/homebrew/Cellar/ffmpeg/5.1.2_1/lib/libavutil.57.28.100.dylib failed
Unloading all loaded libraries
Checking versions avutil 55, swresample 2, avcodec 57, avformat 57
Unloading all loaded libraries
Loading library /opt/homebrew/Cellar/ffmpeg/5.1.2_1/lib/libavutil.57.28.100.dylib failed
Unloading all loaded libraries
Checking versions avutil 54, swresample 1, avcodec 56, avformat 56
Unloading all loaded libraries
Loading library /opt/homebrew/Cellar/ffmpeg/5.1.2_1/lib/libavutil.57.28.100.dylib failed
Unloading all loaded libraries
Unloading all loaded libraries

and Mac OS version is 12.5.1

and my ffmpeg is
➜ [/opt/homebrew/Cellar/ffmpeg/5.1.2_1/lib] git:(stable) ls -la
total 79416
drwxrwxrwx 35 liangbin admin 1120 12 28 13:56 .
drwxr-xr-x 16 liangbin admin 512 12 28 13:57 ..
-r--r--r-- 1 liangbin admin 9872656 12 28 13:56 libavcodec.59.37.100.dylib
lrwxr-xr-x 1 liangbin admin 26 12 28 13:56 libavcodec.59.dylib -> libavcodec.59.37.100.dylib
-r--r--r-- 1 liangbin admin 13485600 12 28 13:56 libavcodec.a
lrwxr-xr-x 1 liangbin admin 26 12 28 13:56 libavcodec.dylib -> libavcodec.59.37.100.dylib
-r--r--r-- 1 liangbin admin 184928 12 28 13:56 libavdevice.59.7.100.dylib
lrwxr-xr-x 1 liangbin admin 26 12 28 13:56 libavdevice.59.dylib -> libavdevice.59.7.100.dylib
-r--r--r-- 1 liangbin admin 78728 12 28 13:56 libavdevice.a
lrwxr-xr-x 1 liangbin admin 26 12 28 13:56 libavdevice.dylib -> libavdevice.59.7.100.dylib
-r--r--r-- 1 liangbin admin 3007808 12 28 13:56 libavfilter.8.44.100.dylib
lrwxr-xr-x 1 liangbin admin 26 12 28 13:56 libavfilter.8.dylib -> libavfilter.8.44.100.dylib
-r--r--r-- 1 liangbin admin 4941144 12 28 13:56 libavfilter.a
lrwxr-xr-x 1 liangbin admin 26 12 28 13:56 libavfilter.dylib -> libavfilter.8.44.100.dylib
-r--r--r-- 1 liangbin admin 2206992 12 28 13:56 libavformat.59.27.100.dylib
lrwxr-xr-x 1 liangbin admin 27 12 28 13:56 libavformat.59.dylib -> libavformat.59.27.100.dylib
-r--r--r-- 1 liangbin admin 3991784 12 28 13:56 libavformat.a
lrwxr-xr-x 1 liangbin admin 27 12 28 13:56 libavformat.dylib -> libavformat.59.27.100.dylib
-r--r--r-- 1 liangbin admin 525696 12 28 13:56 libavutil.57.28.100.dylib
lrwxr-xr-x 1 liangbin admin 25 12 28 13:56 libavutil.57.dylib -> libavutil.57.28.100.dylib
-r--r--r-- 1 liangbin admin 737080 12 28 13:56 libavutil.a
lrwxr-xr-x 1 liangbin admin 25 12 28 13:56 libavutil.dylib -> libavutil.57.28.100.dylib
-r--r--r-- 1 liangbin admin 85872 12 28 13:56 libpostproc.56.6.100.dylib
lrwxr-xr-x 1 liangbin admin 26 12 28 13:56 libpostproc.56.dylib -> libpostproc.56.6.100.dylib
-r--r--r-- 1 liangbin admin 32064 12 28 13:56 libpostproc.a
lrwxr-xr-x 1 liangbin admin 26 12 28 13:56 libpostproc.dylib -> libpostproc.56.6.100.dylib
-r--r--r-- 1 liangbin admin 122240 12 28 13:56 libswresample.4.7.100.dylib
lrwxr-xr-x 1 liangbin admin 27 12 28 13:56 libswresample.4.dylib -> libswresample.4.7.100.dylib
-r--r--r-- 1 liangbin admin 122360 12 28 13:56 libswresample.a
lrwxr-xr-x 1 liangbin admin 27 12 28 13:56 libswresample.dylib -> libswresample.4.7.100.dylib
-r--r--r-- 1 liangbin admin 503648 12 28 13:56 libswscale.6.7.100.dylib
lrwxr-xr-x 1 liangbin admin 24 12 28 13:56 libswscale.6.dylib -> libswscale.6.7.100.dylib
-r--r--r-- 1 liangbin admin 735632 12 28 13:56 libswscale.a
lrwxr-xr-x 1 liangbin admin 24 12 28 13:56 libswscale.dylib -> libswscale.6.7.100.dylib

@lbnb lbnb added the bug label Dec 28, 2022
@ChristianFeldmann
Copy link
Member

Hmm that is very hard to tell from the logs. But I just checked with FFmpeg version 5.1.2 and it works for me on windows.
What version of YUView did you use? The current way to load the libraries is bad. I admit that. You have to select all 4 libraries in the right order.

@FumasterLin
Copy link

@ChristianFeldmann Hi,I use YUVView with version v.2.13. i download ffmpeg share lib, but there are only xxx.dll.a files in the lib path, and YUVView needs xxx.dll files.

Could help me how to configured correctly

@jiemi
Copy link

jiemi commented Apr 4, 2023

YUView is x86-64 arch in mac plarform .We need a arm64 arch in mac plarform

@ChristianFeldmann
Copy link
Member

@ChristianFeldmann Hi,I use YUVView with version v.2.13. i download ffmpeg share lib, but there are only xxx.dll.a files in the lib path, and YUVView needs xxx.dll files.

Could help me how to configured correctly

I think you got the wrong libs. The .a libs are static libs.

@ChristianFeldmann
Copy link
Member

YUView is x86-64 arch in mac plarform .We need a arm64 arch in mac plarform

I don't fully get what you mean. I think qt does not support native arm builds yet. So far yuview is x86 64 bit only.

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

No branches or pull requests

4 participants