Kaltura server now supports the new abilities to clip or trim an entry. The trimming or clipping is done physically on the file system using conversion engines such as FFMPEG.

Clipping vs Trimming:

  1. Clipping- Create a new entry from an existing entry. Allows you to specify the start and end time for the new entry – the clip, this can be used to create a 2 minutes intro video to a long lecture or to take parts from one, such as homework assignments. You can also clip a long lecture to several shorter clips divided by subjects. The new entry will point to it’s source entry which it was clipped from, so you can always know what was the source entry for the clip – this can be found on the KaltruraBaseEntry->rootEntryId property.

    You can find all the clips that were created from a given entry, for example entry ID ‘0_ad523s’, by this simple API call:

    In order to chain several clips from a single video, create a dynamic playlist with this filter:

  2. Trimming – No new entry is created. Sometimes, you may want to trim the start and/or end of a video, removing redundant parts. Trimming is performed on the source flavor of the entry, modifying that video permanently.

 

In order to trim an entry using Kaltura’s API just follow these steps:
*written in PHP and uses our PHP client library.

*Code was taken from our new clipping application

So trim away!

Share this
Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+