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

eii

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eii

extract video to gif

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

EII

EII use ffmpeg to convert video to gif, let us can easily intercept want pictures.

Required

brew install ffmpeg

Installation


$ yarn add eii

Usage

import eii from 'eii'

const test = eii({input: 'foo/bar.mkv', outDir: 'foo/bar'})

test.start()

/*
耗时4.748s, 已完成: 1, 还剩余: 142
耗时9.33s, 已完成: 2, 还剩余: 141
耗时14.812s, 已完成: 3, 还剩余: 140
耗时21.59s, 已完成: 4, 还剩余: 139
...
*/

Api

|field|default|required| desc | |---|---|---|---| --- | |input| | true | Video file address| |outDir| current dir | |The output file directory | |fps| 10 | |frames per second | |time| 10 | | Every how many seconds to extract| |height|auto| | What do you want to output ratio, like: 720 1080 | |startSec| 0 | | How many seconds from the beginning|

Example

preview

license

MIT. Copyright (c) viii.

FAQs

Package last updated on 08 Jan 2017

Did you know?

Socket

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.

Install

Related posts

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