![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Etro is a typescript framework for programmatically editing videos. It lets you composite layers and add filters (effects). Etro comes shipped with text, video, audio and image layers, along with a bunch of GLSL effects. You can also define your own layers and effects with javascript and GLSL.
npm i etro
Let's look at an example:
import etro from 'etro'
var movie = new etro.Movie({ canvas: outputCanvas })
var layer = new etro.layer.Video({ startTime: 0, source: videoElement }) // the layer starts at 0s
movie.addLayer(layer)
movie.record({ frameRate: 24 }) // or just `play` if you don't need to save it
.then(blob => ...)
The blob could then be downloaded as a video file or displayed using a <video>
element.
See the documentation for a list of all built-in layers.
Effects can transform the output of a layer or movie:
var layer = new etro.layer.Video({ startTime: 0, source: videoElement })
.addEffect(new etro.effect.Brightness({ brightness: +100) }))
See the documentation for a list of all built-in effects.
Most properties also support keyframes and functions:
// Keyframes
layer.effects[0].brightness = new etro.KeyFrame(
[0, -75], // brightness == -75 at 0 seconds
[2, +75] // +75 at 2 seconds
)
// Function
layer.effects[0].brightness = () => 100 * Math.random() - 50
See the documentation for more info.
To use Etro in Node, see the wrapper:
Start the development server (only used for convenience while developing; you don't need a server to use Etro):
npm i
npm run build
npm start
Now you can open any example (such as http://127.0.0.1:8080/examples/introduction/hello-world1.html).
See the contributing guide
Distributed under GNU General Public License v3. See LICENSE
for more
information.
[0.12.1] - 2024-02-19
TypeError: this.data is undefined
when applying a Transform
effect with a dynamic matrix.FAQs
An extendable video-editing framework for the browser
The npm package etro receives a total of 195 weekly downloads. As such, etro popularity was classified as not popular.
We found that etro demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.