/go-quicktime

Primary LanguageGoMIT LicenseMIT

go-quicktime

Codacy Badge GoDoc wercker status

quicktime is a simple Quicktime container parser written in Go.

Uses the io.ReaderAt interface for random access into the Quicktime file. Originally written for use with LazyFS

The core unit is an Atom which is a generic structure storing the the type, size, and location of each Atom. Each Atom can also optionally store its data as a byte slice. Atoms are arranged in a tree structure which reflects the structure of the file.

When the data is loaded, the Atom can be parsed into a named Atom type (e.g. MOOVAtom, FTYPAtom, etc). These structures break out the actual fields within the Atom. In some cases these named types do understand the Atom hierarchy.

Forked from here.

TODO

License

This library is under the MIT License