Posts tagged ‘Kaltura Server’

December 7th, 2011

How To Setup Kaltura CE 4.0 VMWare Image in 15 minutes

by Roni Cohen

Various forum threads (@, @, @) discussed issues with the VMWare image of Kaltura CE 4.0. The following video tutorial will guide you how to install Kaltura CE 4.0 VMWare image in 15 minutes.

In the video we deliberately re-created most of the problems users encountered while setting up the VMWare image. The fixes mentioned in this video also apply to the generic Kaltura Server installation and are not specific to the VMWare image installation (We’ll make sure that in the next release these are simplified and fixed).

Two problems that the video solves particularly are the logs and cache folder permissions and the Sphinx localhost issue.

Now set your clocks, follow the video and in 15 minutes you’ll be good to go.

CE 4.0 VMWare Image Setup Video Tutorial

read more »

November 16th, 2011

Kaltura Community Edition Case Study – StreamUK Launching Enterprise Grade Kaltura CE based Video Platform.

by Duncan.Burbidge

StreamUK Logo

This is a guest post by Duncan Burbidge, Co-Founder and CEO of StreamUK, a UK based webcasting and digital media company.

 

StreamUK was founded in 2001 to provide digital media solutions and back then you did everything yourself.  After 7 years of trying to match the increasing pace of technological development, the decision was taken to investigate options for StreamUK’s main online video platform (OVP).

In 2008, various options presented themselves, including partnerships with the likes of Brightcove, taking investment to re-develop our own OVP or working with an open source variant.  After trialling and modelling these approaches, it was decided that the latter (adopting an open source solution) was the most promising for three reasons:

  • Culturally – we, and more importantly our clients, needed control of their features from Europe;
  • Practically – we have huge value to contribute to the solution from a decade of accumulating knowledge at code, CDN and video levels;
  • Temporally(!) – we needed to get to market faster than we could develop from scratch.

StreamUK joined the global Kaltura community of experts (which at November 2011 stands in excess of 20,000) and began to contribute to the codebase of the Kaltura version 1.5 release.  As we became more familiar with the project, we became more impressed by it and in early 2009 we recruited a team of four full-time php-Zend developers to build on the framework, planning for a late 2010 release.

StreamUK MediaPlatform - Powered by Kaltura

read more »

October 22nd, 2011

The Kaltura Server Folders Logical Structure

by Roni Cohen

This post discusses the high-level folder structure of the Kaltura core server. Developers, IT and engineers who maintains Kaltura are invited to join the discussion below and ask questions regarding best practices or maintenance.The Kaltura Server Folder Structure Logical Diagram
read more »

September 27th, 2011

Server Side Clipping and Trimming

by Roni Cohen

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!

September 14th, 2011

New Entry Assets – Captions and Attachments

by Roni Cohen

Kaltura’s new Eagle version introduced 2 new assets publishers can now attach to media entries: Caption assets (CaptionAsset Service in the API), to hold subtitles/captions of video assets and related files attachments.

 

Captions:

We currently support captions of type: SRT and TimeTex (TTML / DFXP) files.

 

In-Video Search:

But why stop at subtitles, the caption files, now also make the video searchable, to the time in the video where words are said.

Click Here for the showcase of in-video search developed by our KDP master Hila Karimov.
The demo lets you search captions throughout the movie, hit the search button to find the position of the text in the text box. (See if you can find the most frequently said word…).
Here are few use-cases; Analysis of political debates, searching through long lecture, interviews and speeches.

Have more use-case in mind? The code is @ our GitHub account over here, play around, fork it and let us know what you come up with!

 

Related Files:

The second asset is Related Files (AttachmentAsset Service in the API). Related Files are attachements to the media entry, that can be managed and served in addition to the media. The common use cases include: the license for the media asset, the plot or presentation files related to a video or basically any other file you’d like to save next to the media asset.

 

The Server-side for this was developed by our senior core developer TanTan.
We’re very happy that video will be fully indexed and searchable, and very excited to so what great features you come up with using these new APIs and tools.

Enjoy!

August 25th, 2011

Data Makes The World Go Round

by Omer Gertel

Behind the scenes in the Kaltura Server, a lot of data is being created. This data is collected and aggregated into Kaltura’s Data Warehouse  (DWH). The DWH contains all the information displayed in the  Analytics tab in the Kaltura Management Console (KMC), and more (some accessible through the API, and some only through direct querying). In this post I’ll shortly describe what data is stored in the DWH and how to get to it. In future posts I’ll dive into the technology powering the DWH, because it is different from the technology powering the rest of the Kaltura Server.

read more »

August 3rd, 2011

Kaltura’s Server Test Infrastructure Failure Report

by Roni Cohen

As stated in the introduction post: http://blog.kaltura.org/?p=793 the test infrastructure gives you a full detailed report on what tests, objects and even fields weren’t valid.

The failure report is in XML format and provides an easy to navigate hierarchy for the test failures.

 

The failure report from the command line

 

Main Concepts:

 

  • TestCaseInstanceFailures:
    The basic test failure object is the “TestCaseInstanceFailure” – which defines an error for a specific test procedure with a specific data set.
    It describes the inputs for the test and the failures that were found in each field with the output reference (expected value) and the actual result.

 

  • TestProcedureFailures:
    One hierarchy up you have the “TestProcedureFailures” which can hold several test case instance failures – each test procedure can have many test case instances.

 

  • TestCaseFailures:
    The highest hierarchy is the “TestCaseFailures” which in turn can hold several test procedure failures – each test case is made from several test procedures.

 

A full auto generated failure report

July 28th, 2011

Introducing Kaltura’s Server Test Infrastructure

by Roni Cohen

In the up coming Kaltura server version, “Eagle” (CE5), we have developed the new, exciting Kaltura Server Testing Infrastructure. The new infrastructure utilizes PHPUnit (http://www.phpunit.de/manual/current/en/) to help you write, run and maintain tests easily.

 

PHPUnit command line test runner result

 

The infrastructure provides the following key features:

Key Features:

  • Separation between the test logic, test data and test configuration – Adding, updating or deleting test cases is done by simply editing the data file – no logic changes.
  • Global data file – This enables you to define data once that is then shared between all tests such as Kaltura Partner ID, all test configurations are set when the tests are deployed.
  • Base assert functions for Kaltura API and server objects.
  • Detailed failure report on what fields, objects and tests were not valid. Example can be found here: http://blog.kaltura.org/?p=883
  • Automated generation of mock objects – the test data generator will create mock objects for your tests from a given server (database) and the objects ids.
  • One of the most exciting features is: automated correction of data files based on the failure report– after running a test, a new data file is generated and all failed fields are set with new updated values. All you have to do is go over the failure report and see if they are valid failures you want to override, if not, go, FIX your CODE and use the old data file again.
  • Automated API tests generator – adaptively create tests for every action and service, including plugins for the tested server.
    For example – if you have a new plugin you can create tests for it automatically.
  • You can still use all of PHPUnit’s capabilities.

And those are just the key features. There are plenty more features such as opening a client for API tests and easy deployment on any server.

 

Example of test data file

 

 

Current use of the testing infrastructure

At Kaltura we use this infrastructure to enhance our server stabilization in multiple ways:

  1. Full regression tests
  2. Nightly test of the latest API code
  3. Nightly test of the latest installation package
  4. Nightly running of the server’s unit tests

Tune in for our next posts were we’ll share how to install, use and deploy the infrastructure.
Let us known the comments if you are interested in more use cases or have ideas about extending this infrastructure.
Contact us if you think this infrastructure can help you on your installation or general use of the Kaltura server.

Happy Testing :)