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