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
|
|
|
|
show help
|
2008-05-21 14:12:45 +00:00
|
|
|
@item -version
|
|
|
|
show version
|
2008-05-22 09:49:18 +00:00
|
|
|
@item -L
|
|
|
|
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}
|
2003-08-24 11:16:29 +00:00
|
|
|
force displayed width
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -y @var{height}
|
2003-08-24 11:16:29 +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
|
|
|
|
contain a header with the framesize like raw YUV.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -an
|
|
|
|
disable audio
|
|
|
|
@item -vn
|
|
|
|
disable video
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -ss @var{pos}
|
2007-03-12 17:16:12 +00:00
|
|
|
seek to a given position in seconds
|
|
|
|
@item -bytes
|
|
|
|
seek by bytes
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -nodisp
|
|
|
|
disable graphical display
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -f @var{fmt}
|
2003-08-24 11:16:29 +00:00
|
|
|
force format
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@section Advanced options
|
|
|
|
@table @option
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -pix_fmt @var{format}
|
2007-03-12 17:16:12 +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
|
|
|
|
print specific debug info
|
|
|
|
@item -bug
|
|
|
|
work around bugs
|
|
|
|
@item -vismv
|
|
|
|
visualize motion vectors
|
|
|
|
@item -fast
|
|
|
|
non-spec-compliant optimizations
|
|
|
|
@item -genpts
|
|
|
|
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}
|
2007-03-12 17:16:12 +00:00
|
|
|
thread count
|
2003-08-24 11:16:29 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@section While playing
|
|
|
|
|
|
|
|
@table @key
|
|
|
|
@item q, ESC
|
|
|
|
quit
|
|
|
|
|
|
|
|
@item f
|
|
|
|
toggle full screen
|
|
|
|
|
|
|
|
@item p, SPC
|
|
|
|
pause
|
|
|
|
|
|
|
|
@item a
|
|
|
|
cycle audio channel
|
|
|
|
|
|
|
|
@item v
|
|
|
|
cycle video channel
|
|
|
|
|
|
|
|
@item w
|
|
|
|
show audio waves
|
2007-03-12 17:16:12 +00:00
|
|
|
|
|
|
|
@item left/right
|
|
|
|
seek backward/forward 10 seconds
|
|
|
|
|
|
|
|
@item down/up
|
|
|
|
seek backward/forward 1 minute
|
|
|
|
|
|
|
|
@item mouse click
|
|
|
|
seek to percentage in file corresponding to fraction of width
|
|
|
|
|
2003-08-24 11:16:29 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@c man end
|
|
|
|
|
|
|
|
@ignore
|
|
|
|
|
|
|
|
@setfilename ffplay
|
|
|
|
@settitle FFplay media player
|
|
|
|
|
|
|
|
@c man begin SEEALSO
|
|
|
|
ffmpeg(1), ffserver(1) and the html documentation of @file{ffmpeg}.
|
|
|
|
@c man end
|
|
|
|
|
|
|
|
@c man begin AUTHOR
|
|
|
|
Fabrice Bellard
|
|
|
|
@c man end
|
|
|
|
|
|
|
|
@end ignore
|
|
|
|
|
|
|
|
@bye
|