Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    d1s trecorderdemo 问题

    MR Series
    6
    7
    2804
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yuwei LV 6 last edited by

      有大神试过d1s的 trecorderdemo 单通道测试吗? 报这个错误是什么意思

      e4f9f74f-63d0-4587-966e-19c4117f4560-image.png

      C K 2 Replies Last reply Reply Quote Share 0
      • C
        chengwei_peng LV 6 @yuwei last edited by

        @yuwei 这个应该是显示的时候出现的异常。本身trecorder是摄像头和显示共用一个buf的,但是现在显示的框架修改了,根据摄像头传过来的buf没办法找到内存的操作句柄,从而报错。
        可以试试修改 recorder.cfg,将摄像头的buf从mmap修改为user的方式。

        U S F 3 Replies Last reply Reply Quote Share 0
        • K
          kabishou141634 LV 3 @yuwei last edited by

          @yuwei 大佬,你这是怎么处理的,我也遇到了相同的问题
          6bd7c6ab-7861-4360-90b4-6ff7878bc52f-image.png

          1 Reply Last reply Reply Quote Share 0
          • U
            Uccccc LV 4 @chengwei_peng last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote Share 0
            • U
              Uccccc LV 4 last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote Share 0
              • S
                shz18877605430 LV 6 @chengwei_peng last edited by

                @chengwei_peng 好像改了也没用。

                1 Reply Last reply Reply Quote Share 0
                • F
                  fuzi2006 LV 4 @chengwei_peng last edited by

                  @chengwei_peng 在 d1s trecorderdemo 问题 中说:

                  @yuwei 这个应该是显示的时候出现的异常。本身trecorder是摄像头和显示共用一个buf的,但是现在显示的框架修改了,根据摄像头传过来的buf没办法找到内存的操作句柄,从而报错。
                  可以试试修改 recorder.cfg,将摄像头的buf从mmap修改为user的方式。

                  感谢大佬,真的有效
                  -video_memory = MMAP
                  +video_memory = USERPTR

                  1 Reply Last reply Reply Quote Share 0
                  • 1 / 1
                  • First post
                    Last post

                  Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                  行为准则 | 用户协议 | 隐私权政策