Closed ferraridamiano closed 3 months ago
Sorry for the late reply, I am kind of busy recently.
Have you linked libavformat.so.58
?
There are many Linux distributions, the prebuilt binaries for linux are built on Ubuntu 22.04, so the ffmpeg linked was ffmpeg 4.4
, you can either build this package on ArchLinux by yourself or install ffmpeg 4.4.
I personally suggest you to download ffmpeg 4.4 or try to install ffmpeg4.4
https://archlinux.org/packages/extra/x86_64/ffmpeg4.4/ and then copy the required libraries such as libavformat.so.58 to the flutter output directory or to the directory of pub cache. (typically it should be ~/.pub-cache/hosted/pub.dev/opencv_dart-1.2.1/linux/
, as you can see, https://github.com/rainyl/opencv_dart/blob/62d50b2a6b84d00ef58b1148c5db8610e4a4c8f8/linux/CMakeLists.txt#L61 , all .so inside linux
will be copied to the output directory of flutter build)
Thank you, the fix was as easy as running pacman -S ffmpeg4.4
I am unable to run the example app on arch linux. I get the following error:
ffmpeg
is installed, thelibavformat
file exists (I manually symlinked version 58 to 61):