Rindle.AV.Ffprobe (Rindle v0.1.5)

Copy Markdown View Source

FFprobe metadata extractor shim.

Extracts format and stream metadata treating output as untrusted UGC.

Summary

Functions

Parses a JSON string from ffprobe and sanitizes all string values.

Runs ffprobe on the given file path to extract JSON metadata.

Functions

parse_and_sanitize(json)

Parses a JSON string from ffprobe and sanitizes all string values.

probe(file_path)

Runs ffprobe on the given file path to extract JSON metadata.