Y4m (y4m v0.1.0)

Module for working with y4m.

Link to this section Summary

Functions

Reads y4m frames from a file on disk.

Link to this section Functions

@spec read(atom() | pid()) ::
  %Y4mReader{file: term(), properties: term()} | {:error, :invalid_header}

Reads y4m frames from a file on disk.

examples

Examples

iex> {:ok, file} = File.open("my_file.y4m")
iex> Y4m.decode(file)
%Y4MDecoder{
  file: #PID<0.222.0>,
  properties: %{ ...  }
}