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]
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"