Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@cubicleai/yuv
Advanced tools
Readme
libyuv is an open source project that includes YUV scaling and conversion functionality.
For more information about libyuv
, visit Google's site at https://chromium.googlesource.com/libyuv/libyuv/
First, download and install cmake and make sure it
is available in your PATH
.
Then:
npm install @cubicleai/yuv
You will need cmake
available on any system (such as CI) which builds your
project, as there are no prebuilt binaries yet.
If you are processing video frames in Node.js, you may need to convert the color space
of such frames between a compact YUV chroma-subsampled format (like YUV 4:2:0) and RGB0
and vice versa. You may also need to scale the video frame from one size to another
performantly with various sampling methods. libyuv
provides these capabilities,
and using this binding you can very easily perform these conversions.
It works very well with libraries like @cubicleai/wrtc.
Currently there are no prebuilt binaries available. On a modern system, building
libyuv
from scratch takes approximately 30 seconds and requires downloading
about 17MB of source code.
10.0.19041.0
or later is recommended.The Visual Studio Code C# extension opens OmniSharp with the "build" folder open as the current working directory. This is not a C# project, so it is safe to find the "C#" extension in your editor's Extensions list and "Disable (Workspace)". This will only affect this workspace, not any other projects you may have on your machine.
PRs are welcome!
FAQs
Bindings to libyuv, provides conversion utilities for in-memory YUV video frames
The npm package @cubicleai/yuv receives a total of 3 weekly downloads. As such, @cubicleai/yuv popularity was classified as not popular.
We found that @cubicleai/yuv 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.