Skip to content

Generating movie from images in memory #9

@danvoyce

Description

@danvoyce

I'm trying to convert a Canvas animation into a video. As the animation may not run at 60fps I'm thinking I want to create a still image of each frame like so

thumbnailCanvas.toDataURL('image/jpeg', 1);

and then stitch them all back together to make the video.

As I want this to run completely client side, I don't have the option of creating a temp /images folder and iterating over that.

Is this possible with ffmpeg.js? I've been playing around with worker.run(... but can't seem to figure out the correct arguments and options.

Thanks for any help (and awesome lib btw!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions