Open AntonGrishin opened 5 years ago
@AntonGrishin I have done the below steps to compile and install the gstreamer-media-sdk. mkdir build && cd build && cmake .. make && make install
After executing make install command, libgstmfx.so is installed in /usr/local/gstreamer-1.0/. Below is the output when i run gst-inspect.
pkiran@clr-linux~/user/gstreamer-media-sdk/build $ gst-inspect-1.0 /usr/local/gstreamer-1.0/libgstmfx.so Plugin Details: Name mfx Description MFX encoder/decoder/video post-processing plugins Filename /usr/local/gstreamer-1.0/libgstmfx.so Version 1.4.0.rc9 License LGPL Source module gstmfx Binary package gstmfx Origin URL http://www.intel.com
mfxh264dec: MFX H264 decoder mfxhevcdec: MFX HEVC decoder mfxmpeg2dec: MFX MPEG2 decoder mfxvc1dec: MFX VC1 decoder mfxvp8dec: MFX VP8 decoder mfxjpegdec: MFX JPEG decoder mfxdecode: MFX Video Decoder mfxvpp: MFX video postprocessing mfxsinkelement: MFX sink mfxsink: MFX Sink Bin mfxh264enc: MFX H.264 encoder mfxhevcenc: MFX H.265 encoder mfxjpegenc: MFX JPEG encoder mfxvc1parse: VC1 parser
14 features: +-- 14 elements
Please let us know if your compilation procedure is different than the above ?
I have the same issue (Ubuntu 18.04). I did the same build steps as @pichikaudaykiran but when I do gst-inspect-1.0 /usr/local/gstreamer-1.0/libgstmfx.so
I get:
(gst-inspect-1.0:16999): GStreamer-WARNING **: 15:24:00.036: Failed to load plugin '/usr/local/gstreamer-1.0/libgstmfx.so': /usr/local/gstreamer-1.0/libgstmfx.so: undefined symbol: xcb_dri3_pixmap_from_buffer_checked
Could not load plugin file: Opening module failed: /usr/local/gstreamer-1.0/libgstmfx.so: undefined symbol: xcb_dri3_pixmap_from_buffer_checked
same issue with me and unable to use mfx functions - it says No such element or plugin 'mfxvpp'
I have the same issue (Ubuntu 18.04). I did the same build steps as @pichikaudaykiran but when I do
gst-inspect-1.0 /usr/local/gstreamer-1.0/libgstmfx.so
I get:(gst-inspect-1.0:16999): GStreamer-WARNING **: 15:24:00.036: Failed to load plugin '/usr/local/gstreamer-1.0/libgstmfx.so': /usr/local/gstreamer-1.0/libgstmfx.so: undefined symbol: xcb_dri3_pixmap_from_buffer_checked Could not load plugin file: Opening module failed: /usr/local/gstreamer-1.0/libgstmfx.so: undefined symbol: xcb_dri3_pixmap_from_buffer_checked
I am running into the same exact issue. Were you able to get out of this?
export GST_PLUGIN_PATH=/gstreamer-1.0/
try exporting path
No effect. I still need to do LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libxcb-dri3.so gst-inspect-1.0 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmfx.so
to see plugins details.
export LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri/ && LIBVA_DRIVER_NAME=i965
When I should do this, before cmake? However, I see that when I check blacklisted files:
up@up:~/gstreamer-media-SDK/build$ gst-inspect-1.0 -b
Blacklisted files:
libgstomx-generic.so
libgstmfx.so
libgstomx.so
Any idea?
I am having same issue.
I had the same problem. Started working for me again after:
sudo apt-get install --reinstall gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0
Hi, i try to use gstreamer and plugin failed to load:
This symbol contains in libxcb-dri3.so
If I use
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libxcb-dri3.so gst-inspect-1.0 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmfx.so
, then all worksWhy plugin didnt works on default? make link list didnt contains above lib