title: VLC live http streaming to Android
body: <p>I'm trying to do http live streaming from VLC to an android app using VideoView.</p>
  
  <p>I have 3gp video and use vlc to stream it: </p>
  
  <pre><code>cvlc -vvv video.3gp --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:standard{access=http,mux=ogg,‌​dst=128.0.0.6:9090/jlanza}' 
  </code></pre>
  
  <p>In my android I set the videoview source to http:// and to httplive:// but nothing is displayed. I always get an error.</p>
  
  <p>Can anybody explain to me how to configure vlc for http live streaming?</p>
  
  <p>Edit: Solution to my problem</p>
  
  <pre><code>cvlc -vvv video.mp4 --sout '#transcode{vcodec=h264,vb=100}:standard{access=http,mux=ts{use-key-frames},dst=:9090}'
  </code></pre>
  
  <p>then the url is <a href="http://@server:9090" rel="nofollow">http://@server:9090</a> </p>