title: VLC command line - Transcode
body: <p>I wanted to transcode a video with simple Windows Forms program.</p>
  
  <p>I'm creating process with arguments.</p>
  
  <p>My code:</p>
  
  <pre><code>        string vlc = @"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe";
          string dest=@"C:\Users\pc\Desktop\test.mp4";
  
          ProcessStartInfo p = new ProcessStartInfo
          {
              FileName = vlc,
              Arguments = @"% vlc C:/video.mpg :sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:std{access=file{no-overwrite},mux=mp4,dst="+dest+"}"
          };
          Process x = Process.Start(p);
          x.WaitForExit();
  </code></pre>
  
  <p>The problem is that it not working. The program launches VLC and there's nothing happening or getting errors from VLC</p>