Skip to content

A Small console package to help transcode videos and generate thumbnails/previews.

Notifications You must be signed in to change notification settings

sentrychris/ffmpeg-transcoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FFMPEG Transcoder

A Small console package to help transcode videos and generate captures/clips.

Installation

  1. Clone the repository.
git clone git@github.com:chrisrowles/ffmpeg-transcoder
cd ffmpeg-transcoder
  1. Install the dependencies with composer
composer install
  1. Copy .env.example to .env and enter your env variable values.
cp .env.example .env

Commands

Available commands:

  clip                This command clips videos.
  capture             This command captures screenshots or gifs from videos.
  help                Displays help for a command
  list                Lists commands
  transcode-video     This command transcodes videos to the selected format.

Transcoding

Description:
  This command transcodes videos to the selected format.

Usage:
  transcode-video [options] [--] <name>

Arguments:
  name  Filename (leave blank for bulk processing)

Options:
      --format[=FORMAT]                              The selected format
      --bitrate[=BITRATE]                            Kilo bitrate (default: 1000)
      --audio-bitrate[=AUDIO-BITRATE]                Audio bitrate (default: 256)
      --audio-channels[=AUDIO-CHANNELS]              Audio channels (default: 2)
      --constant-rate-factor[=CONSTANT-RATE-FACTOR]  Constant rate factor (default: 20)

Captures

Description:
  This command generates captures for videos.

Usage:
  capture [options] [--] [<name>]

Arguments:
  name  Filename (leave blank for bulk processing)

Options:
      --gif                Capture video in in gif format
      --bulk               Capture from multiple videos
      --from[=START]       Point of capture
      --seconds[=SECONDS]  Number of seconds to capture if it is a gif

Clips

Description:
  This command clips videos.

Usage:
  clip [options] [--] [<name>]

Arguments:
  name  Filename (leave blank for bulk processing)

Options:
      --bulk              Clip multiple videos
      --from[=START]      Starting point for clip
      --seconds[=SECONDS] Number of seconds to clip

About

A Small console package to help transcode videos and generate thumbnails/previews.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published