IENT / YUView

The Free and Open Source Cross Platform YUV Viewer with an advanced analytics toolset
http://ient.github.io/YUView
Other
1.79k stars 354 forks source link

resolveAvFormat Error loading the avformat library: Can't find function av_register_all #457

Closed HOWARD201314 closed 2 years ago

HOWARD201314 commented 2 years ago

mac, when add ffmpeg libraries. have following issue:

"loadFFMpegLibrarySpecific Trying to load libraries avFormat /usr/local/Cellar/ffmpeg/5.0/lib/libavformat.59.16.100.dylib avCodec /usr/local/Cellar/ffmpeg/5.0/lib/libavcodec.59.18.100.dylib avUtil /usr/local/Cellar/ffmpeg/5.0/lib/libavutil.57.17.100.dylib swResample /usr/local/Cellar/ffmpeg/5.0/lib/libswresample.4.3.100.dylib loadFFMpegLibrarySpecific Try to load libAvutil /usr/local/Cellar/ffmpeg/5.0/lib/libavutil.57.17.100.dylib success loadFFMpegLibrarySpecific Try to load libSwresample /usr/local/Cellar/ffmpeg/5.0/lib/libswresample.4.3.100.dylib success loadFFMpegLibrarySpecific Try to load libAvcodec /usr/local/Cellar/ffmpeg/5.0/lib/libavcodec.59.18.100.dylib success loadFFMpegLibrarySpecific Try to load libAvformat /usr/local/Cellar/ffmpeg/5.0/lib/libavformat.59.16.100.dylib success resolveAvFormat Error loading the avformat library: Can't find function av_register_all. bindFunctionsFromLibraries Binding functions failed"

ChristianFeldmann commented 2 years ago

Same as: https://github.com/IENT/YUView/issues/449. This is because of FFmpeg 5.0. Was already fixed. Please try the latest version on develop.