Navigation

    全志在线开发者论坛

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

    t113s3通过usb摄像头采集然后解码显示出现偶然的警告,然后画面卡顿

    Linux
    t113-s3 video 视频
    2
    2
    1029
    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.
    • Q
      quanzhi LV 3 last edited by

      警告是:WARNING: cedarc waitInterruptDecoder:748: wait ve interrupt timeout. ret = 0

      一出现就会整个画面感觉会卡2秒以上

      基本代码就是线程获取视频流,然后给另外一个线程解码,送显示layer。解码用的双缓冲区

      #define YUV_OUTPUT_SIZE CAPTRUE_W *CAPTRUE_H * 3 / 2

      1026241b-87be-491b-b4e7-56d09d5c6fd5-image.png
      c69c9c2e-644a-475a-bd20-2a5a156d4898-image.png

      d67dffa7-95af-4bc9-9112-acdf4b41edfd-image.png

      然后就是把fd丢去显示了,求助啊大佬们

      J 1 Reply Last reply Reply Quote Share 1
      • J
        jokersmall123 LV 2 @quanzhi last edited by

        @quanzhi 楼主找到解决办法了吗,

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

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

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