Navigation

    VEYE IMAGING Forum

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

    UNSOLVED Stream h264 from camera VEYE-MIPI-IMX327S using v4l2

    VEYE MIPI camera
    1
    2
    294
    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.
    • D
      Dan_LionKing last edited by Dan_LionKing

      Hello.
      We use the h264 stream in the RPi system using veye_raspivid:

      veye_raspivid -n -t 0 -o - 
      

      But there was a need to work through v4l2. Call:

      gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)YUY2, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! videoconvert ! x264enc !  h264parse ! rtph264pay config-interval=1 pt=96 ! rtph264depay ! rtspclientsink protocols=tcp location=rtsp://0.0.0.0:8554/live/h264 latency=1000
      

      results something like this:
      pipeline stream error v4l2src0 ...

      How to get h264 stream via v4l2 from camera VEYE-MIPI-IMX327S?

      D 1 Reply Last reply Reply Quote 0
      • D
        Dan_LionKing @Dan_LionKing last edited by

        On the Tinker Edge T board, we get video from the camera using the command:

        gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)YUY2, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! glimagesink
        

        But when trying to get the h264 stream using the command:

        gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)YUY2, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! videoconvert ! x264enc !  h264parse ! rtph264pay config-interval=1 pt=96 ! rtph264depay ! rtspclientsink protocols=tcp location=rtsp://0.0.0.0:8554/live/h264 latency=1000
        

        An error is thrown:
        photo_2022-02-22_14-07-48.jpg

        How to get h264 stream?

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