Linux Blog

FFPLAY

Section: (1)
Updated: 2007-10-02
Index Return to Main Contents
 

NAME

ffplay - FFplay media player  

SYNOPSIS

ffplay [options] input_file  

DESCRIPTION

FFplay is a very simple and portable media player using the FFmpeg libraries and the SDL library. It is mostly used as a testbed for the various FFmpeg APIs.  

OPTIONS

 

Main options

-h
show help
-x width
force displayed width
-y height
force displayed height
-s size
Set frame size (WxH or abbreviation), needed for videos which don't contain a header with the framesize like raw YUV.
-an
disable audio
-vn
disable video
-ss pos
seek to a given position in seconds
-bytes
seek by bytes
-nodisp
disable graphical display
-f fmt
force format
 

Advanced options

-pix_fmt format
set pixel format
-stats
Show the stream duration, the codec parameters, the current position in the stream and the audio/video synchronisation drift.
-debug
print specific debug info
-bug
work around bugs
-vismv
visualize motion vectors
-fast
non-spec-compliant optimizations
-genpts
generate pts
-rtp_tcp
Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful if you are streaming with the RTSP protocol.
-sync type
Set the master clock to audio ("type=audio"), video ("type=video") or external ("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.
-threads count
thread count
 

While playing

q, ESC
quit
f
toggle full screen
p, SPC
pause
a
cycle audio channel
v
cycle video channel
w
show audio waves
left/right
seek backward/forward 10 seconds
down/up
seek backward/forward 1 minute
mouse click
seek to percentage in file corresponding to fraction of width
 

SEE ALSO

ffmpeg(1), ffserver(1) and the html documentation of ffmpeg.  

AUTHOR

Fabrice Bellard


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
Main options
Advanced options
While playing
SEE ALSO
AUTHOR




Random Man Pages:
setup
QTableSelection
rocks
sd