An open API service indexing awesome lists of open source software.

https://github.com/abema/go-timecode

Go Package for SMPTE 12 timecodes.
https://github.com/abema/go-timecode

drop-frame go non-drop-frame smpte-timecode

Last synced: 5 months ago
JSON representation

Go Package for SMPTE 12 timecodes.

Awesome Lists containing this project

README

          

go-timecode
===========

[![Go Reference](https://pkg.go.dev/badge/github.com/abema/go-timecode/timecode.svg)](https://pkg.go.dev/github.com/abema/go-timecode/timecode)

go-timecode is a Go library for SMPTE 12M timecodes.

Features
-----------

- supports drop-frame (DF) and non-drop-frame (NDF)
- supports standard film, video, and television editing rates of 10, 15, 23.976, 24, 25, 29.97, 30, 48, 50, 59.94, 60
- timecode and number of frames can be calculated
- convertable between timecode and number of frames

Installation
-----------

```shell
go get github.com/abema/go-timecode/timecode
```

Usage
-----------

[Examples](https://pkg.go.dev/github.com/abema/go-timecode/timecode#pkg-examples).

License
-----------

go-timecode is available under the [MIT License](https://opensource.org/license/mit/).