title: How do i use the VLC to auto replay as loop?
body: <p>VLC how can i apply auto loop of the given content while using with options? Following did not work to loop.  </p>
  
  <pre><code>private void start() {
  
      frame.setVisible(true);
      String mrl = "file:///home/sun/Downloads/t1.avi";
      // fails
  //    String[] options = {
  //      "--loops",
  //      "--repeat",};
  
      ///Applications/VLC.app/Contents/MacOS/VLC -vv qtcapture:// --sout='#transcode{vcodec=h264,vb=768,fps=25.0,scale=1}:standard{access=udp,mux=ts{dts-delay=9000},dst=239.0.0.5}'
  
      //mediaPlayer.playMedia(mrl, options);
      //String[] options = {"--loops"};
      // no luck fails too
      mediaPlayer.playMedia(mrl, 
              ":sout ':standard{loop}'");
  
  
    }
  </code></pre>