我正在尝试流式传输 IP 摄像机的视频,该视频公开了我认为是 OMX 组件的内容。
为了获取流,我使用 gst-omx 和 Bellagio 安装并配置了 GStreamer,但我无法让 Bellagio 识别和注册组件。
我没有任何具体问题,但非常感谢有关如何连接这个东西的任何指示。
下面是组件。对Cutter的分析表明,这libOMX_BELA.so
与 Bellagio 的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
输出自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
尝试使用 注册组件omxregister-bellagio
,但没有注册任何内容:
# ./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