🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@magusn/vid

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magusn/vid

cli helper for ffmpeg

latest
Source
npmnpm
Version
0.6.1
Version published
Maintainers
1
Created
Source

@magusn/vid

cli helper for ffmpeg

Install

yarn global add @magusn/vid

Usage

vid ~/Desktop/recording.mov                                 # write recording.mp4 to ~/Desktop; unchanged by default
vid -s 4.3 ~/Downloads/youtube-crop.mp4 --an --pf           # speed up 4.3x, remove audio, preserve frames
vid ~/Downloads/youtube-crop.mp4 --crop                     # dynamic region cropping via still frame
vid ~/Downloads/youtube-crop.mp4 --get fps --get size       # output fps and size video metadata
vid ~/Downloads/dL6n1w-IvsDxiwU1.mp4 --vn --ext mp3         # convert video to mp3
vid https://twitter.com/magusnn/status/1458443583640334337  # output video downloaded from tweet

Development

cd packages/vid
yarn unlink
yarn link
yarn link @magusn/vid
mono ws vid -- vid -v input.mp4

Ideas

  • publish like a node cli on npm for simple npm i -g @magus/vid install
    • https://dev.to/aadityasiva/make-and-publish-a-nodejs-cli-in-10-minutes-njj

License

MIT © magus

FAQs

Package last updated on 15 Jan 2024

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