5 ms·
Whammy: A Real Time Javascript WebM Encoder
- guscost 14y agoHow does Web Audio work with WebM?
- tagawa 14y agoIf you mean the Web Audio API, there's no connection. WebM uses Vorbis for the audio stream. Also, this in-browser WebM encoding is video only - no audio yet.
- franze 14y agohi, i just wanted to say: awesome! i'm currently working on making getUsereMedia useable and really simple with introduction high level abstractions like getUserVideo and getUsereAudio (you can take a sneak peak here https://github.com/franzenzenhofer/Sinne https://github.com/franzenzenhofer/Sinne). if i hook it up with whammy then we have a 100% client side (saveable) video recorder.
- drivebyacct2 14y agoI don't think that you can access the data in the media stream that way. (Yet). Also, MediaRecorder is part of the proposed WebRTC (or rather, now, MediaStream and PeerConnection APIs).
- franze 14y agosimple workaround: get the webcam input stream into a video element, write the video frames into a canvas, push the canvas(frames) to whammy == client side video recorder
- rictic 14y agoThis is cool, but I was surprised: why is interframe compression basically impossible here?
- TazeTSchnitzel 14y agoI'm guessing because it's too slow to be practical.
- sp332 14y agoIt just stacks together WebP images that were rendered individually into a WebM video stream.
- reedlaw 14y agoWhat would be the use case for this? Can it record a users browsing session?
- tagawa 14y agoFor me, the main use case would be creating an OS-independent web app for WebM conversion rather than relying on a desktop program. Together with the File Reader API this could be done locally without having to upload a video.
- TazeTSchnitzel 14y agoSome sites produce videos mash-ups (greeting cards sites where you can add your face to the video, for instance). Being able to do it client-side would greatly reduce server load for them. Of course, the lack of interframe compression makes this less useful for this purpose.