YUView icon indicating copy to clipboard operation
YUView copied to clipboard

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?

Open asking1233 opened this issue 2 years ago • 6 comments

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 avatar May 23 '23 08:05 asking1233

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

asking1233 avatar May 23 '23 08:05 asking1233

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.

ChristianFeldmann avatar May 25 '23 14:05 ChristianFeldmann

I installed ffmpeg through homebrew。

homebrew supports installing arm64 ffmpeg

asking1233 avatar May 26 '23 01:05 asking1233

When will YUView support the arm platform?

asking1233 avatar May 26 '23 01:05 asking1233

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.

englishm avatar Mar 01 '24 19:03 englishm