Samples icon indicating copy to clipboard operation
Samples copied to clipboard

end - zeropoint produces a negative number

Open russellaugust opened this issue 3 years ago • 0 comments

https://github.com/Adobe-CEP/Samples/blob/c857e94ca87d5d440946b0c668c778b497e72476/PProPanel/jsx/PPRO/Premiere.jsx#L768

I know it's commented out, but this produces a negative number. If you want duration, app.project.activeSequence.end divided by 254016000000 seems to work without the zeroPoint.

zeroPoint's ticks appear to be the start timecode in ticks.

russellaugust avatar Sep 24 '21 18:09 russellaugust