Giter VIP home page Giter VIP logo

Comments (17)

antimatter15 avatar antimatter15 commented on June 1, 2024

Last I checked, Firefox doesn't support WebP images, so I don't think whammy can work.

from whammy.

semprom avatar semprom commented on June 1, 2024

Well F*. I didn't see that comming.
Isn't there a way to use some of the plugins ( like Libwebp Javascript ) to add support for Firefox?

Thank you :/

from whammy.

antimatter15 avatar antimatter15 commented on June 1, 2024

it should be possible to use libwebp in order to get it to work, though at that point you might as well use emscripten and ffmpeg like http://devcomo.2013.nodeknockout.com/.

from whammy.

semprom avatar semprom commented on June 1, 2024

This is interesting but the library is too big for my needs. Can you push a
patch to whammy for it to work with Firefox, or give me instructions on how
to do it myself?

Thanks!

from whammy.

semprom avatar semprom commented on June 1, 2024

The ffmpeg js library won't work for me.
Here is what i want to do. Record a video in webm via webcam and then convert it to gif.
Everything is ok until i find out that Firefox won't be supported which is stupid because many people use Firefox.
Can you implement the WebP library in Whammy for it can work with Firefox?

from whammy.

antimatter15 avatar antimatter15 commented on June 1, 2024

What do you mean by recording a video in webm via webcam?

from whammy.

semprom avatar semprom commented on June 1, 2024

WebRTC + Whammy. I want to be able to record clips using the camera, all in
the browser.

from whammy.

jhk115 avatar jhk115 commented on June 1, 2024

@semprom Have you checked out https://www.webrtc-experiment.com/RecordRTC? He uses JSGif (https://github.com/antimatter15/jsgif) to achieve what you are trying to do. Seems to work on FF.

from whammy.

semprom avatar semprom commented on June 1, 2024

I have. First I was going to use this but then i decided not to. When
recording there is huge lag. The gif is laggy and not smooth like I want.

from whammy.

antimatter15 avatar antimatter15 commented on June 1, 2024

The reason whammy is fast on chrome is because it's almost entirely native-
all the encoding is done by hijacking the WebP capabilities of toDataURL.
Using webp.js in place of a native encoder will make something probably
substantially slower than jsgif.
On Dec 31, 2013 2:04 AM, "semprom" [email protected] wrote:

I have. First I was going to use this but then i decided not to. When
recording there is huge lag. The gif is laggy and not smooth like I want.


Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-31386036
.

from whammy.

semprom avatar semprom commented on June 1, 2024

Hm. Firstly happy new year! :D
Can you suggest a way in which I would be possible to do this without major lag like record rtc and be supported by Chrome and Firefox?

Thanks!

from whammy.

semprom avatar semprom commented on June 1, 2024

Hi.
Look what I have found. www.videomail.io This website crates .webm when
using Google Chrome and .mp4 when using Firefox.
Do you have any idea what they are using for the mp4 recording?

Thank you!

2013/12/31 Kevin Kwok [email protected]

The reason whammy is fast on chrome is because it's almost entirely
native-
all the encoding is done by hijacking the WebP capabilities of toDataURL.
Using webp.js in place of a native encoder will make something probably
substantially slower than jsgif.
On Dec 31, 2013 2:04 AM, "semprom" [email protected] wrote:

I have. First I was going to use this but then i decided not to. When
recording there is huge lag. The gif is laggy and not smooth like I
want.


Reply to this email directly or view it on GitHub<
https://github.com/antimatter15/whammy/issues/10#issuecomment-31386036>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-31399760
.

from whammy.

jhk115 avatar jhk115 commented on June 1, 2024

I may be wrong, @semprom taking a quick look at the source code, I am suspecting that they are sending over the individual frames to the server using node.js and putting it together in the server side.

from whammy.

semprom avatar semprom commented on June 1, 2024

Interesting. This will do me just fine for what I am trying to do. Can you
give some sort of a clue on how to do it?

Thank you!

from whammy.

antimatter15 avatar antimatter15 commented on June 1, 2024

You can use toDataURL('image/jpeg') on each frame, and concatenate all the strings and send them over to the server which could unpack them into some temporary directory and use ffmpeg to merge them into a video (see https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images)

from whammy.

1000i100 avatar 1000i100 commented on June 1, 2024

1 year later, it steel not work with firefox, is there some hope ?

from whammy.

yaooke avatar yaooke commented on June 1, 2024

another year later....nobody?

from whammy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.