create-videos
TypeScript icon, indicating that this package has built-in type declarations

6.0.3 • Public • Published

Video Processing Script

This script automates the video encoding process using FFmpeg to create multiple versions of input videos. It includes configurations for H.264, and VP9 (WebM) formats for desktop (16:9) and mobile (4:3).

Requirements

  • Node.js (version X.X.X or higher)
  • FFmpeg installed and available in the system's PATH.

Installation

pnpm install

Build & Publish to NPM
Follow these steps to create a build and publish it to NPM:

Step 1: Update the Project
Run: pnpm run update

This updates the project package.json version number using semantic versioning and generates a file documenting changes.

Step 2: Create a Release Pull Request
Create a pull request against the main branch.

Step 3: Automated Deployment
Once the PR is approved, GitHub will create a new release PR. Once the release PR is approved, GitHub will automatically deploy to NPM.

Available Commands
pnpm run build:
Generates a production build in the dist directory.

pnpm run update:
Updates the project using semver and generates a change documentation file. Do this before pushing changes to git. It automatically updates the version number.

pnpm run docs:
Generates documentation in dist/docs.

pnpm run lint:
Runs ESLint over the codebase.

pnpm ci:
Publishes the package to NPM. This task is called by GitHub and should not be invoked directly.

Readme

Keywords

Package Sidebar

Install

npm i create-videos

Weekly Downloads

4

Version

6.0.3

License

MIT

Unpacked Size

268 kB

Total Files

17

Last publish

Collaborators

  • grindhead