适配Tina 5.0的eyesee-mpp移植成功
-
先放下载链接:
eyesee-mpp-tina5.0.tar.gz楼下找链接代理那拿到的Tina0.8里有一个很重要的部件eyesee-mpp,摄像头视觉啥的都靠它,本来想试试新的Tina5.0看看升级后的怎么样,结果发现Tina5.0居然没有这个部件,所以花了点时间移植了一下。
使用方法:
-
没有打NPU补丁的记得打一下补丁,链接 https://www.aw-ol.com/downloads?cat=18
-
下载后放tina5.0 sdk的根目录下,
tar xvf *.tar.gz
解压即可,然后m menuconfig
,就可以在Allwinner -> eyesee-mpp
找到
-
-
下载地址: eyesee-mpp.tar.xz
-
@wxid_disxysjskla 你好,用了你这个包,编译不成功。其中有些静态库是在你自己的电脑上编译的,我编译的时候提示找不到路径。我把这些库删除掉之后,就无法生成sample了。
rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-system/.pkgdir/eyesee-mpp-system/usr/lib/eyesee-mpp/liblog.so rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-system/.pkgdir/eyesee-mpp-system/usr/lib/eyesee-mpp/libhwdisplay.so rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-system/.pkgdir/eyesee-mpp-system/usr/lib/eyesee-mpp/libion.so rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/libaw_mpp.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libcedarx/libcore/stream/file/libcdx_file_stream.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libcedarx/libcore/stream/base/libcdx_stream.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libcedarx/libcore/parser/id3v2/libcdx_id3v2_parser.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libcedarx/libcore/parser/wav/libcdx_wav_parser.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libcedarx/libcore/parser/mov/libcdx_mov_parser.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libcedarx/libcore/parser/base/libcdx_parser.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libcedarx/libcore/parser/ts/libcdx_ts_parser.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libcedarx/libcore/parser/aac/libcdx_aac_parser.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libcedarx/libcore/parser/mpg/libcdx_mpg_parser.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libcedarx/libcore/parser/mp3/libcdx_mp3_parser.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-framework/.pkgdir/eyesee-mpp-framework/usr/lib/eyesee-mpp/libcustomaw_media_utils.so rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-external/eyesee-mpp-external-1.0/jsoncpp-0.8.0/libjsoncpp0.8.a rm -f ./out/v853/vision/openwrt/build_dir/target/eyesee-mpp-external/eyesee-mpp-external-1.0/lz4-1.7.5/liblz4.a rm -f ./out/v853/vision/openwrt/staging_dir/target/usr/lib/eyesee-mpp/liblz4.a rm -f ./out/v853/vision/openwrt/staging_dir/target/usr/lib/eyesee-mpp/libjsoncpp0.8.a rm -f ./out/v853/vision/openwrt/staging_dir/target/usr/lib/eyesee-mpp/liblog.so rm -f ./out/v853/vision/openwrt/staging_dir/target/usr/lib/eyesee-mpp/libhwdisplay.so rm -f ./out/v853/vision/openwrt/staging_dir/target/usr/lib/eyesee-mpp/libcustomaw_media_utils.so rm -f ./out/v853/vision/openwrt/staging_dir/target/usr/lib/eyesee-mpp/libion.so rm -f ./out/v853/vision/openwrt/staging_dir/target/root-v853-vision/usr/lib/eyesee-mpp/liblog.so rm -f ./out/v853/vision/openwrt/staging_dir/target/root-v853-vision/usr/lib/eyesee-mpp/libhwdisplay.so rm -f ./out/v853/vision/openwrt/staging_dir/target/root-v853-vision/usr/lib/eyesee-mpp/libcustomaw_media_utils.so rm -f ./out/v853/vision/openwrt/staging_dir/target/root-v853-vision/usr/lib/eyesee-mpp/libion.so rm -f ./platform/allwinner/eyesee-mpp/framework/sun8iw21/utils/libcustomaw_media_utils.so rm -f ./platform/allwinner/eyesee-mpp/system/private/onvif/libOnvif.a rm -f ./platform/allwinner/eyesee-mpp/system/private/rtsp/libTinyServer.a rm -f ./platform/allwinner/eyesee-mpp/system/public/display/libhwdisplay.so rm -f ./platform/allwinner/eyesee-mpp/system/public/libion/libion.so rm -f ./platform/allwinner/eyesee-mpp/system/public/liblog/liblog.so rm -f ./platform/allwinner/eyesee-mpp/external/jsoncpp-0.8.0/libjsoncpp0.8.a rm -f ./platform/allwinner/eyesee-mpp/external/lz4-1.7.5/liblz4.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/librender/libcedarxrender.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/utils/libmedia_utils.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/libaw_mpp.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/libaw_mpp.a.bak rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libstream/libcedarxstream.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarc/vdecoder/libvdecoder.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarc/base/libcdc_base.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarc/memory/libMemAdapter.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarc/vencoder/base/libvenc_base.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarc/vencoder/libvencoder.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libResample/libResample.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libfilerepair/libfilerepair.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libisp/out/library/musl/libisp_math.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libisp/libISP.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/stream/file/libcdx_file_stream.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/stream/base/libcdx_stream.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/common/libcdx_common.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/base/libcdx_base.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/parser/id3v2/libcdx_id3v2_parser.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/parser/wav/libcdx_wav_parser.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/parser/mov/libcdx_mov_parser.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/parser/base/libcdx_parser.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/parser/ts/libcdx_ts_parser.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/parser/aac/libcdx_aac_parser.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/parser/mpg/libcdx_mpg_parser.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/libcedarx/libcore/parser/mp3/libcdx_mp3_parser.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/AudioLib/midware/encoding/libcedarx_aencoder.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/media/LIBRARY/AudioLib/midware/decoding/libadecoder.a rm -f ./platform/allwinner/eyesee-mpp/middleware/sun8iw21/sample/configfileparser/libsample_confparser.a
-
@thepresent 请问你最后找到解决办法了吗?我也遇到这个问题了,不知道怎么办
-
@thepresent 已经修复了,打包错了
-
@chhjnavy 修复了,打包错了
-
此回复已被删除! -
@wxid_disxysjskla
@wxid_disxysjskla 大佬,我下载了你的新的安装包,编译的时候提示Package eyesee-mpp-external is missing dependencies for the following libraries: libc.so.6 libm.so.6
我参考https://www.cnblogs.com/rockyching2009/p/10246438.html这里,修改了/openwrt/package/allwinner/eyesee-mpp/external/Makefile:
define Package/$(PKG_NAME)/install $(INSTALL_DIR) $(1)/usr/lib/eyesee-mpp $(INSTALL_DIR) $(1)/usr/bin $(CP) $(PKG_BUILD_DIR)/libc.so.6 $(1) $(CP) $(PKG_BUILD_DIR)/libm.so.6 $(1) ... define Build/Prepare mkdir -p $(PKG_BUILD_DIR) if [ -d $(SRC_COMPILE_DIR) ]; then \ rm -rf $(SRC_COMPILE_DIR); \ fi cp -rf $(SRC_CODE_DIR) $(SRC_COMPILE_DIR) cp libc.so.6 $(PKG_BUILD_DIR) cp libm.so.6 $(PKG_BUILD_DIR) endef
修改了之后可以编译了。然后又出现了下面这个错误
make[5]: Entering directory '.../out/v853/vision/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/media/LIBRARY/libADAS' make[5]: *** No rule to make target 'library/musl/libADAS.a', needed by 'out/libADAS.a'. Stop.
我把编译配置里改成编译动态库之后,可以编译成功了。不过我选择编译mpp sample的时候,没有生成ipk。
麻烦问一下,
1:后面的libADAS.a的错误怎么解决?我看到eyesee-mpp-middleware里面的Readme文件里面提到了预编译库,麻烦问一下这个预编译库是怎么编译出来的?
2:我编译的mpp sample不能生成,麻烦看一下这是怎么回事啊。
谢谢大佬!! -
-
请问下,我在解压后打开了sample virvi2vo的选项,但是make编译后发现没有生成bin文件夹也没有找到可执行文件,似乎也没有编译到mpp,执行mkmpp说mkmpp: command not found,是我忽略了什么吗,怎么才能编译到呢
-
@thepresent 在musl/目录下有一个musl/libADAS_v2.a 把名字改成musl/libADAS.a 就可以了
-
请问编译出来的可执行文件在哪里
-
@thepresent 在 适配Tina 5.0的eyesee-mpp移植成功 中说:
您好,我下载了您所提供的包,然后按照图上说明勾选并make编译成功打包,但是在SDK目录下看不到源码,按照官方提供的《MPPsample使用说明》中提到的编译的问题,是在编译后会在对应目录下产生源码 但是我激活环境编译发现找不到cleanmpp和mkmpp命令, ,求大佬们指点迷津
-
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号