<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
Hi, dear GStreamer community,<br>
<br>
My company manufactures cameras. I am trying to create an
application that shares the data from these cameras over RTSP. Here
is the launch string for GstRTSPMediaFactory: "( appsrc
name=ourcamera ! queue ! x265enc speed-preset=5 tune=4
option-string=colormatrix=gbr:lossless=true ! rtph265pay name=pay0
pt=96 )".<br>
<br>
It turned out I must assign a timestamp zero to the first GstBuffer
I send down this pipeline. Otherwise, if I assign a timestamp x
seconds to the first GstBuffer, videoencoder will force appsink0
(added by RTSPClient) to wait for x seconds before sending the data.<br>
<br>
It means that if I have several connections to the RTSP server, I
cannot send the same frame down all their pipelines, I have to make
multiple copies of GstBuffer, just to be able to assign different
timestamps.<br>
<br>
Is this first timestamp delay a bug in GStreamer, or is this
intentional? If this is intentional, is there a way to avoid
multiple copies of the same frame?<br>
<br>
Thank you.<br>
Andrey.<br>
</body>
<lt-container></lt-container>
</html>