tldr/pages/common/ffplay.md

430 B

ffplay

A simple and portable media player using the FFmpeg libraries and the SDL library. More information: https://ffmpeg.org/ffplay-all.html.

  • Play a media file:

ffplay {{path/to/file}}

  • Play a video and show motion vectors in real time:

ffplay -flags2 +export_mvs -vf codecview=mv=pf+bf+bb {{path/to/file}}

  • Show only video keyframes:

ffplay -vf select="{{eq(pict_type\,PICT_TYPE_I)}}" {{path/to/file}}