<div dir="ltr"><div dir="ltr"><div dir="ltr">OK, I have run the below pipeline with extra decode -> encode -> parse as you have been using. Additionally I have added <font size="1">gst_base_parse_set_pts_interpolation(GST_BASE_PARSE(parser), 1);</font> in the C program.</div><div dir="ltr"><br></div><div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">gst-launch-1.0  -e rtspsrc location="rtsp://<usrnm>:<pass>@<URL>" name = d !  rtph264depay ! h264parse config-interval=1 ! avdec_h264  ! x264enc ! splitmuxsink name = mux location=a1_video%02d.mp4 max-size-time=2000000000 max-files=5</blockquote><div><br></div><div>But it turned only worse than before, the OOM killer gets invoked even with single pipeline. (Previously: Without the extra 'decode-> encode -> parse' I was able to run 3 pipelines without any issues. Once i add a 4th pipeline, the memory keeps growing.)</div><div><br></div><div>I have not tried with modification in splitmuxsink's queue yet.</div><br class="gmail-Apple-interchange-newline"></div><div dir="ltr"><br></div><div dir="ltr"><br><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 8, 2018 at 12:12 PM killerrats <<a href="mailto:koreysjunkmail@gmail.com">koreysjunkmail@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Here are the files that are splitmuxsink modified that I did</p>
<a href="http://gstreamer-devel.966125.n4.nabble.com/file/t377034/gstSplitMuxSink.h" rel="nofollow" link="external" target="_blank">gstSplitMuxSink.h</a>
<a href="http://gstreamer-devel.966125.n4.nabble.com/file/t377034/gstSplitMuxSink.cpp" rel="nofollow" link="external" target="_blank">gstSplitMuxSink.cpp</a>

        
        
        <div class="m_7163611195857644696signature" style="margin-top:1em;color:#666666;font-size:11px">
                                ------------------------------
<br>Gstreamer 1.14.4
<br>------------------------------
<br>Windows
                        </div>
<br><hr align="left" width="300">
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/" target="_blank">GStreamer-devel mailing list archive</a> at Nabble.com.<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>