Skip to content

VideoFrame.prototype.toSeconds doesn't consider :FF #1

@pjdicke

Description

@pjdicke

For the toSeconds method to be more precise you should consider factoring in the framerate as well.

var time = SMPTE.split(':');
return (((Number(time[0]) * 60) * 60) + (Number(time[1]) * 60) + Number(time[2]) + Number(time[3]) / this.frameRate );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions