Skip to content

creates videos for desktop and mobile in web formats

Notifications You must be signed in to change notification settings

Grindhead/create-videos

Repository files navigation

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.

About

creates videos for desktop and mobile in web formats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published