title: How can I generate live video stream and stream via servlet?
body: <p>I am looking for an example of how to generate a live video stream from a series of images and stream it via java servlet.</p>
  
  <p>I can generate a video from images using <a href="http://www.xuggle.com/" rel="nofollow noreferrer">xuggle</a>. I tried using Red5 but I'm not convinced that it is what I need. I would rather stream directly via servlet from within my web app. I've also looked at this example <a href="https://stackoverflow.com/questions/3214422/how-to-transmit-live-video-from-within-a-java-application">here</a>, but it seems that xuggle has deprecated/removed some of the functionality that the code example is using.</p>