get-movie-extra-name

1.0.6 • Public • Published

get-movie-extra-name

A simple command line script to get the title of an "extra" video file from a movie. This is still a work in progress so please reprt any issues with a specific example (movie and clip length).

This package is available on npm

Installation

To install this package, type the command:

npm i -g get-movie-extra-name

Usage

To use this package, type the command:

get-movie-extra-name [movie title] [length of clip in seconds]

Getting the length of an extra

Here are some examples of functions to get the length of a movie clip with ffprobe or ffmpeg: https://superuser.com/questions/361329/how-can-i-get-the-length-of-a-video-file-from-the-console

Here's an example of one function I've used that does the trick:

ffprobe -i some_video -show_entries format=duration -v quiet -of csv="p=0"

Readme

Keywords

Package Sidebar

Install

npm i get-movie-extra-name

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

5.11 kB

Total Files

5

Last publish

Collaborators

  • csandman