1 \input texinfo @c -*- texinfo -*-
3 @settitle FFplay Documentation
6 @center @titlefont{FFplay Documentation}
13 @c man begin DESCRIPTION
14 FFplay is a very simple and portable media player using the FFmpeg
15 libraries and the SDL library. It is mostly used as a testbed for the
24 ffplay [options] @file{input_file}
39 Show available formats, codecs, protocols, ...
41 Force displayed width.
43 Force displayed height.
45 Set frame size (WxH or abbreviation), needed for videos which don't
46 contain a header with the frame size like raw YUV.
52 Seek to a given position in seconds.
56 Disable graphical display.
61 @section Advanced options
63 @item -pix_fmt @var{format}
66 Show the stream duration, the codec parameters, the current position in
67 the stream and the audio/video synchronisation drift.
69 Print specific debug info.
73 Visualize motion vectors.
75 Non-spec-compliant optimizations.
79 Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
80 if you are streaming with the RTSP protocol.
81 @item -sync @var{type}
82 Set the master clock to audio (@code{type=audio}), video
83 (@code{type=video}) or external (@code{type=ext}). Default is audio. The
84 master clock is used to control audio-video synchronization. Most media
85 players use audio as master clock, but in some cases (streaming or high
86 quality broadcast) it is necessary to change that. This option is mainly
87 used for debugging purposes.
88 @item -threads @var{count}
90 @item -ast @var{audio_stream_number}
91 Select the desired audio stream number, counting from 0. The number
92 refers to the list of all the input audio streams. If it is greater
93 than the number of audio streams minus one, then the last one is
94 selected, if it is negative the audio playback is disabled.
95 @item -vst @var{video_stream_number}
96 Select the desired video stream number, counting from 0. The number
97 refers to the list of all the input video streams. If it is greater
98 than the number of video streams minus one, then the last one is
99 selected, if it is negative the video playback is disabled.
100 @item -sst @var{subtitle_stream_number}
101 Select the desired subtitle stream number, counting from 0. The number
102 refers to the list of all the input subtitle streams. If it is greater
103 than the number of subtitle streams minus one, then the last one is
104 selected, if it is negative the subtitle rendering is disabled.
107 @section While playing
126 Cycle subtitle channel.
132 Seek backward/forward 10 seconds.
135 Seek backward/forward 1 minute.
138 Seek to percentage in file corresponding to fraction of width.
147 @settitle FFplay media player
150 ffmpeg(1), ffserver(1) and the HTML documentation of @file{ffmpeg}.