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 would like to be able to ftp video files to my kaltura box and have kaltura ingest them automatically. Is there any way to do this? I can get the files to the Kaltura server easy enough, and then could I have a cron that looks in the directory and kicks off some script that starts processing them if they are there?
You can upload files with the API via any programming language
"Drop Folders" are more what I had in mind. If I understand correctly, a cron job is setup to watch a directory on a remote host (scp or ftp) and ingest files as they come available.
it's as oferc said, you can develop this functionallity quite easy by using the api
Take a look at the php demo script from kaltura - it's really simple
// Your Kaltura partner credentials
define("PARTNER_ID", "nnnnnn");
define("ADMIN_SECRET", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
define("USER_SECRET", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
require_once "KalturaClient.php";
$user = "SomeoneWeKnow"; // If this user does not exist in your KMC, then it will be created.
$kconf = new KalturaConfiguration(PARTNER_ID);
// If you want to use the API against your self-hosted CE,
// go to your KMC and look at Settings -> Integration Settings to find your partner credentials
// and add them above. Then insert the domain name of your CE below.
// $kconf->serviceUrl = "http://www.mySelfHostedCEsite.com/";
$kclient = new KalturaClient($kconf);
$ksession = $kclient->session->start(ADMIN_SECRET, $user, KalturaSessionType::ADMIN, PARTNER_ID);
if (!isset($ksession)) {
die("Could not establish Kaltura session. Please verify that you are using valid Kaltura partner credentials.");
}
$kclient->setKs($ksession);
// Set the response format
// KALTURA_SERVICE_FORMAT_JSON json
// KALTURA_SERVICE_FORMAT_XML xml
// KALTURA_SERVICE_FORMAT_PHP php
$kconf->format = KalturaClientBase::KALTURA_SERVICE_FORMAT_PHP;
$movieURL = "http://upload.wikimedia.org/wikipedia/commons/c/c3/Nachtfalter_2.ogv";
$entry = new KalturaMediaEntry();
$entry->name = "Random Video TEST";
$entry->mediaType = KalturaMediaType::VIDEO;
$result = $kclient->media->addFromUrl($entry, $movieURL);
echo '<h3>Media entry structure returned</h3>';
echo '<pre>';
print_r($result);
echo '</pre>';
I have been playing around with both the PHP and Python client libraries and it does seem a fairly simple process to develop.
As I see it the decision really boils down to maintenance and reinventing the wheel. If the functionality already exists, that I and my successors do not have to maintain, that allows us to drop source content into a directory and the Kaltura system automatically ingests presumably using the default transcoding profile...why would I want to reinvent the wheel and create duplicate functionality that my organization will need to expend ongoing effort to maintain?
For a simple use case of needing to post content on a regular schedule, transcode using the same profile, and post as nodes on a Drupal website...I'm not seeing the advantage to rolling-my-own...?
I'm not sure that drop folder is part of CE 4.0, I do think it's part of CE 5.0
You didn't mentioned wich kaltura version you use, and if you're not on eagle (wich is assumed, otherwise you should know the existance of drop folders) you need to build your own workaround.
In eagle dropfolders are integrated take a look here http://knowledge.kaltura.com/kaltura-drop-folders
I am currently evaluating Kaltura's SaaS hosted service.
I started out trying to install CE 4.0 in a CentOS 6 VM under Virtualbox. But it was not plug-and-play and one of my main criteria is effort to support. CE would require another server to maintain and we would have to configure a DMZ on our network.
We are a volunteer-run non-profit and while I bring 23 years of Corporate IT to the table, the organization can not always count on that skill-set so I have to plan accordingly in the work I do here.
If the cost is not prohibitive, SaaS seems the obvious choice for us.
I am also very interested in this functionality.