Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

silencecut-ffmpeg

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

silencecut-ffmpeg - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

12

dist/cli.js

@@ -13,3 +13,3 @@ "use strict";

console.log(`
Usage: silentremove-ffmpeg [options] <output file>
Usage: silencecut-ffmpeg [options] <output file>

@@ -25,13 +25,13 @@ Options:

# Using default duration (1 second) and noise level (-50 dB) thresholds
silentremove-ffmpeg -i in.mp4 out.mp4
silencecut-ffmpeg -i in.mp4 out.mp4
# Custom thresholds: 1.5 seconds of silence and -40 dB noise level
silentremove-ffmpeg --input in.mp4 --duration-threshold 1.5 --noise-level-threshold -40 out.mp4
silencecut-ffmpeg --input in.mp4 --duration-threshold 1.5 --noise-level-threshold -40 out.mp4
# Fast-paced cutting: detect silence shorter than 0.2 seconds and noise below -40 dB
silentremove-ffmpeg out.mp4 -i in.mp4 -n -40 -d 0.2
silencecut-ffmpeg out.mp4 -i in.mp4 -n -40 -d 0.2
`.trim());
}
function failure() {
console.error(`Hint: run "silentremove-ffmpeg --help" to see available options and examples.`);
console.error(`Hint: run "silencecut-ffmpeg --help" to see available options and examples.`);
process.exit(1);

@@ -68,3 +68,3 @@ }

case '--version':
console.log(`silentremove-ffmpeg v${version}`);
console.log(`silencecut-ffmpeg v${version}`);
process.exit(0);

@@ -71,0 +71,0 @@ case '-h':

{
"name": "silencecut-ffmpeg",
"version": "1.0.2",
"version": "1.0.3",
"description": "Auto cut out silent sections from video using ffmpeg filter silencedetect and silenceremove.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -5,3 +5,3 @@ # silencecut-ffmpeg

[![npm Package Version](https://img.shields.io/npm/v/silentremove-ffmpeg)](https://www.npmjs.com/package/silentremove-ffmpeg)
[![npm Package Version](https://img.shields.io/npm/v/silencecut-ffmpeg)](https://www.npmjs.com/package/silencecut-ffmpeg)

@@ -22,3 +22,3 @@ ## Features

```bash
npx -y silentremove-ffmpeg [options]
npx -y silencecut-ffmpeg [options]
```

@@ -32,3 +32,3 @@

To avoid the overhead of npx checking for updates on every run, you can install `silentremove-ffmpeg` as a project dependency. This also ensures that the version you install is locked and won’t apply breaking changes unless you explicitly update it.
To avoid the overhead of npx checking for updates on every run, you can install `silencecut-ffmpeg` as a project dependency. This also ensures that the version you install is locked and won’t apply breaking changes unless you explicitly update it.

@@ -42,3 +42,3 @@ Installing the package as a dependency also allows you to use the API programmatically from your Node.js or TypeScript code, enabling more advanced usage like integrating the tool into larger workflows.

```bash
npm install silentremove-ffmpeg
npm install silencecut-ffmpeg
```

@@ -49,10 +49,10 @@

```bash
npx silentremove-ffmpeg [options]
npx silencecut-ffmpeg [options]
```
You can also install `silentremove-ffmpeg` with [pnpm](https://pnpm.io/), [yarn](https://yarnpkg.com/), or [slnpm](https://github.com/beenotung/slnpm)
You can also install `silencecut-ffmpeg` with [pnpm](https://pnpm.io/), [yarn](https://yarnpkg.com/), or [slnpm](https://github.com/beenotung/slnpm)
## Usage Example
You can use `silentremove-ffmpeg` from cli or from nodejs.
You can use `silencecut-ffmpeg` from cli or from nodejs.

@@ -62,3 +62,3 @@ ### Cli Usage

```bash
silentremove-ffmpeg [options] <output file>
silencecut-ffmpeg [options] <output file>
```

@@ -79,3 +79,3 @@

```bash
silentremove-ffmpeg -i in.mp4 out.mp4
silencecut-ffmpeg -i in.mp4 out.mp4
```

@@ -86,3 +86,3 @@

```bash
silentremove-ffmpeg --input in.mp4 --duration-threshold 1.5 --noise-level-threshold -40 out.mp4
silencecut-ffmpeg --input in.mp4 --duration-threshold 1.5 --noise-level-threshold -40 out.mp4
```

@@ -92,3 +92,3 @@

```bash
silentremove-ffmpeg out.mp4 -i in.mp4 -n -40 -d 0.2
silencecut-ffmpeg out.mp4 -i in.mp4 -n -40 -d 0.2
```

@@ -99,3 +99,3 @@

```typescript
import { silentDetectAndRemove } from 'silentremove-ffmpeg'
import { silentDetectAndRemove } from 'silencecut-ffmpeg'

@@ -102,0 +102,0 @@ silentDetectAndRemove({

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc