The problem is not with the API. As you can see, the KalturaMediaEntry object does have a member called duration.
It is set to zero because of the mediainfo problem. Please read the post I linked to, it has all the answers and an explanation on how to upgrade.
↧
Getting video Duration using PHP library
↧