get-movie-extra-name
v1.0.6
Published
Pass the title of a movie and the length of an extra and get back the title of that extra
Downloads
1
Readme
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"