ffplay-all(1)
FFplay media player
Description
. ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\}
. ds -- \|—\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\}
. if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2"
. if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \}
. \" fudge factors for nroff and troff
. ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #]
. ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ . ds #]
. \" simple accents for nroff and troff
. ds ' . ds ` . ds ^ . ds , . ds ~ ~ . ds /
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
. \" troff and (daisy-wheel) nroff accents
. \" corrections for vroff
. \" for low resolution devices (crt and lpr)
\{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE
ffplay - FFplay media player
ffplay [options] [input_url]
FFplay is a very simple and portable media player using the FFmpeg libraries and the SDL library. It is mostly used as a testbed for the various FFmpeg APIs.
All the numerical options, if not specified otherwise, accept a string representing a number as input, which may be followed by one of the SI unit prefixes, for example: 'K', 'M', or 'G'.
If 'i' is appended to the SI unit prefix, the complete prefix will be interpreted as a unit prefix for binary multiples, which are based on powers of 1024 instead of powers of 1000. Appending 'B' to the SI unit prefix multiplies the value by 8. This allows using, for example: 'KB', 'MiB', 'G' and 'B' as number suffixes.
Options which do not take arguments are boolean options, and set the corresponding value to true. They can be set to false by prefixing the option name with \*(L"no\*(R". For example using \*(L"-nofoo\*(R" will set the boolean option with name \*(L"foo\*(R" to false.
Some options are applied per-stream, e.g. bitrate or codec. Stream specifiers are used to precisely specify which stream(s) a given option belongs to.
A stream specifier is a string generally appended to the option name and separated from it by a colon. E.g. \f(CW\*(C`-codec:a:1 ac3\*(C' contains the \f(CW\*(C`a:1\*(C' stream specifier, which matches the second audio stream. Therefore, it would select the ac3 codec for the second audio stream.
A stream specifier can match several streams, so that the option is applied to all of them. E.g. the stream specifier in \f(CW\*(C`-b:a 128k\*(C' matches all audio streams.
An empty stream specifier matches all streams. For example, \f(CW\*(C`-codec copy\*(C' or \f(CW\*(C`-codec: copy\*(C' would copy all the streams without reencoding.
Possible forms of stream specifiers are:
Matches the stream with this index. E.g. \f(CW\*(C`-threads:1 4\*(C' would set the thread count for the second stream to 4. If stream_index is used as an additional stream specifier (see below), then it selects stream number stream_index from the matching streams. Stream numbering is based on the order of the streams as detected by libavformat except when a program ID is also specified. In this case it is based on the ordering of the streams in the program.
stream_type is one of following: 'v' or 'V' for video, 'a' for audio, 's' for subtitle, 'd' for data, and 't' for attachments. 'v' matches all video streams, 'V' only matches video streams which are not attached pictures, video thumbnails or cover arts. If additional_stream_specifier is used, then it matches streams which both have this type and match the additional_stream_specifier. Otherwise, it matches all streams of the specified type.
Matches streams which are in the program with the id program_id. If additional_stream_specifier is used, then it matches streams which both are part of the program and match the additional_stream_specifier.
Match the stream by stream id (e.g. PID in MPEG-TS container).
Matches streams with the metadata tag key having the specified value. If value is not given, matches streams that contain the given tag with any value.
Matches streams with usable configuration, the codec must be defined and the essential information such as video dimension or audio sample rate must be present.
Note that in ffmpeg, matching by metadata will only work properly for input files.
These options are shared amongst the ff* tools.
Show license.
Show help. An optional parameter may be specified to print help about a specific item. If no argument is specified, only basic (non advanced) tool options are shown.
Possible values of arg are:
Print advanced tool options in addition to the basic tool options.
Print complete list of options, including shared and private options for encoders, decoders, demuxers, muxers, filters, etc.
Print detailed information about the decoder named decoder_name. Use the -decoders option to get a list of all decoders.
Print detailed information about the encoder named encoder_name. Use the -encoders option to get a list of all encoders.
Print detailed information about the demuxer named demuxer_name. Use the -formats option to get a list of all demuxers and muxers.
Print detailed information about the muxer named muxer_name. Use the -formats option to get a list of all muxers and demuxers.
Print detailed information about the filter named filter_name. Use the -filters option to get a list of all filters.
Print detailed information about the bitstream filter named bitstream_filter_name. Use the -bsfs option to get a list of all bitstream filters.
Print detailed information about the protocol named protocol_name. Use the -protocols option to get a list of all protocols.
Show version.
Show the build configuration, one option per line.
Show available formats (including devices).
Show available demuxers.
Show available muxers.
Show available devices.
Show all codecs known to libavcodec.
Note that the term 'codec' is used throughout this documentation as a shortcut for what is more correctly called a media bitstream format.
Show available decoders.
Show all available encoders.
Show available bitstream filters.
Show available protocols.
Show available libavfilter filters.
Show available pixel formats.
Show available sample formats.
Show channel names and standard channel layouts.
Show stream dispositions.
Show recognized color names.
Show autodetected sources of the input device. Some devices may provide system-dependent source names that cannot be autodetected. The returned list cannot be assumed to be always complete.
ffmpeg -sources pulse,server=192.168.0.4
Show autodetected sinks of the output device. Some devices may provide system-dependent sink names that cannot be autodetected. The returned list cannot be assumed to be always complete.
ffmpeg -sinks pulse,server=192.168.0.4
Set logging level and flags used by the library.
The optional flags prefix can consist of the following values:
Indicates that repeated log output should not be compressed to the first line and the \*(L"Last message repeated n times\*(R" line will be omitted.
Indicates that log output should add a \f(CW\*(C`[level]\*(C' prefix to each message line. This can be used as an alternative to log coloring, e.g. when dumping the log to file.
Flags can also be used alone by adding a '+'/'-' prefix to set/reset a single flag without affecting other flags or changing loglevel. When setting both flags and loglevel, a '+' separator is expected between the last flags value and before loglevel.
loglevel is a string or a number containing one of the following values:
Show nothing at all; be silent.
Only show fatal errors which could lead the process to crash, such as an assertion failure. This is not currently used for anything.
Only show fatal errors. These are errors after which the process absolutely cannot continue.
Show all errors, including ones which can be recovered from.
Show all warnings and errors. Any message related to possibly incorrect or unexpected events will be shown.
Show informative messages during processing. This is in addition to warnings and errors. This is the default value.
Same as \f(CW\*(C`info\*(C', except more verbose.
Show everything, including debugging information.
For example to enable repeated log output, add the \f(CW\*(C`level\*(C' prefix, and set loglevel to \f(CW\*(C`verbose\*(C':
ffmpeg -loglevel repeat+level+verbose -i input output
Another example that enables repeated log output without affecting current state of \f(CW\*(C`level\*(C' prefix flag or loglevel:
ffmpeg [...] -loglevel +repeat
By default the program logs to stderr. If coloring is supported by the terminal, colors are used to mark errors and warnings. Log coloring can be disabled setting the environment variable AV_LOG_FORCE_NOCOLOR, or can be forced setting the environment variable AV_LOG_FORCE_COLOR.
Dump full command line and log output to a file named \f(CW\*(C`\f(CIprogram\f(CW-\f(CIYYYYMMDD\f(CW-\f(CIHHMMSS\f(CW.log\*(C' in the current directory. This file can be useful for bug reports. It also implies \f(CW\*(C`-loglevel debug\*(C'.
Setting the environment variable FFREPORT to any value has the same effect. If the value is a ':'-separated key=value sequence, these options will affect the report; option values must be escaped if they contain special characters or the options delimiter ':' (see the ``Quoting and escaping'' section in the ffmpeg-utils manual).
The following options are recognized:
set the file name to use for the report; \f(CW%p is expanded to the name of the program, \f(CW%t is expanded to a timestamp, \f(CW\*(C`%%\*(C' is expanded to a plain \f(CW\*(C`%\*(C'
set the log verbosity level using a numerical value (see \f(CW\*(C`-loglevel\*(C').
For example, to output a report to a file named ffreport.log using a log level of \f(CW32 (alias for log level \f(CW\*(C`info\*(C'):
FFREPORT=file=ffreport.log:level=32 ffmpeg -i input output
Errors in parsing the environment variable are not fatal, and will not appear in the report.
Suppress printing banner.
All FFmpeg tools will normally show a copyright notice, build options and library versions. This option can be used to suppress printing this information.
Allows setting and clearing cpu flags. This option is intended for testing. Do not use it unless you know what you're doing.
ffmpeg -cpuflags -sse+mmx ... ffmpeg -cpuflags mmx ... ffmpeg -cpuflags 0 ...
Possible flags for this option are:
Override detection of CPU count. This option is intended for testing. Do not use it unless you know what you're doing.