Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
I'm trying to see if I can get a specific flavor for a video I just converted.
-It currently has 2 flavors. One mp4 and the other flv.
I want to be able to search by entryid and select one of those flavors (e.g 5,16).
I'm trying to see how I can do that in the testme page.
How can this be accomplished?
Ha, I also try to retrieve a specific video flavor and call the playManifest API. I wanna be able to search by entryid and select one of those video flavors. Thanks a lot for critical approach issue! network services
The first way is to use the flavorAsset.getFlavorAssetsWithParams which will return all the available flavors for a given entry id.
The second, is to use the playManifest API -
media.get – will return the metadata and information associated with a given entry Id.
To retrieve the video, you should call the playManifest API, having the partner Id and entry Id at hand –
playManifest – this is the URL where you can access the actual video stream
http://www.kaltura.com/p/[YourPartnerId]/sp/0/playManifest/entryId/[YourEntryId]/format/url/flavorParamId/[VideoFlavorId]/video.mp4
flavorParamId/[VideoFlavorId] determines which video flavor you will receive. In this case I use 0 to get source flavor (the original video that was uploaded).
The following lists few of the conventional flavor id's (this is the same for all Kaltura accounts) -
Note that you also have partner specific flavor id's, these can be retrieved from the KMC Settings > Transcoding Profiles.