<p>rtspsrc location=[IP] name=source 
! rtpjitterbuffer ! rtph264depay ! h264parse ! queue name=queue1 leaky=true ! mux.video splitmuxsink async-handling=true max-size-bytes=10485760 max-files=360 muxer=avimux location=D:/VideoStorageSplit2/video%06d.avi name=mux source.
! rtpjitterbuffer ! rtpmp4gdepay ! aacparse ! queue name=queue2 leaky=true ! mux.audio_0
</p>

<p>So I ended up adding some properties to the application. The memory seemed to shoot up to 77mb. </p>
<p>
<b>properties i set:</b><br/>
g_object_set(GST_OBJECT(pipe->rtpjitterbuffer1)<br/>
, "do-lost", TRUE<br/>
,"max-dropout-time",static_cast<gint>(20000)<br/>
,"rtx-max-retries",5<br/>
, nullptr);<br/>
g_object_set(GST_OBJECT(pipe->rtpjitterbuffer2)<br/>
, "do-lost", TRUE<br/>
, "max-dropout-time", static_cast<gint>(20000)<br/>
, "rtx-max-retries", 5<br/>
, nullptr);<br/>
g_object_set(GST_OBJECT(pipe->queue1)<br/>
, "leaky",2<br/>
,"flush-on-eos", TRUE<br/>
, nullptr);<br/>
g_object_set(GST_OBJECT(pipe->queue2)<br/>
, "leaky", 2<br/>
,"flush-on-eos", TRUE<br/>
, nullptr);<br/>
</p>
<p>
<b>Element Name   current-level-buffers   current-level-bytes   current-level-time</b><br/>
queue1 , 48693 , 17749538 , 4522319740088<br/>
queue2 , 0 , 0 , 4522319740088<br/>
<b>1 Second later Check:</b><br/>
queue1 , 48703 , 17753183 , 4523247721948<br/>
queue2 , 0 , 0 , 4523247721948<br/>
<b>1 Second later Check:</b><br/>
queue1 , 48714 , 17757192 , 4524269640878<br/>
queue2 , 0 , 0 , 4524269640878<br/>
<p>

        
        
        <div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
                                ------------------------------
<br/>Gstreamer 1.14.1
<br/>------------------------------
<br/>Windows
                        </div>
<br/><hr align="left" width="300" />
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>