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

    Python capture does not work with VEYE IMX462

    Scheduled Pinned Locked Moved VEYE MIPI camera
    4 Posts 2 Posters 1.1k 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.
    • W Offline
      watchever
      last edited by

      Hi, I receive following error message when trying to call D_Capture method from python program on VEYE IMX 462

      mmal: mmal_port_connect: port 0x19120a0 is already connected
      mmal: mmal_connection_create: connection could not be made
      mmal: D_capture: Failed to connect camera video port to encoder input
      Segmentation Fault

      Preview works fine. I have tried several output formats I422, JPEG

      Following is my python code :
      buffer_array = self._camera.capture(encoding = 'jpeg')
      buffer_array.as_array.tofile(filename)
      self._camera.release_buffer(buffer_array)
      del buffer_array

      1 Reply Last reply Reply Quote 0
      • W Offline
        watchever
        last edited by

        Just to add some more informations, is it possible to capture while preview is displaying with the libdmipicam library or do I need to stop preview before capture ?

        1 Reply Last reply Reply Quote 0
        • W Offline
          watchever
          last edited by

          Ok just found the problem, need to stop_preview, make the capture then start_preview, as there is no port split on libdmipicam !

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

            @watchever
            You are right.

            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