Forums > MaxMSP

Convert QT time to minutes, seconds and milliseconds

August 22, 2013 | 2:14 am

Hi, how can I convert QT time value to minutes, seconds and milliseconds?

– Pasted Max Patch, click to expand. –

August 22, 2013 | 4:07 am

here’s a patch that should get you half way to what you want

it works out the total time of the video, and also has a ‘progress bar’ showing the relative position while playing (a separate slider can be clicked on to jump to a point in time…)

– Pasted Max Patch, click to expand. –

August 22, 2013 | 10:43 am

You need to know the timescale of the loaded movie, which you can get with the message ‘gettimescale’.

– Pasted Max Patch, click to expand. –

Viewing 3 posts - 1 through 3 (of 3 total)