Package Exports
- tinyh264
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tinyh264) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Tiny H264
This project was forked from h264bsd.
Available on npm as tinyh264 and meant to be used with a builder system like webpack as worker module.
All non-essential operations like color conversions, querying cropping parameters or render to canvas have been removed. All required decoding operations have been moved to C to optimize performance.
Quick tests show an up to 50% performance improvement on chrome, and up to 20% on Firefox.
Input is expected to be complete NALs as Uint8Array, the output result is a yuv420 buffer as Uint8Array.
This project was created for use in Greenfield
Building
Prerequisites
- Emscripten
- Rake
Make sure you have sourced the emscripten environment and run npm run build.