Edge SDK运行 ./build/bin/sample_read_media_file和./build/bin/test_liveview报错
运行./build/bin/sample_read_media_file会报错
[1.535][media_manager]-[Error]-[Init:135) Failure establishing SSH session: -5
[1.535][user]-[Error]-[StartReadMediaFileSample:113) init media files reader error
运行./build/bin/test_liveview会报错:
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[29.570][utils]-[Debug]-[DjiCore_RootTask:131) work execution time:
[29.570][utils]-[Debug]-[DjiCore_RootTask:132) name execution time (ms) max execution time (ms)
[29.570][utils]-[Debug]-[DjiCore_RootTask:134) commandTask 0 1
[29.570][utils]-[Debug]-[DjiCore_RootTask:134) EsdkHeartbeatPushWork 0 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[30.357][linker]-[Debug]-[DjiProtocol_v1Unpack:204) V1-Recv: 0xA6->0xF6 0x4990
[30.358][linker]-[Debug]-[DjiCommand_RecvWork:961) Receive msg from linker, id:0x4990 len:2
[30.358][security]-[Debug]-[EsdkStatusCallback:278) status = 1, bind = 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[h264_bm @ 0x5584523a00] non-existing PPS 0 referenced
[ERROR] Failed to DEC_PIC_HDR(ERROR REASON: 00005000) error code is 0x1
InstIdx 0: BMVidDecSeqInitW5 failed Error code is 1
[30.541][user]-[Info]-[Decode:161) New H264 Width: 1920, Height: 1080
并且只有出现此类报错时才可以拿到码流,但是速度很慢。当我运行test_liveview这个示例时,第一次使用广角镜头可以拿到码流,第二次再使用广角就拿不到了,但切换镜头模式就可以再次拿到,总的来说就是切换镜头模式才可以重新拿到
-
尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 感谢您的耐心等待,在最新的机场版本中,在大疆机场1/大疆机场2上若出现 Failure establishing SSH session: -5 ,您可以按照如下方法解决:重新安装如下版本libssh2: sudo rm /usr/local/lib/libssh2.* git clone https://github.com/libssh2/libssh2.git git checkout -b libssh2-1.10.0 cmake -DBUILD_SHARED_LIBS=OFF .. cmake -j4 install 感谢您对大疆产品的支持!祝您一切顺利! Best Regards, DJI 大疆创新SDK技术支持
Please sign in to leave a comment.
Comments
14 comments