perseus v0.1.1 Perseus

Perseus is an ISO-BMFF file parsing library.

Link to this section Summary

Functions

returns a map containing box names and objects

Link to this section Functions

Link to this function

get_meta(path)

get_meta(binary()) :: :ok

returns a map containing box names and objects

Example

iex> Perseus.get_meta(~S(C:\Users\abhagat\code\mp4box\test\output_squirrel.mp4))
%{
  free: %Perseus.Boxes.Free{
    data: "IsoMedia File Produced with GPAC 0.8.0-rev9-g6e4af05b-master",
    name: :free
  },
  ftyp: %Perseus.Boxes.FTyp{
    compatible_brands: ["isom", "avc1"],
    major_brand: "isom",
    minor_version: 1,
    name: :ftyp
  },
  ...
}