The root cause is explained in this commit:
Newer versions rely on the kaltura-mediainfo package which is of version 0.7.61 rather than the mediainfo package available from the RHEL/CentOS/EPEL repos which is of a higher version.
While it is highly recommend that you upgrade all packages to the latest version, to solve this particular issue, you can install kaltura-mediainfo from the current stable Kaltura repo onto an older version and then change the directives in the following files:
to point to /opt/kaltura/bin/mediainfo instead of /usr/bin/mediainfo.
After making the change, reload your Apache.
This will take care of future entries, for previously ingested entries, you will need to either update the entry.length_in_msecs column like so:
mysql> update entry set length_in_msecs=$LENGTH_IN_MS where id='$ENTRY_ID';
Or using the API, calling media->update() for instance, here is a code sample using the PHP client:
$entryId = '';
$mediaEntry = new KalturaMediaEntry();
$mediaEntry->msDuration = ;
$result = $client->media->update($entryId, $mediaEntry);