FormatParser.Video (format_parser v1.4.0)

A Video struct and functions.

The Video struct contains the fields format, width_px, height_px and nature.

Link to this section Summary

Functions

Parses a file and extracts some information from it.

Link to this section Functions

Parses a file and extracts some information from it.

Takes a binary file as argument.

Returns a struct which contains all information that has been extracted from the file if the file is recognized.

Returns the following tuple if file not recognized: {:error, file}.