frames-extraction

1.1.2 • Public • Published

Video Frame Extractor With Frame Comparison (V-FEC)

A Node.js Command Line Interface (CLI) tool for extract videos frames and compare them.

Features

  • Extract frames from video file.
  • Compare frames and generate diff image.

Installation Global

npm install -g frames-extraction

Usage

frames-extraction --input <input_file> [--outputPath <output_directory>] [--threshold <threshold>] [--ffmpegParameters <ffmpeg_parameters>]

Installation Local

npm install

Usage

node src/presentation/cli.js --input <input_file> [--outputPath <output_directory>] [--threshold <threshold>] [--ffmpegParameters <ffmpeg_parameters>]

Options

  • --input - Input video file path.
  • --outputPath - Output directory path. Default: ./output.
  • --threshold - Threshold value for frame comparison. Default: 55.
  • --ffmpegParameters - FFMPEG parameters for frame extraction. Default: -vf fps=1 -q:v 2.

Show Case

node src/presentation/cli.js --input mov_bbb.mp4

Package Sidebar

Install

npm i frames-extraction

Weekly Downloads

2

Version

1.1.2

License

MIT

Unpacked Size

1.93 MB

Total Files

11

Last publish

Collaborators

  • ran-j