npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

handstop

v1.0.3

Published

Handstop is a robust video encoding library for Node.js, built on the core of the HandBrake video encoding binary. It offers efficient video compression with three output formats optimized for web use: WebM-AV1, MP4-AV1, and MP4-x265. Each format comes wi

Downloads

23

Readme

Handstop - High-Performance Video Encoding Library for Node.js

Supported Platforms

Windows Node JS






Table of Contents 📝

Features and Benefits ✨

  • HandBrake Core Integration: Utilizes the powerful HandBrake video encoding binary, integrated seamlessly into Node.js.
  • Multiple Web-Optimized Formats: Supports WebM-AV1, MP4-AV1, and MP4-x265, catering to different web standards and playback needs.
  • Customizable Compression Presets: Three presets available for each format:
    • Level 1: Fastest encoding with larger file sizes.
    • Level 2: Balanced compression and performance.
    • Level 3: Highest compression with the smallest file sizes, achieving up to 93.16% compression.
  • GPU Acceleration with MP4-x265: Leverages Nvidia GPU for faster encoding with MP4-x265, while WebM-AV1 and MP4-AV1 are CPU-based, leading to slower encoding but offering higher compression ratios.
  • Optimized for Compression: AV1 format provides the highest compression ratio, making it ideal for minimizing file sizes without compromising quality.
  • Easy Integration: Designed for easy use within Node.js projects, enabling seamless video encoding workflows.

Use Cases ✅

  • Efficient video encoding for web-based applications with format-specific requirements.
  • Leveraging GPU acceleration for faster encoding in MP4-x265 formats.
  • Customizing video output based on desired file size and quality using compression presets.
  • Optimizing video content for streaming platforms and web delivery.
  • Experimenting with advanced video encoding techniques directly within Node.js.
  • Reducing video file sizes significantly while maintaining quality, particularly with AV1 formats.

🙏🏻 Friendly Request to Users

Every star on this repository is a sign of encouragement, a vote of confidence, and a reminder that our work is making a difference. If this project has brought value to you, even in the smallest way, please consider showing your support by giving it a star.

"Star" button located at the top-right of the page, near the repository name.

Your star isn’t just a digital icon—it’s a beacon that tells us we're on the right path, that our efforts are appreciated, and that this work matters. It fuels our passion and drives us to keep improving, building, and sharing.

If you believe in what we’re doing, please share this project with others who might find it helpful. Together, we can create something truly meaningful.

Thank you for being part of this journey. Your support means the world to us. 🌍💖


Installation - Step-by-Step Guide 🪜

  • Step 1: Install handstop package.
npm install handstop
  • Step 2: Check out demo repo for snippets. https://github.com/darsan-in/handstop-demo

Usage

  • Single and multi video encoding code snippets are available in handstop-demo repository.

In-Action 🤺

Below result is borrowed from Minomax demo repository, Minomax utilizes handstop under the hood. If you want compress your web media resources like html, css, js, video, pictures everything you can compress to efficient and smaller size as possible using Minomax.

result of handstop

License ©️

This project is licensed under the Apache License 2.0.

Contributing to Our Project 🤝

We’re always open to contributions and fixing issues—your help makes this project better for everyone.

If you encounter any errors or issues, please don’t hesitate to raise an issue. This ensures we can address problems quickly and improve the project.

For those who want to contribute, we kindly ask you to review our Contribution Guidelines before getting started. This helps ensure that all contributions align with the project's direction and comply with our existing license.

We deeply appreciate everyone who contributes or raises issues—your efforts are crucial to building a stronger community. Together, we can create something truly impactful.

Thank you for being part of this journey!

Website 🌐

https://www.npmjs.com/package/handstop

Contact Information

For any questions, please reach out via [email protected] or LinkedIn.

Credits 🙏🏻

To HandBrake

Handstop is built on the core of the HandBrake video encoding binary. We extend our deepest gratitude to the HandBrake organization and all contributors who have worked on the HandBrake project. Their hard work and dedication have made HandBrake one of the most powerful and versatile video encoding tools available.

Special thanks to:

  • Eric Petit (original author): For initiating the HandBrake project.
  • HandBrake Team: For continuously maintaining and improving the software over the years.
  • All Contributors: For their valuable contributions to the HandBrake project, making it what it is today.


Topics