I cannot vouch for this module as I have never used it, but I came
across a module on github just yesterday for streaming and recording
HTML5 Theora video .
http://github.com/pkrumins/node-video
Looks like it might be what you need, but I have node idea if it works
or not. :)
Thanks,
James
> --
> You received this message because you are subscribed to the Google Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
>
>
I have thought of possibly being able to receive in the browser frame by frame or a png and convert into base64, transmit (over xmpp in my thinking, through jquery stanza parsing and xpath element watching/replacing) --- in base 64 however -- and then de-base64 the image or frame on the server and put it back into the original stream or format (image) and build the video in as it is received.
I like how Clamd anti-virus takes in 15 bits at a time on the port its running on to try to stamp the data... Etc... Kind of same idea ..
PS: I don't post on this list much. I could be way off base on what I'm talking about here in relation to your question; I am just now making it a priority to become fully organized and aware of what's in my inbox (one of the items possibly being node-js; at least it currently is subscribed to).
PS For anyone that recalls my past statements: I may be willing to give node-js a full-time try at some point. I haven't looked at it for months. But it seems to be (topic wise) consistently following my trains of thought in this mailing list development idea and protocol wise. For the most part. :).
PS 2: XMPP isn't the overall end all answer; But messaging is..... and dom parsing ability. I have to look into what exactly node-js has evolved into. PS: Ajaxterm.org --- uses a method of just replacing the tcp packet frame of 1500 characters or so each time..... and just replacing the innerHTML. That is an interesting project for some debugging + thinking.
PS 2 (end sentence/off topic for sure now): Has anyone built a real-time direct terminal (web based of course) to work directly on a real linux server shell with node-js?
Okay; good luck with your video recording. PS if you can get video in the browser;From the Camera; I highly recommend debugging the DOM and looking for the object in it (the tree)... from there it's easy to transmit.
Matt Kaufman <mtthwkfmn>
--
I would be very interested if I am wrong on this. As an HTML5 method to capture live video from a webcam would be very cool.
Terry
I think at the moment the only way to get at a video stream from a web client is through flash, but there is no reason that flash couldn't send that stream to a node server.
I would be very interested if I am wrong on this. As an HTML5 method to capture live video from a webcam would be very cool.
To capture from a flash source would require implementing an RTMP server (see red5 for a FLOSS implementation).
If possible, I think a great intermediary solution to this problem would be emulating the HTML5 media device api with flash. The benefit of wrapping the HTML5 spec is to provide a layer that works for all browsers now, and an emulation layer for browsers that wont get HTML5 features for a while. This would also allow developers to render the image to canvas and/or also stream image data across the wire to a webservice (node) using websockets.my 2 cents..