VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    树莓派V4L2驱动下的帧率问题

    Scheduled Pinned Locked Moved VEYE MIPI camera
    8 Posts 2 Posters 1.8k Views 1 Watching
    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.
    • M Offline
      max
      last edited by

      你好,我在树莓派下使用V4L2驱动可以正确获取图像。但想设置帧率上出现的问题。我希望希望设置相机的帧率为15FPS,曝光时间为1/15秒。那么通过I2C工具设置参数mshutter的值为0x4b,对应的曝光时间应该为1/15秒。但是通过测试,获取帧的时间还是在33-40毫秒左右。参数lowlight尝试设置0x00或者0x01没有改善。
      请问是哪里还需要设置吗?
      谢谢

      veye_xummV 1 Reply Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @max
        last edited by

        @max
        你好,
        这个问题的确存在,实际上的帧率是15fps,但是会上传到上位机30fps。其中一半是重复帧。
        这个是由于硬件的输出时序的限制,所以采用低照度模式的时候,树莓派端的软件,建议丢掉重复的帧。

        Questions will be answered as soon as possible, please be patient.
        如果你使用中文,请直接用中文提问。
        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

        1 Reply Last reply Reply Quote 0
        • M Offline
          max
          last edited by

          你好,请问如何丢掉重复帧?
          是设置nodf参数吗?

          veye_xummV 1 Reply Last reply Reply Quote 0
          • veye_xummV Offline
            veye_xumm @max
            last edited by

            @max
            你好,我说的丢重复帧是指的您的软件获取图像之后丢掉。 nodf理论上可以,但是要特殊的情况才行,比如摄像头是配置为4b的情况,nodf隔一个丢一个。

            Questions will be answered as soon as possible, please be patient.
            如果你使用中文,请直接用中文提问。
            May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

            1 Reply Last reply Reply Quote 0
            • M Offline
              max
              last edited by

              尝试以下参数:
              lowlight : 0x00 -> 固定帧率30FPS
              mshutter: 0x4b -> 曝光时间1/15 秒
              nodf: 0x01 -> 丢掉1帧
              hdver: 0x03

              结果:无法获取图像。
              如果把nodf设置为0,就正常获取图像,然而帧率不是15FPS

              veye_xummV 1 Reply Last reply Reply Quote 0
              • veye_xummV Offline
                veye_xumm @max
                last edited by

                @max
                可能是v4l2driver模式的问题,说实话这个方法我们并没有测试过。 理论上用veye_raspicam模式应该是没问题的。

                Questions will be answered as soon as possible, please be patient.
                如果你使用中文,请直接用中文提问。
                May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  max @veye_xumm
                  last edited by

                  @veye_xumm 好的,只能软件丢掉一帧了。
                  另外,请问mshutter参数与lowlight参数的关系是如何的?
                  例如,mshutter设置我0x4b,曝光时间是1/15秒。当lowlight分别是0x00(Fixed frame rate (25/30))与0x01(1/2*(FRAME RATE))时,实际的曝光时间与通过V4L2驱动获取的帧率分别是多少?

                  veye_xummV 1 Reply Last reply Reply Quote 0
                  • veye_xummV Offline
                    veye_xumm @max
                    last edited by

                    @max
                    lowlight只有在自动曝光模式下生效。你一旦设置mshutter为手动,lowlight就不生效了。

                    Questions will be answered as soon as possible, please be patient.
                    如果你使用中文,请直接用中文提问。
                    May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post