Skip to content

Extract frames from a video and compare them to find the most similar ones.

Notifications You must be signed in to change notification settings

ran-j/frames-extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Extract frames from a video and compare them to find the most similar ones.

Resources

Stars

Watchers

Forks

Packages

No packages published