This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728 gst-plugin-dsp66 编译完后运行提示找不到"dsp66videokernel"元件



大家好!

我下载了gst-plugin-dsp66的源码,并编译该源码,同时做了以下的修改使编译通过:

1. 在源码包目录下输入命令,生成Makefile

    ./autogen.sh CC=arm-linux-gnueabihf-gcc PKG_CONFIG_PATH=$HOME/work_home/Source/GStreamer/gst-plugin-dsp66/Install/lib/pkgconfig --host=arm-none-linux --prefix=$HOME/work_home/Source/GStreamer/gst-plugin-dsp66/Install

2. 修改gst-plugin-dsp66/src/kernel/make.inc,添加如下编译环境内容:

# export environment EVM paramters 

export TI_SDK_PATH=/home/guide/work_home/Source/am57xx_evm_3.0
export SDK_PATH_TARGET=$(TI_SDK_PATH)/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi
export TI_OCL_CGT_INSTALL=$(SDK_PATH_TARGET)/usr/share/ti/cgt-c6x
export TARGET_ROOTDIR=$(SDK_PATH_TARGET)
export DESTDIR=/home/guide/work_home/Source/am57xx_evm_3.0/targetNFS

3. 输入make; make install编译完成后,将生成libgstdsp66.so和libgstdsp66.la文件拷贝到开发板的/usr/lib/gstreamer-1.0下。

4. 根据官网提供的命令,输入如下命令:

    gst-launch-1.0 filesrc location=/usr/share/ti/video/TearOfSteel-Short-1280x720.265 ! 'video/x-raw, format=(string)NV12, framerate=(fraction)24/1, width=(int)1280, height=(int)720' ! h265dec threads=1 ! videoconvert ! dsp66videokernel kerneltype=1 filtersize=9 lum-only=1 ! videoconvert ! vpe ! 'video/x-raw, format=(string)NV12, width=(int)640, height=(int)480' ! kmssink 

    提示“dsp66videokernel”没有找到元件(element),但使用原来提供的库文件则没有这个问题。

    想请教各位专家,这是编译哪里出的问题吗?