Get duration of mp4 video file

Hi,

We have used the Live Stream Record module and created ‘.mp4’ files.

We are creating a HTTPProvider to get the duration of these files.

For ‘.flv’ files we used:

FLVUtils.getLastTC(new File(filePath))

Could you please tell us the corresponding functions available for mp4?

Any pointers will be helpful.

Regards,

Karuna.