lib/scc.js
function(timeStamp) {
        var secondsPerStamp = 1.001,
            timesplit = timeStamp.split(':'),
            timestampSeconds = (parseInt(timesplit[0], 10) * 3600 +
                parseInt(timesplit[1], 10) * 60 +
                parseInt(timesplit[2], 10) +
                parseInt(timesplit[3], 10) / 30),
            seconds = timestampSeconds * secondsPerStamp,
            microSeconds = seconds * 1000 * 1000;
        return (microSeconds > 0) ? microSeconds : 0;
    }
function(timeStamp) {
        var secondsPerStamp = 1.001,
            timesplit = timeStamp.split(':'),
            timestampSeconds = (parseInt(timesplit[0], 10) * 3600 +
                parseInt(timesplit[1], 10) * 60 +
                parseInt(timesplit[2], 10) +
                parseInt(timesplit[3], 10) / 30),
            seconds = timestampSeconds * secondsPerStamp,
            microSeconds = seconds * 1000 * 1000;
        return (microSeconds > 0) ? microSeconds : 0;
    }
function ( timeStamp ) { var secondsPerStamp = 1.001 , timesplit = timeStamp . split ( ':' ) , timestampSeconds = ( parseInt ( timesplit [ 0 ] , 10 ) * 3600 + parseInt ( timesplit [ 1 ] , 10 ) * 60 + parseInt ( timesplit [ 2 ] , 10 ) + parseInt ( timesplit [ 3 ] , 10 ) / 30 ) , seconds = timestampSeconds * secondsPerStamp , microSeconds = seconds * 1000 * 1000 ; return ( microSeconds > 0 ) ? microSeconds : 0 ; }
Converts SCC timestamps to microseconds
@function
@public
@param {string} timeStamp - Timestamp of SCC line
Converts SCC timestamps to microseconds