Hi @kenpeter,
Using the media->get()
action, you can obtain the duration and addition highlevel metadata per media entry.
If you want the actual size per flavour, then you’ll need to call flavorasset->list()
passing a KalturaFlavorAssetFilter
object with entryIdEqual=$YOUR_ENTRY_ID
.
The KalturaMediaEntry object holds the entry’s metadata, not the actual files that were created from transcoding the source media. The info for these is kept in the KalturaFlavorAsset. Obviously, the size will vary between flavours.
In regards to your other question, see https://developer.kaltura.com/api-docs/Secure_Control_and_Govern/Content-Categories-Management.html
and also my reply here: Private videos in media list response