How to load proprietary OMX components with GStreamer & Bellagio

779 Views Asked by At

I'm trying to stream the video of an IP Camera that exposes what I believe to be OMX components.

To grab the stream I've installed and configured GStreamer with gst-omx and Bellagio, but I can't get Bellagio to recognize and register the components.

I don't have any specific question, but would be very grateful for any pointers on how to wire this thing up.

Below are the components. An analysis with Cutter revealed that libOMX_BELA.so has much in common with Bellagio's libomxil-bellagio.so.0.

$ ls /lib | grep OMX
libOMX_ACODEC.so
libOMX_ALSA.so
libOMX_ASPL.so
libOMX_AVQE_A.so
libOMX_BELA.so
libOMX_IJPE.so
libOMX_IJPE_ENC_HW.so
libOMX_IJPE_ENC_SW.so
libOMX_IJPE_MEM_MGR.so
libOMX_VMFE.so
libOMX_VSPL.so
libOMX_VSRC.so
libOMX_VVHE.so

Output from gst-inspect-1.0

$ ./gst-inspect-1.0
omx:  omxmpeg2dec: OpenMAX MPEG2 Video Decoder
omx:  omxmp3dec: OpenMAX MP3 Audio Decoder
omx:  omxaacenc: OpenMAX AAC Audio Encoder
omx:  omxmpeg4videoenc: OpenMAX MPEG4 Video Encoder
omx:  omxh264dec: OpenMAX H.264 Video Decoder
omx:  omxmpeg4videodec: OpenMAX MPEG4 Video Decoder
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

Total count: 2 plugins, 8 features

Trying to register the components with omxregister-bellagio, nothing gets registered:

# ./omxregister-bellagio -v /lib
 Scanning directory /lib/
 Scanning library /lib/libOMX_ACODEC.so
 Scanning library /lib/libOMX_ALSA.so
 Scanning library /lib/libOMX_ASPL.so
 Scanning library /lib/libOMX_AVQE_A.so
OMX-could not load /lib/libOMX_BELA.so: /lib/libOMX_BELA.so: undefined symbol: sqrt
 Scanning library /lib/libOMX_IJPE.so
 Scanning library /lib/libOMX_IJPE_ENC_HW.so
 Scanning library /lib/libOMX_IJPE_ENC_SW.so
 Scanning library /lib/libOMX_IJPE_MEM_MGR.so
 Scanning library /lib/libOMX_VMFE.so
 Scanning library /lib/libOMX_VSPL.so
 Scanning library /lib/libOMX_VSRC.so
 Scanning library /lib/libOMX_VVHE.so
 0 OpenMAX IL ST static components in 0 libraries succesfully scanned
0

There are 0 best solutions below