It could be possible. Take a look at this (streaming ASCII art video using node.js + HTML5 + canvas):
http://www.nonblocking.io/2011/01/streaming-ascii-art-demo-on.html But it probably won't be very efficient. You could try to implement a simple MPEG decoder in javascript, but it probably won't be very fast. For a research project, it might be interesting (but not very practical). For a practical solution, you probably want something more like the HTML5 video tag, and stream an encoded video. This takes advantage of the browser's video codec engine, which is probably implemented in C, and may even use hardware acceleration to decode and overlay video. To manage seeking on the server, you could write a simple APE module that seeks within a file. See: http://kovyrin.net/2006/10/14/flash-video-flv-streaming-nginx/ for a solution using an nginx module. Thanks, Johnathan On Sun, Feb 27, 2011 at 4:13 PM, Marcel Tella <[email protected]> wrote: > Hi! I'm a student of telecommunication from Barcelona. > > I'm doing my final thesis and therefore I need to video stream from a > video source (such as a webcam or video given by another program) to a > webpage. > > I was wondering if it's possible with APE, and then, show the video on > the HTML 5 <video> tag. > > I've seen the demo in the web, MMORG I think, and it uses a canvas, > but I don't know if I can do this with html5. > > The first try will be to display a video stored in the server to the > web page through APE. and catch it with the <video> tag. > > For what I've read, is not difficult with APE I guess, buy I don't > know if it's possible. > > You you think it is possible? > > Then, the whole streaming purpose is to split the video into small > chunks and display them in a controlled way one by one by a > communication between server and client. This will achieve a smooth > video streaming. > > > Thank you for your help! I really appreciate it! > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
