antimatter15 / whammy

A real time javascript webm encoder based on a canvas hack
http://antimatter15.github.com/whammy/clock.html
MIT License
1.02k stars 182 forks source link

mp4 support #39

Open theavijitsarkar opened 8 years ago

theavijitsarkar commented 8 years ago

Can we get the file as a mp4?

positlabs commented 8 years ago

Whammy: A Real Time Javascript WebM Encoder

It's out of scope for this project, IMO.

theavijitsarkar commented 8 years ago

@positlabs I need to get a mp4 or 3gp video file from a canvas animation or gif image. What could be a solution?

positlabs commented 8 years ago

Send the frames to your server for processing. You can then use ffmpeg, which can encode virtually any format

theavijitsarkar commented 8 years ago

Yes I was considering that.. However isnt there any way at all to get it done client side? ffmpeg-asm.js is huge, I cant use that

positlabs commented 8 years ago

I think you'll be hard pressed to find a client side solution. If I were you, I'd go with the server upload solution.

theavijitsarkar commented 8 years ago

Gone that way! thanks

On Sun, Apr 24, 2016 at 11:52 PM, Josh Beckwith notifications@github.com wrote:

I think you'll be hard pressed to find a client side solution. If I were you, I'd go with the server upload solution.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/antimatter15/whammy/issues/39#issuecomment-214018091

xooxdoo commented 8 years ago

Isn't there any sort of asm.js mp4 module for this ?

positlabs commented 8 years ago

There is, but you would need to have users download a massive js file. https://github.com/muaz-khan/WebRTC-Experiment/tree/master/ffmpeg

xooxdoo commented 8 years ago

Maybe a branch supporting MP4 for people who want mp4 and don't mind a gigantic file like that :D because that would be cool and some need it

xooxdoo commented 8 years ago

You know just looked in to it, the API seams really clear no need to hassle with a new branche :D