Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    SOLVED Python capture does not work with VEYE IMX462

    VEYE MIPI camera
    2
    4
    433
    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
      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
        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
          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_xumm 1 Reply Last reply Reply Quote 0
          • veye_xumm
            veye_xumm @watchever last edited by

            @watchever
            You are right.

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