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

    Stream h264 from camera VEYE-MIPI-IMX327S using v4l2

    Scheduled Pinned Locked Moved VEYE MIPI camera
    2 Posts 1 Posters 744 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.
    • D Offline
      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 Offline
        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

        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