0

We're trying to use appsink from one pipeline, which reads camera image data from appsrc using aravis library in gst-rtsp-server as a buffer provider for need-data signal.

The camera is acquiring image data in BayerRG8 pixel format, we convert it using bayer2rgb then link to videoconvert and send result to appsink.

We used source code of arv-viewer tool to acquire frames from camera and appsrc example of gst-rtsp-server.

Question:
Can we use appsink for rtsp server's appsrc in need-data callback, and which pipeline launch to use in media factory for our appsink?

The appsink is shared between 2 services:
one dealing with camera and another dealing with server?

VC.One
16.2k4 gold badges27 silver badges66 bronze badges
asked Feb 8, 2024 at 17:12
2
  • I don't use GStreamer but if you can get the result of appsink as H.264 bytes (in Array) then maybe just have your app do a connection to the RTSP server and then manually send (to server) the array that you receive from appsink. This should avoid needing 2 GStreamer pipelines. Commented Feb 9, 2024 at 15:09
  • not sure about appsink but I have successfully implemented this using shmsink and shmsrc Commented Feb 15, 2024 at 22:29

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.