IENT / YUView

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

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? #523

Open asking1233 opened 1 year ago

asking1233 commented 1 year ago

Mac os Monterey Apple M1。 The ffmpeg version I installed is 5.1.3。

My operation steps are like this, I first enter Preference->Decoders, and then set the ffmpeg path, but there is a warning prompt, the error content is like this, 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?

asking1233 commented 1 year ago

Checking versions avutil 57, swresample 4, avcodec 59, avformat 59 Unloading all loaded libraries Loading library /opt/homebrew/Cellar/ffmpeg@5/5.1.3/lib/libavutil.57.28.100.dylib failed 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/5.1.3/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/5.1.3/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/5.1.3/lib/libavutil.57.28.100.dylib failed Unloading all loaded libraries Unloading all loaded libraries

ChristianFeldmann commented 1 year ago

Hi. I am just opening the libraries with QLibrary and that maps to whatever the system is using. I think on mac its dlopen. YUView is currently not compiled natively on Arm. It think Qt also does not compile natively on Arm yet. So its running in the emulation layer. Is ffmpeg compiled natively on Arm? In that case that is probably why it does not work.

asking1233 commented 1 year ago

I installed ffmpeg through homebrew。

homebrew supports installing arm64 ffmpeg

asking1233 commented 1 year ago

When will YUView support the arm platform?

englishm commented 4 months ago

I also had this issue and found that building YUView myself fixed it. In other words, YUView does build on arm64, there just aren't binary releases yet.