title: Looping a video with gstreamer and gst-launch?
body: <p>I am able to play a video on the command line with gstreamer's <code>gst-launch</code> like this:</p>
  
  <pre><code>gst-launch gnlfilesource location=file:///tmp/myfile.mov start=0 duration=2000000000 ! autovideosink
  </code></pre>
  
  <p>This plays the first 2 seconds of the file in /tmp/myfile.mov, afterwards the video playback stops. Is there anyway to get this to loop repeatidly? i.e. turn the 2 second long <code>gnlfilesource</code> into an infinite length video that plays those 2 seconds again and again and again?</p>