‣
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:
Option | Description |
|---|---|
-r | FPS |
-s | Frame size |
-i | Input files |
-vframes | Number of video frames to output |
-ss | Timestamp to seek |
Installation
- Download from ffmpeg Builds:
- Unzip, rename to ffmpeg, and locate in C:\ drive.
- Add
C:/ffmpeg/binpath to environment variables: PATH; User variables suffices. - Confirm by accessing codecs via PowerShell as noted below.
Codecs (v. 4.3.1-2020-10-01-full)
Accessed via PowerShell: