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

    imx335无法在2560x1440 下进行预览

    Scheduled Pinned Locked Moved CS MIPI camera
    3 Posts 2 Posters 1.4k 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.
    • V Offline
      veyeuser
      last edited by

      imx335无法在2560x1440 下进行预览
      我使用jetson tx2 nx
      第一步是使用脚本配置videomode
      ./veye5_mipi_i2c.sh -w -f videomode -p1 4 -b 9
      第二步
      v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=5120
      第三步
      gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 ! "video/x-raw(memory:NVMM), width=(int)2560, height=(int)1440" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nv3dsink sync=false

      结果不是打摄像头,而是对桌面进行截屏。
      第三步是根据 2592x1944@20fps模式预览 的部分进行改写,只改变width和height。
      但是如果将第三步换成 2560x1440 的录像和抓拍,能够成功执行和生成视频文件和图像文件。
      请问 imx335 在videomode 3/4 情况下能否进行预览。

      veye_xummV 2 Replies Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @veyeuser
        last edited by

        @veyeuser
        第一步之前,有没有执行一下v4l2-ctl -d /dev/video0 --set-ctrl sensor_mode=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
        • veye_xummV Offline
          veye_xumm @veyeuser
          last edited by

          @veyeuser

          v4l2-ctl -d /dev/video0 --set-ctrl sensor_mode=3
          
          ./veye5_mipi_i2c.sh -w -f videomode -p1 4 -b 9
          
          v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=5120
          
          sleep 0.1
          
          gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 ! "video/x-raw(memory:NVMM), width=(int)2560, height=(int)1440" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nv3dsink sync=false
          

          我处执行无问题。

          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