duration

Groovy time durations

Hi I'm trying to calculate the difference (duration) between two times in Groovy. e.g. start = "2010-10-07T22:15:33.110+01:00" stop = "2010-10-07T22:19:52.356+01:00" Ideally I would like the get the duration returned in Hours, Minutes, Seconds, Milliseconds. Can anybody please help. I've tried to use Groovy's duration classes but ...

Why can't I set up my cookie duration with cakePHP

So, I've tried many many things, but still always end up with Cookies that have the duration set to "Session" when looked at with Developers Tools in Google Chrome. Here are my current settings: core.php: Configure::write('Session.cookie', 'session'); Configure::write('Session.timeout', '3600'); Configure::write('Session.start', true);...

How to find duration of an uploaded mp4 or f4v video?

I've tried using directshowlib-2005 by installing k-lite mega codec pack. It can't find the duration of an mp4 file or f4v file (avi, wmv and flv has no problem). I use ImediaSeeking interface of directshowlib-2005 to find duration. But in case of mp4 and f4v the GetDuration method returns zero. I know it is a codec problem, but I do n...

How to create a graph in order to parse an mp4 file to get the duration?

I am trying to find duration of an mp4 file using direct show component of windows using the Dotnet wrapper(directShow-lib 2005). But the method i used was GetDuration of IMediaSeeking interface. But this returns zero as duration. After searching i found the following statement: "It doesn't matter whether it's in a container or not, it...

Getting FLV duration with php.

Hello, I have an flv file uploaded to a server. I would like to display its duration in the following format "minutes:seconds". Can anybody help me with this ? Thank you ...

ActionScript - Tween With Zero Duration?

i have a tween function which fades in a display object over time. when i set my tween duration to 0 nothing happens. isn't the tween suppose to animate in 0 seconds (or frames) to emulate no animation at all? new Tween(this, "alpha", None.easeOut, 0.0, 1.0, 0, true); ...