Giter Site home page Giter Site logo

Comments (8)

moumini-creator avatar moumini-creator commented on June 11, 2024

Hello, I try to fix it, if you agree ?

from etro.

clabe45 avatar clabe45 commented on June 11, 2024

Thank you @moumini-creator! You can look at Movie#record for reference. Let me know if you have any questions!

from etro.

moumini-creator avatar moumini-creator commented on June 11, 2024

I was able to observe that there were only a few seconds of the video that was being played is this on purpose?

from etro.

clabe45 avatar clabe45 commented on June 11, 2024

Yeah, that's intentional. The whole movie should be 9 seconds long.

from etro.

moumini-creator avatar moumini-creator commented on June 11, 2024

So where's the code that controls the cutting of the video? Please. Or I don't quite understand what's going on, in which case please enlighten me on how it works.

from etro.

clabe45 avatar clabe45 commented on June 11, 2024

The code for the example is located in examples/introduction/export.html, if that's what you mean.

Movie#record is the method that renders the video to a file, so that's where the problem should be. It uses the native media recorder API to accumulate the image and audio data for each frame and convert it into one blob at the end. I wonder if changing the blob type in line 238 would fix it.

On a side note, you have probably run into the issue that the examples are not allowed to play (because of the browsers' autoplay policies). I am working on changing the examples so you have to click to start the movie. In the meantime, you should be able to prevent this behavior in your browser settings.

from etro.

clabe45 avatar clabe45 commented on June 11, 2024

@moumini-creator Hi, did that fix work? If not, feel free to comment any questions!

from etro.

clabe45 avatar clabe45 commented on June 11, 2024

This is no longer an issue, I suppose it was fixed in v0.7

from etro.

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.