Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
ifij775 edited this page Oct 30, 2021 · 14 revisions

ffprobe-python module

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.

Sample Programs

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.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.