• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    coolpi 4b support ov5647 camera module

    Scheduled Pinned Locked Moved Peripheral
    24 Posts 8 Posters 4.3k Views
    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.
    • G
      gongxing
      last edited by

      如果遇到这个问题的话:

      coolpi@car-c:~$ gst-launch-1.0 v4l2src device=/dev/video11 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=25/1 ! videoflip method=vertical-flip !  mpph264enc ! rtspclientsink latency=0 location=rtsp://192.168.0.100:554/test
      Setting pipeline to PAUSED ...
      ERROR: Pipeline doesn't want to pause.
      ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open device '/dev/video11' for reading and writing.
      Additional debug info:
      v4l2_calls.c(621): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
      system error: Permission denied
      Setting pipeline to NULL ...
      Freeing pipeline ...
      
      

      执行命令前加上sudo,给上权限,摄像头就能用了

      大法师大 1 Reply Last reply Reply Quote 1
      • 大法师大
        大法师 @gongxing
        last edited by

        @gongxing 可以试下把你的用户加入到video组

        jack@cool-pi.com

        1 Reply Last reply Reply Quote 0
        • J
          jugg
          last edited by

          e936d28b-b7c4-46cc-855e-a96ec4ea27a9-image.png
          这是我接的CSI的摄像头
          用V4L2-TEST无法打开 选的/dev/video11

          dd0793f8-c09b-4a04-acf9-42f5ab856bb0-image.png
          Screenshot from 2023-08-22 05-15-52.png

          需要怎么样才能打开 内核是我自己编译的

          1 Reply Last reply Reply Quote 0
          • J
            jugg
            last edited by

            bd313915-1d42-49e0-9b46-27bbc2edb5c7-image.png
            461526f8-835f-4c60-9362-764dc4445baa-image.png
            这是用V4L2-TEST打开时demsg打印的

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