title: gst-launch equivalent for gst-play
body: <p>Is it possible to get <code>gst-launch</code> string equivalent for any <code>gst-play</code> command?</p>
  
  <p>For example, playing rtsp stream with <code>gst-play</code> could be:</p>
  
  <blockquote>
  <pre><code>gst-play-1.0.exe rtsp://path/to/source 
  </code></pre>
  </blockquote>
  
  <p>That command makes connect to server and opens internal (gstreamer) window for playing.</p>
  
  <p>Equivalent command could be (I don't really sure):</p>
  
  <blockquote>
  <pre><code>gst-launch-1.0.exe uridecodebin uri=rtsp://path/to/source ! autovideosink
  </code></pre>
  </blockquote>
  
  <p>But how to get it in general case?</p>
  
  <p>My main purpose is to redirect video stream to an avi-file while I know only good <code>gst-play</code> command. So I need to replace <code>autovideosink</code> with <code>filesink</code> in result command.</p>