ffmpeg

Table of Contents

Formatting

ffmpeg [options] {[input_file_options] -i input_url} ... {[output_file_options] output_url}

ffmpeg: Refers to file path to ffmpeg.exe on system

Example

Execute command to convert series of images into movie file with ffmpeg.exe.

os.system('C:/ffmpeg/bin/ffmpeg.exe -r 24 -s 1920x1080 -i %s %s' % (incomingImages, outputMovie))

Options

The following are select options from the overall available options noted in the ffmpeg documentation:

ffmpeg Documentation

ffmpeg [ global_options] {[ input_file_options] -i input_url} ... {[ output_file_options] output_url} ... ffmpeg is a very fast video and audio converter that can also grab from a live audio/video source. It can also convert between arbitrary sample rates and resize video on the fly with a high quality polyphase filter.

Copy of Video Options

Option
Description
-r

FPS

-s

Frame size

-i

Input files

-vframes

Number of video frames to output

-ss

Timestamp to seek

Installation

  1. Download from ffmpeg Builds:
  2. FFmpeg Windows Builds - gyan.dev

    Archive format switched to 7z as per survey results. ZIP version of release essentials variant will remain available. libwavpack is removed as ffmpeg has dropped support. There is no loss of functionality as ffmpeg has a native WavPack encoder.

  3. Unzip, rename to ffmpeg, and locate in C:\ drive.
  4. Add C:/ffmpeg/bin path to environment variables: PATH; User variables suffices.
  5. Confirm by accessing codecs via PowerShell as noted below.

Codecs (v. 4.3.1-2020-10-01-full)

Accessed via PowerShell:

Applications

Waveform Monitor

WaveformMonitor
WaveformMonitor

Vector Scope Monitor

Vectorscope
Vectorscope