1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 21:15:26 +02:00

ffprobe: add page (#1414)

This commit is contained in:
Andrew Prentice 2017-06-23 14:04:48 -04:00 committed by Starbeamrainbowlabs
parent ec794ec2dc
commit 58826bfdab

19
pages/common/ffprobe.md Normal file
View file

@ -0,0 +1,19 @@
# ffprobe
> Multimedia stream analyzer.
- Display all available stream info for a media file:
`ffprobe -v error -show_entries {{input.mp4}}`
- Display media duration:
`ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}`
- Display the frame rate of a video:
`ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}`
- Display the width or height of a video:
`ffprobe -v error -select_streams v:0 -show_entries stream={{width|height}} -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}`