1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:13:31 +02:00

ffplay: add page (#7270)

* ffplay: add page

* backtick

* Update pages/common/ffplay.md

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:
Managor 2021-10-29 02:49:35 +03:00 committed by GitHub
parent d3bb0312a2
commit 39c87b0358
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
pages/common/ffplay.md Normal file
View file

@ -0,0 +1,16 @@
# 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}}`