View my account

D415 Depth frames streaming

Comments

4 comments

  • MartyG

    Hi Juan Diezyanguas  As you are using GStreamer as your backend, you could consider using the GStreamer plugin for RealSense at the link below to stream depth frames if you are not using the plugin already.

    https://github.com/WKDSMRT/realsense-gstreamer

     

    You may have tried the plugin already as I referenced it on one of your previous cases on this support forum.

    https://support.intelrealsense.com/hc/en-us/community/posts/26680361898131/comments/26705746413459

     

    Because the Linux version of the RealSense SDK uses the V4L2 backend as its default backend, if the SDK is built from source code in 'native' mode (a kernel-patched build where RSUSB = false) then its raw streams can be accessed by standard Linux tools, though they will not be colored as nicely as the streams in the RealSense SDK.

     

    Intel have a white-paper guide about converting depth data into image files and then converting the image file back into depth data.  This guide was an experimental proof of concept and Intel do not recommend using it (the conversion from image back to depth data is difficult to implement), but you are welcome to read the information.

    https://dev.intelrealsense.com/docs/depth-image-compression-by-colorization-for-intel-realsense-depth-cameras

     

    Intel's ethernet networking tool rs-server uses the RTSP protocol, though RealSense users have found that they could only access the RTSP feed through the RealSense SDK and not with other streaming tools that are compatible with RTSP.

    https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras

    0
    Comment actions Permalink
  • MartyG

    The rs-server tool was removed from the SDK in version 2.54.1, so 2.53.1 or older must be used in order to build the SDK with rs-server networking support included.

    0
    Comment actions Permalink
  • Juan Diezyanguas

    Hi MartyG

    I'm not using raspberry or rs-server. I'm using a C# app connected directly reading directly from USB interface of RealSense camera using RealSense Api.

    With rgb frames I'm doing some processing like motion detect using OpenCv and after that I'm writing frames using OpenCv VideoWriter with Gstreamer to stream frames with MediaMtx server.

    I'm working on this way because I can modify rgb frames before stream it and also with MediaMtx server I can stream to multiple clients. I have better camer control than using rs-server.

    I'll take a look at Gstreamer plugin but I have first to build it from source since it seem that it's not available for download.

    With regards,

    0
    Comment actions Permalink
  • MartyG

    Please update here when you have the opportunity to test the GStreamer plugin.  Good luck!

    0
    Comment actions Permalink

Please sign in to leave a comment.