1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:02:08 +02:00
tldr/pages/common/ffplay.md
Managor 18c236e1b0
ffplay: add more examples (#10457)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-07-09 21:13:55 +02:00

24 lines
637 B
Markdown

# 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 audio from a media file without a GUI:
`ffplay -nodisp {{path/to/file}}`
- Play media passed by `ffmpeg` through `stdin`:
`ffmpeg -i {{path/to/file}} -c {{copy}} -f {{media_format}} - | ffplay -`
- 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}}`