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

    v4l2函数获取曝光值,为什么不行

    Scheduled Pinned Locked Moved CS MIPI camera
    12 Posts 2 Posters 5.3k 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.
    • L Offline
      lin @veye_xumm
      last edited by

      @veye_xumm 通过i2c直接读寄存器可以读到曝光值,但是无法写入是为什么
      3da6bdd7-add6-4a88-8624-f28cf239d437-image.png
      34c930bb-166b-4abf-aaf7-dd8c522235c4-image.png

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

        @lin 请问一下你直接用我们提供的脚本是否可以正常读写?

        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.)

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          lin @veye_xumm
          last edited by

          @veye_xumm 我换了0xC10就可以写了,请问一下,更改相机的帧率为什么media-ctl拓扑图中没变化,a052c900-7d55-4023-897a-9d622f2baf6b-image.png

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

            @lin said in v4l2函数获取曝光值,为什么不行:

            我换了0xC10就可以写了,请问一下,更改相机的帧率为什么media-ctl拓扑图中没变化,

            分辨率和帧率你最好用media-ctl去改。嵌入式主板系统启动的时候会询问相机,后面只有media-ctl改动的时候才改驱动中的配置,并下发相机。
            你用mv_mipi_i2c.sh直接改了相机寄存器,嵌入式主板中的驱动部分并不会获得通知。

            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.)

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              lin @veye_xumm
              last edited by

              @veye_xumm media-ctl的设置功能能不能通过函数实现?有参考代码吗?

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

                @lin 这个我没有,建议你直接代码中调用media-ctl就行。

                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.)

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  lin @veye_xumm
                  last edited by

                  @veye_xumm 如果只修改帧率,这个语句怎么改写media-ctl -d /dev/media0 --set-v4l2 '"m00_b_mvcam 7-003b":0[fmt:Y8_1X8/1456x1088@1/60 field:none]'

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

                    @lin 1/60表示的就是60fps

                    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.)

                    L 1 Reply Last reply Reply Quote 0
                    • L Offline
                      lin @veye_xumm
                      last edited by

                      @veye_xumm media-ctl -d /dev/media0 --set-v4l2 '"m00_b_mvcam 7-003b":0[1/60 field:none]'这样吗?还是类型参数和大小都要写上才行?

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

                        @lin 参考一下part7.3

                        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