title: How to make a rtsp server with gstreamer on Windows?
body: <p>I am trying to create a RTSP server to stream the feed from my webcam but am encountering some issues.</p>
  
  <p>I already installed the lastest version of Gstreamer-devel for Windows 7 with all the plug-ins.</p>
  
  <p>I have been able to achieve this on LINUX with this C++ script :</p>
  
  <pre><code>gst_rtsp_media_factory_set_launch(factory,
                              "v4lsrc device="/dev/video0"
                              "! video/x-raw", format=(string)I420, width=(int)320, height=(int)240, framerate=(fraction)15/1"
                              "! x264enc" cabac=true tune=zerolatency byte-stream=true sliced-threads=true threads=0 speed-preset=1 "
                              "! rtph264pay pt=96 name=pay0 "
                              ")");
  </code></pre>
  
  <p>I can also visualize the webcam feed on WINDOWS through command line, with the command "gst-launch-1.0 ksvideosrc device-index=0 ! autovideosink"</p>
  
  <p>However, I am unable to do so on Windows through Visual Studio Express 2013.
  I have tried to replace "v4lsrc ..." with "ksvideosrc device-index=0" and to remove all other options to no avail.
  I have been able to compile the solution but cannot see the feed on VLC media player  </p>
  
  <p>Would you possibly know how to rectify this so I can obtain the webcam feed on Windows?  Are there any compatibility issues or things I should be aware of to enable operation with Windows?</p>