#
API Reference vtc v0.13.15

##

modules

Modules

Vtc.Ecto.Postgres.Migrations

Top-level migrations for creating all Vtc ecto types.

Vtc.Ecto.Postgres.PgFramerate

Defines a composite type for storing rational values as a PgRational + list of tags. These values are cast to Framerate structs for use in application code.

Vtc.Ecto.Postgres.PgFramerate.Migrations

Migrations for adding framerate types, functions and constraints to a Postgres database.

Vtc.Ecto.Postgres.PgFramestamp

Defines a composite type for storing rational values as a PgRational real-world playbck seconds, PgFramerate pair.

Vtc.Ecto.Postgres.PgFramestamp.Migrations

Migrations for adding framestamp types, functions and constraints to a Postgres database.

Vtc.Ecto.Postgres.PgFramestamp.Range

Defines a custom Range type for dealing with Framestamp ranges.

Vtc.Ecto.Postgres.PgFramestamp.Range.Migrations

Migrations for adding framestamp range types, functions and constraints to a Postgres database.

Vtc.Ecto.Postgres.PgRational

Defines a composite type for storing rational values as dual int64s. These values are cast to `%Ratio{}` structs for use in application code, provided by the `Ratio` library.

Vtc.Ecto.Postgres.PgRational.Migrations

Migrations for adding rational types, casts, functions and constraints to a Postgres database.

Vtc.FilmFormat

Functions and types for working with physical film data.

Vtc.Framerate

The rate at which a video file frames are played back, measured in frames-per-second (24/1 = 24 frames-per-second). For more on framerate and why Vtc chooses to represent it as a rational number, see NTSC: Framerate vs timebase and The Rational Rationale

Vtc.Framerate.ParseError

Exception returned when a framerate cannot be parsed.

Vtc.Framestamp

Represents a particular frame in a video clip.

Vtc.Framestamp.ParseError

Exception returned when there is an error parsing a Timecode value.

Vtc.Framestamp.Range

Holds a framestamp range.

Vtc.Rates

Pre-defined framerates commonly found in the wild.

Vtc.SMPTETimecode.Sections

Holds the individual sections of a SMPTE timecode for formatting / manipulation.

Vtc.Source.Frames

Protocol which types can implement to be passed as the main value of `Framestamp.with_frames/2`.

Vtc.Source.Frames.FeetAndFrames

Holds Feet+Frames information.

Vtc.Source.Frames.SMPTETimecodeStr

Implementation of Frames for timecode string. See `Vtc.Framestamp.smpte_timecode/2` for more information on this format.

Vtc.Source.Seconds

Protocol which types can implement to be passed as the main value of `Framestamp.with_seconds/3`.

Vtc.Source.Seconds.PremiereTicks

Implements Seconds protocol for Premiere ticks. See `Vtc.Framestamp.premiere_ticks/2` for more information on this unit.

Vtc.Source.Seconds.RuntimeStr

Implementation of Seconds for runtime strings. See `Vtc.Framestamp.runtime/2` for more information on this format.

Vtc.TestUtls.StreamDataVtc

`StreamData` generators for use in tests that involve custom Ecto types. For use in property tests.

Next Page → vtc-ex