Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Changelog
[0.8.5] - 2022-03-06
vd.effect.Base
- All visual effects now inherit from vd.effect.Visual
instead.Can't find variable: AudioContext
on WebKit browsers.Readme
Etro was previously known as Vidar, but it had to be renamed to avoid confusion with an existing software product.
Etro is a typescript framework for programmatically editing videos. Similar to GUI-based video-editing software, it lets you composite layers and add 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.
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) }))
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
To use Etro in Node, see the wrapper:
First, download the assets for the examples:
npm run assets
Then, start the development server (only used for convience while developing; you don't need a server to use Etro):
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.
FAQs
An extendable video-editing framework for the browser and Node
The npm package vidar receives a total of 20 weekly downloads. As such, vidar popularity was classified as not popular.
We found that vidar demonstrated a not healthy version release cadence and project activity because the last version was released 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.