<div dir="ltr"><div>I wrote a simple test application that use appsrc /appsink and tee without a gst-rtsp-server context and can reproduce the issue.</div><div><br></div><div>In test.py in attachment, one of my tee branch is decoding and displaying videotestsrc, the other tee branch is muxing the h264 streams into a file.</div><div><br></div><div>When running<i> ./test.py</i> I have my content displayed.</div><div>When running <i>./test.py --serialize, </i>the matroska file is correctly fed but the video is never displayed.</div><div><br></div><div> I will investigate that further tomorrow. If someone could give me advice, that would be great.</div><div><br></div><div>Thanks,</div><div><br></div><div>Eloi<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 17, 2018 at 3:02 PM Eloi Bail <<a href="mailto:eloi.bail@gmail.com">eloi.bail@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi guys,</div><div dir="ltr"><br></div><div dir="ltr"> I am using gst-rtsp-server with appsrc/appsink so that I can have an independent running pipeline:</div><div dir="ltr"></div><div dir="ltr"><ul><li>my "appsink" pipeline is : videotestsrc ! queue ! x264enc speed-preset=ultrafast tune=zerolatency ! appsink. </li></ul></div><div dir="ltr"></div><div dir="ltr"><ul><li>my "RTSP" pipeline is : appsrc caps=video/x-h264, .... ! rtph264pay name=pay0</li></ul><br>I am writing appsink buffer timestamps by hand based on the framerate.<br><br>Now I want to have a tee so that videos are serialized in a mkv file while streaming over RTSP.</div><div dir="ltr"><br></div><div dir="ltr">I can't have 2 tee branches working together. If the serialization is enabled I notice that my <br>rtph264pay handle buffer is not smoothy running. I know that is it better to disable async when using tee. I did that for appsink and filesink.</div><div dir="ltr"><br></div><div dir="ltr">I can also have the whole pipeline working without appsrc/appsink with everything done in gst-rtsp-server pipeline. But then the lifecycle of serialization will follow RTSP client connection. That is the reason why I choose appsrc/appsink.</div><div dir="ltr"><br></div><div dir="ltr">Is my issue due to async management in gst-rtsp-server ?</div><div dir="ltr"><br></div><div>Thanks,</div><div><br></div><div>Eloi<br></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="font-size:12.8px;margin:0px"><b style="color:rgb(64,64,64);font-family:arial,helvetica,sans-serif">Eloi Bail</b></p><p style="margin:0px;font-size:13px"><span style="font-size:8pt;font-family:Verdana,sans-serif;color:rgb(89,89,89)" lang="EN-CA"><b><u></u> </b><u></u></span></p><p style="margin:0px;font-size:13px"><font face="arial, helvetica, sans-serif" color="#666666">1 rue Armand Barbes </font><b style="font-family:arial,helvetica,sans-serif"><font color="#333333">| </font></b><span style="color:rgb(102,102,102);font-family:arial,helvetica,sans-serif">35000 Rennes </span><b style="font-family:arial,helvetica,sans-serif;background-color:transparent"><font color="#333333">|</font></b><span style="color:rgb(102,102,102);font-family:arial,helvetica,sans-serif"> France </span><b style="font-family:arial,helvetica,sans-serif;background-color:transparent"><font color="#333333">|</font></b><span style="color:rgb(102,102,102);font-family:arial,helvetica,sans-serif"> </span></p><p style="font-size:12.8px;margin:0px"><font face="arial, helvetica, sans-serif" color="#666666">t. +33 6 58 37 46 14<br></font></p></div></div></div></div></div></div></div></div>