LinuxCommandLibrary

ffmpeg-protocols

List supported protocols for FFmpeg

SYNOPSIS

ffmpeg-protocols

DESCRIPTION

The `ffmpeg-protocols` command is a utility that lists the input and output protocols supported by your FFmpeg build. Protocols determine how FFmpeg can access media files, whether they are local files, network streams, or hardware devices. Understanding supported protocols is crucial for troubleshooting issues related to file access or network streaming, and for verifying that FFmpeg has been compiled with the necessary libraries for the protocols you intend to use. It provides a straightforward way to check the capabilities of your specific FFmpeg installation without needing to parse lengthy configuration outputs or trial-and-error attempts to open different file types. It outputs a list of protocols, each labeled as either 'Input' or 'Output'. Input protocols are used for reading media data, while output protocols are used for writing.

CAVEATS

The output depends on the FFmpeg build configuration. Protocols may be enabled or disabled at compile time. If a protocol is missing, you may need to recompile FFmpeg with the corresponding library or feature enabled.

OUTPUT FORMAT

The command outputs a plain text list of protocols, with each protocol marked as either an input protocol (reading data) or an output protocol (writing data).

EXAMPLE USAGE

Running `ffmpeg-protocols` in the terminal will display a list of supported protocols. Example:
Input: file, pipe, tcp, udp, http, https, tls, crypto
Output: file, pipe, tcp, udp, http, https, tls, crypto

SEE ALSO

ffmpeg(1), ffprobe(1)

Copied to clipboard