title: streaming a webcam feed over rtsp using ffmpeg & ffserver to an android client
body: <p>I am trying to stream my webcam over rtsp and open the stream using android. 
  I managed to get the first part working (rtsp stream) using ffserver and ffmpgeg. Here is my ffserver.conf file :</p>
  
  <pre><code>HTTPPort 8000
  RTSPPort 8001
  HTTPBindAddress 192.168.1.74
  RTSPBindAddress 192.168.1.74
  MaxClients 100
  MaxBandwidth 10000
  NoDefaults
  
  &lt;Feed witty.ffm&gt;
     File /tmp/witty.ffm
     FileMaxSize 20M
  &lt;/Feed&gt;
  
  &lt;Stream witty.mov&gt;
     Feed witty.ffm
     Format rtp
     VideoSize 640x480
     VideoQMin 1
     VideoQMax 20
     VideoFrameRate 30
     VideoBitRate 500
     AVOptionVideo flags +global_header
     VideoCodec libx264
     AVPresetVideo baseline
     NoAudio
  &lt;/Stream&gt;
  </code></pre>
  
  <p>ffserver : </p>
  
  <pre><code>ffserver -f -d ffserver.conf // luch the server
  </code></pre>
  
  <p>and then I use FFmpeg to open the webcam (Mac OS) </p>
  
  <pre><code>ffmpeg -f avfoundation -i "default" http://192.168.1.74:8000/witty.ffm
  </code></pre>
  
  <p>I can open the stream from VLC but on android using a videoView i am getting an error (1,-38) and an alert view saying "can't play this video".</p>