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}
30 @include fftools-common-opts.texi
36 Force displayed width.
38 Force displayed height.
40 Set frame size (WxH or abbreviation), needed for videos which don't
41 contain a header with the frame size like raw YUV.
47 Seek to a given position in seconds.
51 Disable graphical display.
56 @section Advanced options
58 @item -pix_fmt @var{format}
61 Show the stream duration, the codec parameters, the current position in
62 the stream and the audio/video synchronisation drift.
64 Print specific debug info.
68 Visualize motion vectors.
70 Non-spec-compliant optimizations.
74 Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
75 if you are streaming with the RTSP protocol.
76 @item -sync @var{type}
77 Set the master clock to audio (@code{type=audio}), video
78 (@code{type=video}) or external (@code{type=ext}). Default is audio. The
79 master clock is used to control audio-video synchronization. Most media
80 players use audio as master clock, but in some cases (streaming or high
81 quality broadcast) it is necessary to change that. This option is mainly
82 used for debugging purposes.
83 @item -threads @var{count}
85 @item -ast @var{audio_stream_number}
86 Select the desired audio stream number, counting from 0. The number
87 refers to the list of all the input audio streams. If it is greater
88 than the number of audio streams minus one, then the last one is
89 selected, if it is negative the audio playback is disabled.
90 @item -vst @var{video_stream_number}
91 Select the desired video stream number, counting from 0. The number
92 refers to the list of all the input video streams. If it is greater
93 than the number of video streams minus one, then the last one is
94 selected, if it is negative the video playback is disabled.
95 @item -sst @var{subtitle_stream_number}
96 Select the desired subtitle stream number, counting from 0. The number
97 refers to the list of all the input subtitle streams. If it is greater
98 than the number of subtitle streams minus one, then the last one is
99 selected, if it is negative the subtitle rendering is disabled.
102 @section While playing
121 Cycle subtitle channel.
127 Seek backward/forward 10 seconds.
130 Seek backward/forward 1 minute.
133 Seek to percentage in file corresponding to fraction of width.
142 @settitle FFplay media player
145 ffmpeg(1), ffserver(1) and the HTML documentation of @file{ffmpeg}.