forked from dmcallejo/ffprobe-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ifij775 edited this page Oct 30, 2021
·
14 revisions
A wrapper around the ffprobe command to extract metadata of format, streams, frames, and packets from media files. This code requires Python 3.X and a recent version of ffprobe in the PATH.
I modified and expanded on the original ffprobe-python to make the library more functional and user friendly. The library now includes code for parsing media frames and packets. The bin directory contains sample programs that use the library for useful media analysis.
The frame_type program displays the frame type of each frame in a video.
> python bin/frame_type.py tests/data/SampleVideo_1280x720_1mb.mp4
IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
The check_open_gop program prints whether a video is encoded with open or closed gop.