I've recently upgraded Electron to v0.37, and upon trying to start my app, I'm getting an error of the following.
dyld: Library not loaded: /usr/local/lib/libffmpeg.dylib
Referenced from: /usr/local/lib/node_modules/electron-prebuilt/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
Reason: image not found
I have ffmpeg installed on my machine via homebrew, which I installed with brew install ffmpeg . I've tried uninstalling ffmpeg and reinstalling, but haven't had any luck.
I've noticed in more recent versions of Electron, since v0.36.8 they've 'Link with ffmpeg dynamically' according to the changelog.
I should note, I'm using ffmpeg in my electron app, and specifically, im utilizing the Fluent FFMpeg node library (https://www.npmjs.com/package/fluent-ffmpeg).
Has anyone come across this same issue? Any idea on a fix?
It is an known issue in version 0.37. As a temporary workaround you can downgrade to version 0.36.
Related
I am currently working on a QT application, however, I am unable to build due to this error which I am unable to resolve. I am currently using macOS Montery and have already installed xcode command line. I have tried searching online and tried many different solutions but to no avail. Any help or advice would be appreciated thank you!
If you have homebrew installed, try the following:
brew install graphviz
I'm trying to use FFMediaToolkit library which uses FFmpeg.AutoGen.
And I encountered an error Invalid data found when processing input when calling ffmpeg.avformat_open_input this line. I tried run in windows & ubuntu using the latest version ffmpeg, it works fine.
But when I run in Nvidia Jetson, it throws error. I tried to figure out the issue and MABYE it is because of the mismatch version of installed ffmpeg and FFmpeg.AutoGen. But somehow, I can't update the ffmpeg in jetson.
Here the libraries inside '/usr/lib/aarch64-linux-gnu`:
libavcodec.so.57
libavcodec.so.57.107.100
libavdevice.so.57
libavdevice.so.57.10.100
libavfilter.so.6
libavfilter.so.6.107.100
libavformat.so.57
libavformat.so.57.83.100
libavresample.so.3
libavresample.so.3.7.0
libavutil.so.55
libavutil.so.55.78.10
Anyone know which version of FFmpeg.AutoGen should I use?
Or as alternative, how to get the latest version of ffmpeg for Nvidia Jetson Nano?
Thanks,
Why can't you update FFmpeg in Jetson? That's the proper solution. FFmpeg.AutoGen has so far done a good job at keeping up to date with the FFmpeg releases. So just get the newest release of FFmpeg and the latest code from FFmpeg.AutoGen.
libavcodec.so.57.107.100 corresponds with FFmpeg 3.4.8 (as shown by FFmpeg Download) which is from 2017-10. If you can't update your FFmpeg then use FFmpeg.AutoGen from commit f1fa4ed: Update to 3.4. Unfortunately, you'll be missing out on 3.5 years of FFmpeg development.
I have been working on some video playing/streaming pipelines for Computer Vision work on Nvidia Jetson TX2. It had Ubuntu 16.04 with latest Jetpack.
I have already installed opencv 3.3 and to test some of the pipelines, with .MP$ video files, I need h264parse plugin which is a part of gst-bad-plugins. However, when I try to install it using apt-get, it shows that following packages will be installed:
freepats gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers
libbs2b0 libde265-0 libflite1 libfluidsynth1 libgstreamer-plugins-bad1.0-0
libmimic0 libmjpegutils-2.1-0 libmms0 libmpeg2encpp-2.1-0 libmplex2-2.1-0
libofa0 libopenal-data libopenal1 libopencv-calib3d2.4v5
libopencv-contrib2.4v5 libopencv-core2.4v5 libopencv-features2d2.4v5
libopencv-flann2.4v5 libopencv-highgui2.4v5 libopencv-imgproc2.4v5
libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-objdetect2.4v5
libopencv-video2.4v5 libsoundtouch1 libspandsp2 libsrtp0 libvo-aacenc0
libvo-amrwbenc0 libwildmidi-config libwildmidi1 libzbar0
Here it tries to install an older version of opencv and this really messes up with my current opencv (v3.3) install.
Does anyone have any idea on how should I overcome this problem. I would not want the option to just ignore all the dependencies. But somehow, if it detects the installed opencv version, that would be awesome.
Any help is appreciated.
Thanks!
I am working on Jetson Tx1 , and have problem installing opencv 3.3 in virtual environment onto it due to space issues. I tried to compile the build file from external sd card and make from there. Then Sym-link (cv2.so) file to appropriate path. Can you tell me how you were able to install opencv3.3 ??
This issue appeared after an upgrade from Mountain Lion to Mavericks, with no code changes in between.
I have installed OpenCV 2.4.5 using Homebrew. This isn't the latest version of OpenCV, but I have not upgraded because I had incompatibility issues when I tried before. I have a project in Xcode that built fine pre-Mavericks, but seemed to be unable to find Homebrew's opencv build after the upgrade.
The Xcode project's Header Search Paths have:
/usr/local/Cellar/opencv/2.4.5/include
and the Library Search Paths have:
/usr/local/Cellar/opencv/2.4.5/lib
The project builds fine. When I try to run it, I get:
dyld: Library not loaded: lib/libopencv_video.2.4.dylib
Referenced from: <executable path>
Reason: image not found
/usr/local/Cellar/opencv/2.4.5/lib has the file libopencv_video.2.4.5.dylib in it. It does have an alias libopencv_video.2.4.dylib, which points to libopencv_video.2.4.5.dylib. In the "Build Phases" of my target, under the heading "Link Binary with Libraries", I have libopencv_video.2.4.5.dylib
How can I get Xcode to link with the correct library?
Note:
I have already tried the solution here.
It appears I may be able to do the same thing as here, but that looks super-clumsy.
Appears to be resolved by uninstalling and re-installing the opencv formula through homebrew
I have installed QtMobility successfully but when I run my programs, the UI comes up but the media (audio & video) does not play.
This is the error I get through command prompt as well as QtCreator:
defaultServiceProvider::requestService(): no service found for - "com.nokia.qt.mediaplayer"
I got the same error when using QtSDK 4.8.1 & 4.7.2
My platform is Ubuntu 10.04 and gstreamer 0.10.6 is also installed on my platform
I had posted the issue in several forums but got no response.
Kindly suggest a solution and help resolve issues.
These are the files in my QtSDK->plugin->mediaservice folder:
libqtmedia_audioengine.so
libqtmedia_v4lengine.so
Is the error related to any .so files here?