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

    调用摄像头方法

    Scheduled Pinned Locked Moved VEYE MIPI camera
    20 Posts 2 Posters 11.0k 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.
    • veye_xummV Offline
      veye_xumm @hxm
      last edited by

      @hxm 请参考一下这个文章。

      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
      • H Offline
        hxm
        last edited by

        只找到了打开一个的方法 还是不知道怎么同时打开并采集四个摄像头的视频

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

          @hxm 每一个摄像头都有一个对应的/dev/video*的设备节点用于获取图片,有一个对应的i2c-bus用于配置参数。

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

          H 2 Replies Last reply Reply Quote 0
          • H Offline
            hxm @veye_xumm
            last edited by

            @veye_xumm 您好 我用qv4l2 命令能分别预览我的四个摄像头 但是我想问一下 我要怎么才能同时预览四个摄像头并同时触发 开始采集视频呢?我现在点开始采集 但是还是没有视频流文件保存e2451c3c-ce61-4d8d-9fb0-e8aab47b9b9c-ec2bd8689419e82a54bb347ddee369d.jpg

            1 Reply Last reply Reply Quote 0
            • H Offline
              hxm @veye_xumm
              last edited by

              @veye_xumm 您好 麻烦您看一下

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

                @hxm
                这个取决于你上层软件的开发方案。 从摄像机驱动的层面,就像之前提到的:

                每一个摄像头都有一个对应的/dev/video*的设备节点用于获取图片,有一个对应的i2c-bus用于配置参数。

                如果你自己写程序那么完全可以自主操作几个设备节点取图。
                qv4l2的话,你可以手动开打并开始。

                用gstreamer命令行也可以。
                比如参考我们wiki的命令行,并行执行起来几个。

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

                H 2 Replies Last reply Reply Quote 0
                • H Offline
                  hxm @veye_xumm
                  last edited by

                  @veye_xumm 我就是普通的打开然后并行的采集视频,我看qv4l2命令也只能打开一个摄像头 可以具体指导一下吗 谢谢

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hxm @veye_xumm
                    last edited by

                    @veye_xumm said in 调用摄像头方法:

                    gstreamer

                    用QV4L2 我现在首先是没法一起打开四个摄像头,其次是打开一个摄像头 开始采集视频后,并没有将采集的视频保存下来

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

                      @hxm qv4l2好像一次只能打开一个。

                      建议你参考一下我们的gstreamer例程,写一个符合你需求的gstreamer脚本,并发执行。

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

                      H 1 Reply Last reply Reply Quote 0
                      • H Offline
                        hxm @veye_xumm
                        last edited by

                        @veye_xumm 那麻烦问一下 并行打开几个摄像头有哪些方法呢 想找个简单点的

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

                          @hxm 刚才说的这个方法就是我的知识体系中最简单的办法。

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

                          H 2 Replies Last reply Reply Quote 0
                          • H Offline
                            hxm @veye_xumm
                            last edited by

                            @veye_xumm 我发现我看了那个例程好像还是不会 😖

                            1 Reply Last reply Reply Quote 0
                            • H Offline
                              hxm @veye_xumm
                              last edited by

                              @veye_xumm 您好 我运行脚本后 我电脑就无法重启了 只显示一下画面:c4fde011-777e-4a3c-94ae-792998853d67-79c15ed84043afedf762bc955152300.jpg

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

                                @hxm 不好意思,你这个是mv系列的。
                                对应的的预览方案最简单的就是qv4l2了,MV系列的数据格式,gstreamer的支持并不好。
                                你要实现你的功能,建议还是自己编程实现,C的或者python的都可以。
                                https://wiki.veye.cc/index.php/Mv_series_camera_appnotes_4_jetson/zh#.E5.AE.9E.E6.97.B6.E9.A2.84.E8.A7.88

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

                                H 3 Replies Last reply Reply Quote 0
                                • H Offline
                                  hxm @veye_xumm
                                  last edited by

                                  @veye_xumm 您好 我现在电脑重启不了了 只显示到上述画面 我该怎么办 谢谢

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

                                    @hxm 调用gstreamer报错不会因此这个问题啊。现在这个现象我们没有遇到过。

                                    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
                                    • H Offline
                                      hxm @veye_xumm
                                      last edited by

                                      @veye_xumm 您好 利用python编程调用四个摄像头的例子有吗?或者是其他关于python调用mv摄像头的例子也行 谢谢

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        hxm @veye_xumm
                                        last edited by

                                        @veye_xumm b40957ff-5070-4cff-a777-b9b93c034495-88c7c574b5da2df01a26ee93c7b6ebd.png 您好 这里面几个的代码那个适合MV-MIPI-SC130M显示并采集视频流呢 谢谢

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

                                          @hxm fcf1a632-3381-4084-817b-f27489ad76ae-image.png

                                          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