title: Reduce gstreamer pipeline latency
body: <p>I'm converting an RTSP stream to HLS but I get about 30s of delay. Can someone help me reducing it?</p>
  <p>Thanks in advice. This is the pipeline:</p>
  <pre><code>gst-launch-1.0 rtspsrc location=rtsp://admin:@192.168.1.27:554/ch0_0.265 ! decodebin ! videoconvert ! video/x-raw ! x264enc ! mpegtsmux ! hlssink location=/somewhere/segment_%05d.ts playlist-location=/somewhere/playlist.m3u8 target-duration=5 max-files=5
  </code></pre>