2003-08-24 11:16:29 +00:00
|
|
|
\input texinfo @c -*- texinfo -*-
|
|
|
|
|
|
|
|
@settitle FFplay Documentation
|
|
|
|
@titlepage
|
|
|
|
@sp 7
|
|
|
|
@center @titlefont{FFplay Documentation}
|
|
|
|
@sp 3
|
|
|
|
@end titlepage
|
|
|
|
|
|
|
|
|
|
|
|
@chapter Introduction
|
|
|
|
|
|
|
|
@c man begin DESCRIPTION
|
|
|
|
FFplay is a very simple and portable media player using the FFmpeg
|
2005-06-09 18:12:07 +00:00
|
|
|
libraries and the SDL library. It is mostly used as a testbed for the
|
|
|
|
various FFmpeg APIs.
|
2003-08-24 11:16:29 +00:00
|
|
|
@c man end
|
|
|
|
|
|
|
|
@chapter Invocation
|
|
|
|
|
|
|
|
@section Syntax
|
2005-12-17 18:14:38 +00:00
|
|
|
@example
|
2003-08-24 11:16:29 +00:00
|
|
|
@c man begin SYNOPSIS
|
|
|
|
ffplay [options] @file{input_file}
|
|
|
|
@c man end
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@c man begin OPTIONS
|
|
|
|
@section Main options
|
|
|
|
|
|
|
|
@table @option
|
|
|
|
@item -h
|
2008-05-26 23:01:22 +00:00
|
|
|
Show help.
|
2008-05-21 14:12:45 +00:00
|
|
|
@item -version
|
2008-05-26 23:01:22 +00:00
|
|
|
Show version.
|
2008-05-22 09:49:18 +00:00
|
|
|
@item -L
|
2008-05-26 23:01:22 +00:00
|
|
|
Show license.
|
2008-05-23 07:15:56 +00:00
|
|
|
@item -formats
|
|
|
|
Show available formats, codecs, protocols, ...
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -x @var{width}
|
2008-05-26 23:01:22 +00:00
|
|
|
Force displayed width.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -y @var{height}
|
2008-05-26 23:01:22 +00:00
|
|
|
Force displayed height.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -s @var{size}
|
2007-03-12 17:16:12 +00:00
|
|
|
Set frame size (WxH or abbreviation), needed for videos which don't
|
2008-06-06 07:51:36 +00:00
|
|
|
contain a header with the frame size like raw YUV.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -an
|
2008-05-26 23:01:22 +00:00
|
|
|
Disable audio.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -vn
|
2008-05-26 23:01:22 +00:00
|
|
|
Disable video.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -ss @var{pos}
|
2008-05-26 23:01:22 +00:00
|
|
|
Seek to a given position in seconds.
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -bytes
|
2008-05-26 23:01:22 +00:00
|
|
|
Seek by bytes.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -nodisp
|
2008-05-26 23:01:22 +00:00
|
|
|
Disable graphical display.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -f @var{fmt}
|
2008-05-26 23:01:22 +00:00
|
|
|
Force format.
|
2003-08-24 11:16:29 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@section Advanced options
|
|
|
|
@table @option
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -pix_fmt @var{format}
|
2008-05-26 23:01:22 +00:00
|
|
|
Set pixel format.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -stats
|
2005-06-09 18:12:07 +00:00
|
|
|
Show the stream duration, the codec parameters, the current position in
|
|
|
|
the stream and the audio/video synchronisation drift.
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -debug
|
2008-05-26 23:01:22 +00:00
|
|
|
Print specific debug info.
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -bug
|
2008-05-26 23:01:22 +00:00
|
|
|
Work around bugs.
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -vismv
|
2008-05-26 23:01:22 +00:00
|
|
|
Visualize motion vectors.
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -fast
|
2008-05-26 23:01:22 +00:00
|
|
|
Non-spec-compliant optimizations.
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -genpts
|
2008-05-26 23:01:22 +00:00
|
|
|
Generate pts.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -rtp_tcp
|
2005-06-09 18:12:07 +00:00
|
|
|
Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
|
|
|
|
if you are streaming with the RTSP protocol.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -sync @var{type}
|
2005-06-09 18:12:07 +00:00
|
|
|
Set the master clock to audio (@code{type=audio}), video
|
2003-08-24 11:16:29 +00:00
|
|
|
(@code{type=video}) or external (@code{type=ext}). Default is audio. The
|
|
|
|
master clock is used to control audio-video synchronization. Most media
|
|
|
|
players use audio as master clock, but in some cases (streaming or high
|
|
|
|
quality broadcast) it is necessary to change that. This option is mainly
|
|
|
|
used for debugging purposes.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -threads @var{count}
|
2008-05-26 23:01:22 +00:00
|
|
|
Set the thread count.
|
2003-08-24 11:16:29 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@section While playing
|
|
|
|
|
|
|
|
@table @key
|
|
|
|
@item q, ESC
|
2008-05-26 23:01:22 +00:00
|
|
|
Quit.
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@item f
|
2008-05-26 23:01:22 +00:00
|
|
|
Toggle full screen.
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@item p, SPC
|
2008-05-26 23:01:22 +00:00
|
|
|
Pause.
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@item a
|
2008-05-26 23:01:22 +00:00
|
|
|
Cycle audio channel.
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@item v
|
2008-05-26 23:01:22 +00:00
|
|
|
Cycle video channel.
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@item w
|
2008-05-26 23:01:22 +00:00
|
|
|
Show audio waves.
|
2007-03-12 17:16:12 +00:00
|
|
|
|
|
|
|
@item left/right
|
2008-05-26 23:01:22 +00:00
|
|
|
Seek backward/forward 10 seconds.
|
2007-03-12 17:16:12 +00:00
|
|
|
|
|
|
|
@item down/up
|
2008-05-26 23:01:22 +00:00
|
|
|
Seek backward/forward 1 minute.
|
2007-03-12 17:16:12 +00:00
|
|
|
|
|
|
|
@item mouse click
|
2008-05-26 23:01:22 +00:00
|
|
|
Seek to percentage in file corresponding to fraction of width.
|
2007-03-12 17:16:12 +00:00
|
|
|
|
2003-08-24 11:16:29 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@c man end
|
|
|
|
|
|
|
|
@ignore
|
|
|
|
|
|
|
|
@setfilename ffplay
|
|
|
|
@settitle FFplay media player
|
|
|
|
|
|
|
|
@c man begin SEEALSO
|
2008-06-06 07:51:36 +00:00
|
|
|
ffmpeg(1), ffserver(1) and the HTML documentation of @file{ffmpeg}.
|
2003-08-24 11:16:29 +00:00
|
|
|
@c man end
|
|
|
|
|
|
|
|
@c man begin AUTHOR
|
|
|
|
Fabrice Bellard
|
|
|
|
@c man end
|
|
|
|
|
|
|
|
@end ignore
|
|
|
|
|
|
|
|
@bye
|