title: VLC: is it possible to auto record when Livestreamer opens a stream?
body: <p>I've installed <a href="http://docs.livestreamer.io/install.html" rel="nofollow">Livestreamer</a> and <a href="http://www.videolan.org/vlc/index.html" rel="nofollow">VLC</a> and have saved the following as "livestreamer_start.bat" on my desktop:</p>
  
  <pre><code> livestreamer twitch.tv/netherrealm source
  </code></pre>
  
  <p>So when I open that file it automatically opens VLC and plays the Twitch stream. I can then hit record, in VLC, manually. But I'm needing to have the record button automatically activated/pressed (I'm wanting to use Windows Task Scheduler to activate the .bat file at a later time).</p>
  
  <p>I tried adding this to a separate .bat file (<a href="https://www.videolan.org/doc/streaming-howto/en/ch06.html" rel="nofollow">via the docs</a>):</p>
  
  <pre><code>--sout file/mp4:stream.mp4
  </code></pre>
  
  <p>and running it after the first .bat, but nothing happens...I know I'm not using it correctly or missing something.</p>
  
  <p>Is there a simple command/way to have VLC auto record the stream it is currently playing?</p>