Failed to use plugins of latest GStreamer version 1.20.x installed by brew on macOS
I have a test project to try gstreamer-rs examples with dependencies from crates.io.
It worked nicely at first, but after recent upgrade of gstreamer, the code no longer runs. It complains for missing element from various plugins, e.g. "no element playbin", "no element decodebin", etc:
I have pushed the test project to Github so you may try it with the project: text Here is what I see when I run the example
$ cargo run --bin basic-tutorial-1
Finished dev [unoptimized + debuginfo] target(s) in 0.10s
Running `target/debug/basic-tutorial-1`
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { domain: gst_parse_error, code: 1, message: "no element \"playbin\"" }', src/bin/basic-tutorial-1.rs:14:71
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Versions of gstreamer and plugins are all 1.20.1. I forgot the previous version, probably it was 1.18.x. I have no way to revert, as brew only supports installing the latest version. In fact, I didn't intend to upgrade gstreamer, but brew did it by itself when I install other unrelated brew formula.
I tried re-installing gstreamer, rust & toolchain, and upgraded macOS from 12.2 to 12.3.1, but none of them worked.
Then I check GStreamer's release notes, and note that it moved all modules (I suppose it include plugins) to single git repository in 1.20.0.
Development in GitLab was switched to a single git repository containing all the modules
I guess this could be the reason I got the "no element playbin" error.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Sebastian Dröge moved from gstreamer-rs#380 (moved)
moved from gstreamer-rs#380 (moved)
- Owner
Please attach a debug log with
GST_DEBUG=6
of your application and e.g.gst-inspect-1.0
. - Author
Please find the logs in the zip, thanks. gst-debug-logs.zip
- Albert Cheung changed the description
changed the description
- Author
Please note I can run gst-launch-1.0 with playbin in command line:
gst-launch-1.0 playbin uri=file:///path/to/some_mp4_file.mp4
but not with the rust binding with latest GStreamer installation.
Edited by Albert Cheung - Owner
You're running with different GStreamer versions, or maybe it's related to #1149 (closed) . Can you check?
gst-inspect-1.0:
[...] 0:00:00.010234000 [34m85905[00m 0x7fa26e905600 [37mDEBUG [00m [00m GST_REGISTRY gstregistry.c:1383:gst_registry_scan_path_internal:<registry0>[00m scanning path /usr/local/lib/gstreamer-1.0 [...]
Your application:
[...] 0:00:00.005414000 [34m85863[00m 0x7fe888806800 [37mDEBUG [00m [00m GST_REGISTRY gstregistry.c:1383:gst_registry_scan_path_internal:<registry0>[00m scanning path /usr/local/Cellar/gstreamer/1.20.1/lib/gstreamer-1.0 [...]
- Owner
Or potentially some strange side-effect with brew and it's symlinks caused by !1627 (merged)
- Author
The directory
/usr/local/lib/gstreamer-1.0
contains symlinks to theCellar
one, I think this is how brew links them.$ realpath /usr/local/lib/gstreamer-1.0/libgstcoreelements.dylib /usr/local/Cellar/gstreamer/1.20.1/lib/gstreamer-1.0/libgstcoreelements.dylib $ realpath /usr/local/lib/gstreamer-1.0/libgstcoretracers.dylib /usr/local/Cellar/gstreamer/1.20.1/lib/gstreamer-1.0/libgstcoretracers.dylib $ ls -l /usr/local/lib/gstreamer-1.0/ total 0 lrwxr-xr-x 1 sunmoon staff 62 Apr 17 12:09 include -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/include lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstaccurip.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstaccurip.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstadder.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstadder.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstadpcmdec.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstadpcmdec.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstadpcmenc.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstadpcmenc.dylib lrwxr-xr-x 1 sunmoon staff 69 Apr 17 12:09 libgstaes.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstaes.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstaiff.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstaiff.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstalaw.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstalaw.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstalpha.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstalpha.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstalphacolor.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstalphacolor.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstapetag.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstapetag.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstapp.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstapp.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstapplemedia.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstapplemedia.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:10 libgstasf.dylib -> ../../Cellar/gst-plugins-ugly/1.20.1/lib/gstreamer-1.0/libgstasf.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstasfmux.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstasfmux.dylib lrwxr-xr-x 1 sunmoon staff 82 Apr 17 12:09 libgstaudiobuffersplit.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstaudiobuffersplit.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstaudioconvert.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstaudioconvert.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstaudiofx.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstaudiofx.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstaudiofxbad.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstaudiofxbad.dylib lrwxr-xr-x 1 sunmoon staff 78 Apr 17 12:09 libgstaudiolatency.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstaudiolatency.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstaudiomixer.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstaudiomixer.dylib lrwxr-xr-x 1 sunmoon staff 80 Apr 17 12:09 libgstaudiomixmatrix.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstaudiomixmatrix.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstaudioparsers.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstaudioparsers.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstaudiorate.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstaudiorate.dylib lrwxr-xr-x 1 sunmoon staff 80 Apr 17 12:09 libgstaudioresample.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstaudioresample.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstaudiotestsrc.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstaudiotestsrc.dylib lrwxr-xr-x 1 sunmoon staff 82 Apr 17 12:09 libgstaudiovisualizers.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstaudiovisualizers.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstauparse.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstauparse.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstautoconvert.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstautoconvert.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstautodetect.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstautodetect.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstavi.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstavi.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstbayer.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstbayer.dylib lrwxr-xr-x 1 sunmoon staff 69 Apr 17 12:09 libgstbz2.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstbz2.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstcairo.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstcairo.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstcamerabin.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstcamerabin.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstclosedcaption.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstclosedcaption.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstcodecalpha.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstcodecalpha.dylib lrwxr-xr-x 1 sunmoon staff 78 Apr 17 12:09 libgstcoloreffects.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstcoloreffects.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstcompositor.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstcompositor.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstcoreelements.dylib -> ../../Cellar/gstreamer/1.20.1/lib/gstreamer-1.0/libgstcoreelements.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstcoretracers.dylib -> ../../Cellar/gstreamer/1.20.1/lib/gstreamer-1.0/libgstcoretracers.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstcurl.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstcurl.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstcutter.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstcutter.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstdash.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstdash.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstdebug.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstdebug.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstdebugutilsbad.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstdebugutilsbad.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstdecklink.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstdecklink.dylib lrwxr-xr-x 1 sunmoon staff 78 Apr 17 12:09 libgstdeinterlace.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstdeinterlace.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstdtls.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstdtls.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstdtmf.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstdtmf.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstdvbsubenc.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstdvbsubenc.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstdvbsuboverlay.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstdvbsuboverlay.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:10 libgstdvdlpcmdec.dylib -> ../../Cellar/gst-plugins-ugly/1.20.1/lib/gstreamer-1.0/libgstdvdlpcmdec.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstdvdspu.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstdvdspu.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:10 libgstdvdsub.dylib -> ../../Cellar/gst-plugins-ugly/1.20.1/lib/gstreamer-1.0/libgstdvdsub.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgsteffectv.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgsteffectv.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstencoding.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstencoding.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstequalizer.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstequalizer.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstfaac.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstfaac.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstfaad.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstfaad.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstfaceoverlay.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstfaceoverlay.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstfestival.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstfestival.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstfieldanalysis.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstfieldanalysis.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstflac.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstflac.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstflv.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstflv.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstflxdec.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstflxdec.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstfreeverb.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstfreeverb.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstfrei0r.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstfrei0r.dylib lrwxr-xr-x 1 sunmoon staff 78 Apr 17 12:09 libgstgaudieffects.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstgaudieffects.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstgdkpixbuf.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstgdkpixbuf.dylib lrwxr-xr-x 1 sunmoon staff 69 Apr 17 12:09 libgstgdp.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstgdp.dylib lrwxr-xr-x 1 sunmoon staff 84 Apr 17 12:09 libgstgeometrictransform.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstgeometrictransform.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:10 libgstges.dylib -> ../../Cellar/gst-editing-services/1.20.1/lib/gstreamer-1.0/libgstges.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstgio.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstgio.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstgoom2k1.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstgoom2k1.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstgtk.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstgtk.dylib lrwxr-xr-x 1 sunmoon staff 69 Apr 17 12:09 libgsthls.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgsthls.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgsticydemux.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgsticydemux.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstid3demux.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstid3demux.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstid3tag.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstid3tag.dylib lrwxr-xr-x 1 sunmoon staff 78 Apr 17 12:09 libgstimagefreeze.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstimagefreeze.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstinter.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstinter.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstinterlace.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstinterlace.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstinterleave.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstinterleave.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstipcpipeline.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstipcpipeline.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstisomp4.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstisomp4.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstivfparse.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstivfparse.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstivtc.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstivtc.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstjp2kdecimator.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstjp2kdecimator.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstjpeg.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstjpeg.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstjpegformat.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstjpegformat.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstlame.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstlame.dylib lrwxr-xr-x 1 sunmoon staff 80 Apr 17 12:09 libgstlegacyrawparse.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstlegacyrawparse.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstlevel.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstlevel.dylib lrwxr-xr-x 1 sunmoon staff 65 Apr 17 12:10 libgstlibav.dylib -> ../../Cellar/gst-libav/1.20.1/lib/gstreamer-1.0/libgstlibav.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstmatroska.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstmatroska.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstmidi.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstmidi.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstmonoscope.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstmonoscope.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstmpegpsdemux.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstmpegpsdemux.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstmpegpsmux.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstmpegpsmux.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstmpegtsdemux.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstmpegtsdemux.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstmpegtsmux.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstmpegtsmux.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstmulaw.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstmulaw.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstmultifile.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstmultifile.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstmultipart.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstmultipart.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstmusepack.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstmusepack.dylib lrwxr-xr-x 1 sunmoon staff 69 Apr 17 12:09 libgstmxf.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstmxf.dylib lrwxr-xr-x 1 sunmoon staff 81 Apr 17 12:09 libgstnavigationtest.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstnavigationtest.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstnetsim.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstnetsim.dylib lrwxr-xr-x 1 sunmoon staff 62 Apr 17 12:09 libgstnice.dylib -> ../../Cellar/libnice/0.1.18/lib/gstreamer-1.0/libgstnice.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:10 libgstnle.dylib -> ../../Cellar/gst-editing-services/1.20.1/lib/gstreamer-1.0/libgstnle.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstnvcodec.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstnvcodec.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstogg.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstogg.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstopengl.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstopengl.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstopus.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstopus.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstopusparse.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstopusparse.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstoss4.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstoss4.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstosxaudio.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstosxaudio.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstosxvideo.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstosxvideo.dylib lrwxr-xr-x 1 sunmoon staff 85 Apr 17 12:09 libgstoverlaycomposition.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstoverlaycomposition.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstpango.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstpango.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstpbtypes.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstpbtypes.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstpcapparse.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstpcapparse.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstplayback.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstplayback.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstpng.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstpng.dylib lrwxr-xr-x 1 sunmoon staff 69 Apr 17 12:09 libgstpnm.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstpnm.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstproxy.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstproxy.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstrawparse.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstrawparse.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:10 libgstrealmedia.dylib -> ../../Cellar/gst-plugins-ugly/1.20.1/lib/gstreamer-1.0/libgstrealmedia.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstremovesilence.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstremovesilence.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstreplaygain.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstreplaygain.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstrfbsrc.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstrfbsrc.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstrist.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstrist.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstrtmp.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstrtmp.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstrtmp2.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstrtmp2.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstrtp.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstrtp.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstrtpmanager.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstrtpmanager.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstrtpmanagerbad.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstrtpmanagerbad.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstrtponvif.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstrtponvif.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstrtsp.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstrtsp.dylib lrwxr-xr-x 1 sunmoon staff 80 Apr 17 12:10 libgstrtspclientsink.dylib -> ../../Cellar/gst-rtsp-server/1.20.1/lib/gstreamer-1.0/libgstrtspclientsink.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstsctp.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstsctp.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstsdpelem.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstsdpelem.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstsegmentclip.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstsegmentclip.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstshapewipe.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstshapewipe.dylib lrwxr-xr-x 1 sunmoon staff 69 Apr 17 12:09 libgstshm.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstshm.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstshout2.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstshout2.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstsiren.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstsiren.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstsmooth.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstsmooth.dylib lrwxr-xr-x 1 sunmoon staff 81 Apr 17 12:09 libgstsmoothstreaming.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstsmoothstreaming.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstsmpte.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstsmpte.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstsoup.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstsoup.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstspectrum.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstspectrum.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:09 libgstspeed.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstspeed.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstspeex.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstspeex.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstsrtp.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstsrtp.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstsubenc.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstsubenc.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstsubparse.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstsubparse.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstswitchbin.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstswitchbin.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgsttaglib.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgsttaglib.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgsttcp.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgsttcp.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgsttheora.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgsttheora.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgsttimecode.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgsttimecode.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgsttranscode.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgsttranscode.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:09 libgstttmlsubs.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstttmlsubs.dylib lrwxr-xr-x 1 sunmoon staff 84 Apr 17 12:09 libgsttypefindfunctions.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgsttypefindfunctions.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstudp.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstudp.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstvideobox.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstvideobox.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstvideoconvert.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstvideoconvert.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstvideocrop.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstvideocrop.dylib lrwxr-xr-x 1 sunmoon staff 78 Apr 17 12:09 libgstvideofilter.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstvideofilter.dylib lrwxr-xr-x 1 sunmoon staff 81 Apr 17 12:09 libgstvideofiltersbad.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstvideofiltersbad.dylib lrwxr-xr-x 1 sunmoon staff 87 Apr 17 12:09 libgstvideoframe_audiolevel.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstvideoframe_audiolevel.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstvideomixer.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstvideomixer.dylib lrwxr-xr-x 1 sunmoon staff 81 Apr 17 12:09 libgstvideoparsersbad.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstvideoparsersbad.dylib lrwxr-xr-x 1 sunmoon staff 76 Apr 17 12:09 libgstvideorate.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstvideorate.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstvideoscale.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstvideoscale.dylib lrwxr-xr-x 1 sunmoon staff 77 Apr 17 12:09 libgstvideosignal.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstvideosignal.dylib lrwxr-xr-x 1 sunmoon staff 79 Apr 17 12:09 libgstvideotestsrc.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstvideotestsrc.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstvmnc.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstvmnc.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstvolume.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstvolume.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstvorbis.dylib -> ../../Cellar/gst-plugins-base/1.20.1/lib/gstreamer-1.0/libgstvorbis.dylib lrwxr-xr-x 1 sunmoon staff 70 Apr 17 12:09 libgstvpx.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstvpx.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgstwavenc.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstwavenc.dylib lrwxr-xr-x 1 sunmoon staff 75 Apr 17 12:09 libgstwavparse.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgstwavparse.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgstwebrtc.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgstwebrtc.dylib lrwxr-xr-x 1 sunmoon staff 71 Apr 17 12:10 libgstx264.dylib -> ../../Cellar/gst-plugins-ugly/1.20.1/lib/gstreamer-1.0/libgstx264.dylib lrwxr-xr-x 1 sunmoon staff 74 Apr 17 12:10 libgstxingmux.dylib -> ../../Cellar/gst-plugins-ugly/1.20.1/lib/gstreamer-1.0/libgstxingmux.dylib lrwxr-xr-x 1 sunmoon staff 72 Apr 17 12:09 libgsty4mdec.dylib -> ../../Cellar/gst-plugins-bad/1.20.1/lib/gstreamer-1.0/libgsty4mdec.dylib lrwxr-xr-x 1 sunmoon staff 73 Apr 17 12:09 libgsty4menc.dylib -> ../../Cellar/gst-plugins-good/1.20.1/lib/gstreamer-1.0/libgsty4menc.dylib
- Owner
I think the problem then is that MR. libgstreamer-1.0.dylib.0 is in the same directory tree as the two plugins that are found, but not as all the others that are not found. And because
gst-inspect-1.0
is linked with rpath, it's looking forlibgstreamer-1.0.dylib.0
in/usr/local/lib
where the symlink is.So putting rpath into the pkg-config files like in the issue I linked should also fix it, as the Rust linker would also include that then and it would behave the same way as
gst-inspect-1.0
then.@nirbheek can you confirm my understanding?
- Author
A good news is that I can now run with some workaround.
I found that my gst-inspect-1.0 is actually a script file wrapping around the real gst-inspect-1.0 binary.
cat /usr/local/Cellar/gstreamer/1.20.1/bin/gst-inspect-1.0 #!/bin/bash GST_PLUGIN_SYSTEM_PATH="/usr/local/lib/gstreamer-1.0" exec "/usr/local/Cellar/gstreamer/1.20.1/libexec/bin/gst-inspect-1.0" "$@"
I copied the
GST_PLUGIN_SYSTEM_PATH
env then the gstreamer-rs examples run successfully.GST_PLUGIN_SYSTEM_PATH="/usr/local/lib/gstreamer-1.0" cargo run --bin basic-tutorial-1
So perhaps it was a brew issue in gstreamer packaging.
- Owner
It's at least partially a packaging issues, yes. But I think we can also do better here
- Maintainer
@slomo yes. I guess we should've blocked 1.20.1 on
-Wl,-rpath,<path>
being added to the pkgconfig files. We should do it now, before 1.20.2 (as a blocker).Edited by Nirbheek Chauhan - Nirbheek Chauhan mentioned in issue cerbero#371 (closed)
mentioned in issue cerbero#371 (closed)
- Nirbheek Chauhan added macOS / iOS label
added macOS / iOS label
- Nirbheek Chauhan mentioned in commit nirbheek/gstreamer@5aeba23b
mentioned in commit nirbheek/gstreamer@5aeba23b
- Nirbheek Chauhan mentioned in merge request !2218 (merged)
mentioned in merge request !2218 (merged)
- Nirbheek Chauhan mentioned in commit nirbheek/gstreamer@1ba686d6
mentioned in commit nirbheek/gstreamer@1ba686d6
- Nirbheek Chauhan mentioned in commit nirbheek/gstreamer@97655eb8
mentioned in commit nirbheek/gstreamer@97655eb8
- Nirbheek Chauhan closed with commit 97655eb8
closed with commit 97655eb8
- Tim-Philipp Müller changed milestone to %1.20.2
changed milestone to %1.20.2