Keep the other part of pipeline active
I have written a gstreamer pipeline that does two things at a time using
tee. The first part of
tee goes into the RTSP server with
rtph264pay and the second part does JPEG encoding and writes the frames to the filesystem. The problem is
rtsp-server starts getting data from the Source only when someone connects, because of that the other part of pipeline that writes JPEG also stays inactive when no clients are connected. I want the other part of the pipeline to be active always, any tricks to achieve that?
Here is the pipeline :
rtspsrc location="someurl" ! rtph264depay ! h264parse ! tee name=t ! queue ! h264parse! rtph264pay name=pay0 pt=96 t. ! queue ! avdec_h264 ! jpegenc ! fakesink