VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login
    1. Home
    2. veyeuser
    3. Topics
    V
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 4
    • Groups 0

    Topics

    • V

      imx335无法在2560x1440 下进行预览

      Watching Ignoring Scheduled Pinned Locked Moved CS MIPI camera
      3
      0 Votes
      3 Posts
      1k Views
      veye_xummV
      @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 我处执行无问题。
    • V

      imx335能够支持gstreamer和v4l2的视频流开发吗?

      Watching Ignoring Scheduled Pinned Locked Moved CS MIPI camera
      2
      0 Votes
      2 Posts
      1k Views
      veye_xummV
      @veyeuser 这个相机模组是带有isp功能的,其图像模式只有手册上标注的几种。 建议你使用脚本进行参数配置,v4l2接口只用于图像获取。
    • V

      imx335的sh脚本不能修改viewmode,

      Watching Ignoring Scheduled Pinned Locked Moved CS MIPI camera
      3
      0 Votes
      3 Posts
      1k Views
      V
      我用脚本设置了view mode 4 ,但是通过如下代码获取摄像头的设置,发现设置右变回 view mode 1 //3. set form of acquisition struct v4l2_format vfmt; // vfmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; // vfmt.fmt.pix.width = 2592; // vfmt.fmt.pix.height = 1944; // vfmt.fmt.pix.field = V4L2_FIELD_ANY; // vfmt.fmt.pix.pixelformat = V4L2_PIX_FMT_UYVY; // // int ret = ioctl(fd, VIDIOC_S_FMT, &vfmt); // if(ret < 0){ // perror("set form fail!"); // } // memset(&vfmt, 0, sizeof(vfmt)); vfmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; ret = ioctl(fd, VIDIOC_G_FMT, &vfmt); if(ret < 0){ perror("get form fail!"); } printf("width = %d\n", vfmt.fmt.pix.width); printf("height = %d\n", vfmt.fmt.pix.height); unsigned char *p = (unsigned char *)&vfmt.fmt.pix.pixelformat; printf("pixelformat=%c%c%c%c\n", p[0], p[1], p[2], p[3]); // printf("pixelformat = %d\n", vfmt.fmt.pix.pixelformat);