Ffmpeg

From Autopilot Wiki
Revision as of 04:42, 7 April 2021 by Jonny (talk | contribs) (Created page with "Page Status::stub Homebrew Package::ffmpeg Has Documentation:https://ffmpeg.org/documentation.html '''This page is a stub containing temporary documentation!!!'''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

stub ffmpeg Has Documentation:https://ffmpeg.org/documentation.html

This page is a stub containing temporary documentation!!!

ffmpeg is a library to convert and compress audio and video. It is the standard tool to convert one thing to another, make your videos smaller, extract audio from a video, and so on.

Installation

macOS

Use Homebrew!

brew install ffmpeg

General Usage

Compression

ffmpeg specifies input with the "-i" flag, and automatically accommodates the input format. The last argument in the command is typically the output file. Each output file extension has its own default format, and each format has its own default parameters. For an ".mp4" output, the default is the x264 codec (though this will probably change to the x265 codec soon).

ffmpeg -i /some/input/file.avi ./some/output/file.mp4

Codecs

Filters

Howto

  • trimming
  • cropping
  • changing speed
  • iterating over a glob