Skip to main content

A simple and portable media player using the FFmpeg libraries and the SDL library.

# To play a media file:
ffplay <path/to/file>

# To play audio from a media file without a GUI:
ffplay -nodisp <path/to/file>

# To play media passed by 'ffmpeg' through 'stdin':
ffmpeg -i <path/to/file> -c <copy> -f <media_format> - | ffplay -

# To play a video and show motion vectors in real time:
ffplay -flags2 +export_mvs -vf codecview=mv=pf+bf+bb <path/to/file>

# To show only video keyframes:
ffplay -vf select="<eq(pict_type\,PICT_TYPE_I)>" <path/to/file>