The pipeline with the splitmuxsink is almost similar to this:

<div style="width:1000px;">gst-launch-1.0 --gst-debug=3 -e rtspsrc location=rtsp://10.64.52.18:554/s2 name=source <br/>
! rtpjitterbuffer ! rtph264depay ! h264parse config-interval=1 ! tee name=vtee ! queue ! queue ! mux.video_0 avimux name=mux ! filesink source. <br/>
! rtpjitterbuffer ! rtpmp4gdepay ! aacparse ! tee name=atee ! queue ! queue ! mux.audio_1</div>

The file seems to play fine and no problems with the file. 
difference: 
1. underrun sends constant message to the console memory increases slowly 
2. the video file went from 1min to 18 seconds which i prosume is dropping frames like crazy. 
3. In the beginning it showed a big number for the duration but now it shows the correct number of length of the video.



        
        
        <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/>