Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-movie-extra-name

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-movie-extra-name

Pass the title of a movie and the length of an extra and get back the title of that extra

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

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"

Keywords

FAQs

Package last updated on 31 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc