Giter Club home page Giter Club logo

videor's Introduction

Videor

Videor is an online web application for making short videos. Its UI allows the user to place various elements to make up the video. The finished video can be exported directly from the browser.

Status

Work in progress: nothing is done.

Method

At the core of this application is the MediaRecorder API.

The video gets built up using a canvas element. The MediaRecorder instance uses the canvas element to generate frames of the video. I have prototyped this in html-video.

To-Do

Figure out the best way to generate the video frames fast & without stutter

captureStream has a frameRate argument. The documentation says when 0 is supplied, the requestFrame method can be used to tell MediaRecorder to use the current state of the canvas for a frame. This seems preferable to setting the frame-rate upfront, because then the video must be generated in real time. The video will lag in case the code for generating the frames can't keep up with the desired frame rate. But even if it can, the video cannot be generated faster than real-time. Ideally, I'd find a way to generate the frames as fast as they can be generated and generate the video faster than its intended runtime, but also prevent the video from being laggy in case the frames can't be generated in real-time.

videor's People

Contributors

tomashubelbauer avatar

Watchers

 avatar  avatar  avatar

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.