Git Product home page Git Product logo

Comments (4)

jeromewu avatar jeromewu commented on August 15, 2024 1

For a quick solution, you can use Worker.run with the solution here: https://stackoverflow.com/questions/27568254/how-to-extract-1-screenshot-for-a-video-with-ffmpeg-at-a-given-time

We will consider adding this api to Worker to make it more convenient.

from ffmpeg.wasm.

jeromewu avatar jeromewu commented on August 15, 2024

Can you elaborate more about this requirement? Not sure about the meaning of frames by frames.

from ffmpeg.wasm.

josephrocca avatar josephrocca commented on August 15, 2024

I think they want to extract the "real" frames of the video. This is (at least when I last tried it) really hard to do using web APIs (e.g. by drawing a video to a canvas and saving the frames), because you end up with the frames from the display frame rate rather than the video's frame rate.

I think this problem may actually be semi-solved by a new upcoming feature in browsers: HTMLVideoElement.requestAnimationFrame().

More info: https://www.chromestatus.com/feature/6335927192387584 Chrome 81 is expected to land in March. And obviously much longer until it's supported by most browsers.

from ffmpeg.wasm.

vasanthudhaya avatar vasanthudhaya commented on August 15, 2024

Hi @jeromewu Sorry for the late reply.

I meant the video frames, video frame extractor at a particular start and end time.

from ffmpeg.wasm.

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.