title: Transcoding MJPEG to FLV or MP4
body: <p>I want to transcode MJPEG stream that comes from IP camera (<a href="http://xx.yy.zz.tt:8080/video.cgi" rel="nofollow noreferrer">http://xx.yy.zz.tt:8080/video.cgi</a>) to FLV or MP4 stream under Linux OS so that users can play the file using a web based Flash player such as <a href="http://flowplayer.org/" rel="nofollow noreferrer">Flowplayer</a>. </p>
  
  <p>I discovered VLC for that purpose but I cannot figure out the exact command line string. I also need HTTP authentication feature since IP camera access is password protected.</p>
  
  <p>I also interested in any non-VLC solution if any (ffmpeg?).</p>