{"id":19441422,"url":"https://github.com/jeffmikels/timecode_dart","last_synced_at":"2025-08-27T04:04:41.643Z","repository":{"id":42074781,"uuid":"481368098","full_name":"jeffmikels/timecode_dart","owner":"jeffmikels","description":"Pure Dart implementation of the SMPTE timecode specification.","archived":false,"fork":false,"pushed_at":"2022-06-21T06:27:21.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T21:51:22.931Z","etag":null,"topics":["dart","dartlang","hacktoberfest","smpte","timecode"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeffmikels.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-13T20:40:55.000Z","updated_at":"2022-10-06T13:10:05.000Z","dependencies_parsed_at":"2022-08-12T04:10:20.513Z","dependency_job_id":null,"html_url":"https://github.com/jeffmikels/timecode_dart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffmikels%2Ftimecode_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffmikels%2Ftimecode_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffmikels%2Ftimecode_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffmikels%2Ftimecode_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffmikels","download_url":"https://codeload.github.com/jeffmikels/timecode_dart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240625279,"owners_count":19831280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","dartlang","hacktoberfest","smpte","timecode"],"created_at":"2024-11-10T15:35:23.249Z","updated_at":"2025-02-25T07:42:10.019Z","avatar_url":"https://github.com/jeffmikels.png","language":"Dart","readme":"This package implements the Timecode SMPTE spec.\n\n## Features\n\nA `Timecode` object has a framerate and a number of frames. Various mathematical operations\ncan be done on the object, and it will be able to understand how to convert its frame number\nto a human readable SMPTE string like `01:23:45:01` where the form is `HH:MM:SS:FF` (hours,\nminutes, seconds, frames).\n\n`Timecode` objects can also be configured to use milliseconds instead of frames or to output\nSMPTE code with fractional seconds instead of frame numbers. In either case, the output will\nlook like this `01:23:45.123` where the last three digits are milliseconds.\n\n## Usage\n\nAdd to your `pubspec.yaml`.\n\n```bash\n$ dart pub add timecode\n```\n\nImport in your file and create a `Timecode` object.\n\n```dart\nimport 'package:timecode/timecode.dart';\n\nvar timecode = Timecode(framerate: TimecodeFramerate(24));\nprint(timecode);\nfor (var i = 0; i \u003c 100; i++) {\n\ttimecode.next();\n\tprint(timecode);\n}\n```\n\n## Additional information\n\nThe class is well-documented, so you should be able to understand it easily by looking at the API documentation\nor by reading the source code directly.\n\n### Reference material\n\nThis work is based on the work of the following:\n\n-   https://www.connect.ecuad.ca/~mrose/pdf_documents/timecode.pdf\n-   https://www.davidheidelberger.com/2010/06/10/drop-frame-timecode/\n-   https://pypi.org/project/pytimecode.py/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffmikels%2Ftimecode_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffmikels%2Ftimecode_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffmikels%2Ftimecode_dart/lists"}