OS Manuals

/usr/bin/ffmpeg

ffmpeg multimedia library

From ffmpeg-cuda-7.1 7.1.5-r9 (enterprise-packages), captured 2026-11-08 by running ffmpeg --help (exit 0). permalink

ffmpeg version n7.1.5 Copyright (c) 2000-2026 the FFmpeg developers
  built with gcc 16 (Wolfi 16.2.0-r2)
  configuration: --prefix=/usr --libdir=/usr/lib --enable-shared --enable-libx264 --enable-libx265 --enable-libaom --enable-libtheora --enable-gpl --enable-version3 --enable-ffnvcodec --enable-cuvid --enable-nvenc --enable-nvdec --disable-cuda-nvcc --enable-cuda-llvm --nvcc=/usr/lib/llvm-23/bin/clang --nvccflags='--no-default-config --cuda-gpu-arch=sm_70 --cuda-feature=+ptx65 -O2' --enable-openssl --enable-libmp3lame --enable-libopencore-amrnb --enable-ffplay --enable-libdav1d --enable-libharfbuzz --enable-libopus --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.101 / 61. 19.101
  libavformat    61.  7.103 / 61.  7.103
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  5.100 / 10.  5.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
Universal media converter
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Getting help:
    -h      -- print basic options
    -h long -- print more options
    -h full -- print all options (including all format and codec specific options, very long)
    -h type=name -- print all options for the named decoder/encoder/demuxer/muxer/filter/bsf/protocol
    See man ffmpeg for detailed description of the options.

Per-stream options can be followed by :<stream_spec> to apply that option to specific streams only. <stream_spec> can be a stream index, or v/a/s for video/audio/subtitle (see manual for full syntax).

Print help / information / capabilities:
-L                  show license
-h <topic>          show help
-version            show version
-muxers             show available muxers
-demuxers           show available demuxers
-devices            show available devices
-decoders           show available decoders
-encoders           show available encoders
-filters            show available filters
-pix_fmts           show available pixel formats
-layouts            show standard channel layouts
-sample_fmts        show available audio sample formats

Global options (affect whole program instead of just one file):
-v <loglevel>       set logging level
-y                  overwrite output files
-n                  never overwrite output files
-stats              print progress report during encoding

Per-file options (input and output):
-f <fmt>            force container format (auto-detected otherwise)
-t <duration>       stop transcoding after specified duration
-to <time_stop>     stop transcoding after specified time is reached
-ss <time_off>      start transcoding at specified time


Per-file options (output-only):
-metadata[:<spec>] <key=value>  add metadata

Per-stream options:
-c[:<stream_spec>] <codec>  select encoder/decoder ('copy' to copy stream without reencoding)
-filter[:<stream_spec>] <filter_graph>  apply specified filters to audio/video

Video options:
-r[:<stream_spec>] <rate>  override input framerate/convert to given output framerate (Hz value, fraction or abbreviation)
-aspect[:<stream_spec>] <aspect>  set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)
-vn                 disable video
-vcodec <codec>     alias for -c:v (select encoder/decoder for video streams)
-vf <filter_graph>  alias for -filter:v (apply filters to video streams)
-b <bitrate>        video bitrate (please use -b:v)

Audio options:
-aq <quality>       set audio quality (codec-specific)
-ar[:<stream_spec>] <rate>  set audio sampling rate (in Hz)
-ac[:<stream_spec>] <channels>  set number of audio channels
-an                 disable audio
-acodec <codec>     alias for -c:a (select encoder/decoder for audio streams)
-ab <bitrate>       alias for -b:a (select bitrate for audio streams)
-af <filter_graph>  alias for -filter:a (apply filters to audio streams)

Subtitle options:
-sn                 disable subtitle
-scodec <codec>     alias for -c:s (select encoder/decoder for subtitle streams)
Options (38)
OptionDescriptionSource
-h-- print basic optionshelp
-Lshow licensehelp
-versionshow versionhelp
-muxersshow available muxershelp
-demuxersshow available demuxershelp
-devicesshow available deviceshelp
-decodersshow available decodershelp
-encodersshow available encodershelp
-filtersshow available filtershelp
-pix_fmtsshow available pixel formatshelp
-layoutsshow standard channel layoutshelp
-sample_fmtsshow available audio sample formatshelp
-v loglevelset logging levelhelp
-yoverwrite output fileshelp
-nnever overwrite output fileshelp
-statsprint progress report during encodinghelp
-f fmtforce container format (auto-detected otherwise)help
-t durationstop transcoding after specified durationhelp
-to time_stopstop transcoding after specified time is reachedhelp
-ss time_offstart transcoding at specified timehelp
-metadata :<specadd metadatahelp
-c :<stream_specselect encoder/decoder ('copy' to copy stream without reencoding)help
-filter :<stream_specapply specified filters to audio/videohelp
-r :<stream_specoverride input framerate/convert to given output framerate (Hz value, fraction or abbreviation)help
-aspect :<stream_specset aspect ratio (4:3, 16:9 or 1.3333, 1.7777)help
-vndisable videohelp
-vcodec codecalias for -c:v (select encoder/decoder for video streams)help
-vf filter_graphalias for -filter:v (apply filters to video streams)help
-b bitratevideo bitrate (please use -b:v)help
-aq qualityset audio quality (codec-specific)help
-ar :<stream_specset audio sampling rate (in Hz)help
-ac :<stream_specset number of audio channelshelp
-andisable audiohelp
-acodec codecalias for -c:a (select encoder/decoder for audio streams)help
-ab bitratealias for -b:a (select bitrate for audio streams)help
-af filter_graphalias for -filter:a (apply filters to audio streams)help
-sndisable subtitlehelp
-scodec codecalias for -c:s (select encoder/decoder for subtitle streams)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.