8000 GitHub - nomalab/elm-timecode: SMTPE timecode elm package · GitHub
[go: up one dir, main page]

Skip to content

About

SMTPE timecode elm package

Resources

Stars

1 star

Watchers

3 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMPTE Timecode

A library for working with video timecodes, supporting SMPTE standards and drop frames.

Install

elm install nomalab/elm-timecode

Usage

import Timecode

formatted =
    Result.map Timecode.fullFormat (Timecode.fromFrameNumber 17982 Timecode.FPS_29_97 True))

parsed =
    Timecode.fromString "00:10:00:00@29.97"

parsedWithFPS =
    Timecode.withFramerateFromString Timecode.FPS_29_97 "00:10:00;00"

operations =
    parsed
    |> Result.map (Timecode.add (Timecode.minutes 10))

parsedWithFPS =
    Timecode.withFramerateFromString Timecode.FPS_29_97 "00:10:00;00"

About

SMTPE timecode elm package

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages

0