no idea how to hook encoding.com to kaltura

9 replies [Last post]
Joined: 08/05/2010
Points: 5

Hi, I made some research but to no avail,
do you have any idea on how to integrate kaltura and encoding.com

I have an active account on encoding.com and kaltura happily installed on the server.

All i've found is this:
Enabling Encoding.com cloud transcoding requires an account at Encoding.com and batch configuration adjustments - configuration instructions to be provided

and at the application page:
http://exchange.kaltura.com/content/encodingcom#specifications

there's nothing to download, (via chrome you won't get any content at all, on firefox there are a bit of informations but nothing to download either)

thanks for any help

Joined: 08/05/2010
Points: 5

OT:
After posting I got this, i think it should be hidden

user warning: Unknown column 'r.vid' in 'where clause' query: SELECT t.tid, t.name FROM drupalorg_term_data t INNER JOIN drupalorg_term_node r ON r.tid = t.tid WHERE t.vid = 3 AND r.vid = 6928 ORDER BY t.weight LIMIT 0, 1 in /xxxxxxxxxxxx/.mysql.inc on line 174.

Joined: 11/05/2009
Points: 249

I hear you man I think you just gotta wait until the devs come out with the batch configuration guide for that. And if past performance is any indication...it could be awhile, if ever. That is, of course, unless you are a PHP guru and can dig in there yourself (in which case, please share!). Just my two cents.

Joined: 08/05/2010
Points: 5

aww,

I'm new to kaltura but this is utterly sloppy, it's in the presentation, in the CMS and it even has a page on the applications.

just write: "no encoding.com capabilities for now" instead of the exact opposite.

Of course this is a major bummer deciding what system to use.
c'mon.

Joined: 08/07/2010
Points: 3

Snake,

In order to use encoding.com you need:

  1. Configure your conversion flavor params in the DB to use encoding.com as the conversion engine.
    For example, in flavor_params table, conversion_engines column, you can replace the value to '4' (kConvertJobData::CONVERSION_ENGINE_ENCODING_COM), that will use only encoding.com, or you can add encoding.com as fallback engine, for example if you already have '2' (kConvertJobData::CONVERSION_ENGINE_FFMPEG) you can replace it with '2,4', meaning, the ffmpeg will be used as default and only in case of failure, the encoding.com will be used.
  2. Configure your batch worker to support encoding.com, by changing your current KAsyncConvert worker.
    Make sure to set the following attributes:

    params.EncodingCom              = true
    params.EncodingComUserId        = your-user-id
    params.EncodingComUserKey       = your-password
    params.EncodingComUrl           = http://manage.encoding.com/index.php

If you want, instead of changing the existing worker, you can create a new worker configuration of type KAsyncConvert, just make sure to use a different name and id (must be unique per scheduler).
Using a new worker configuration will enable you better control for starting and stopping the workers separately.

Whether you used existing worker or a new worker, you'll also have to configure a KAsyncConvertCloser worker.
That closer is downloading the converted media from encoding.com.
Make sure to configure the closer with encoding.com credentials as well:

params.EncodingComUserId        = your-user-id
params.EncodingComUserKey       = your-password
params.EncodingComUrl           = http://manage.encoding.com/index.php

The default batch configuration file located at $install_dir/batch/batch_config.ini

Tan-Tan

Joined: 08/05/2010
Points: 5

I was very near to the solution because I grepped for "encoding" and found the batch.ini file,
the problem was i couldn't fathom the DB update, you have been very very precious with your help.

Joined: 01/05/2009
Points: 1697

Hi snake,

Can you please share if things are going well now?
And will be very helpful if you can share some insights on how you plan to use Kaltura, deployment or any other ideas we can learn and improve from.

Thanks.

Zohar

Joined: 09/16/2010
Points: 1

Would any Kaltura users be interested in a Zencoder integration as an additional option to Encoding.com?

Joined: 11/05/2009
Points: 249

I would be interested in any service that would offer HTML5 and iPhone compliant encoding profiles for hooking into KalturaCE

Joined: 11/05/2009
Points: 249

Another question on this...

If I enable encoding via encoding.com, how can I get Ogg video and/or webM formats into KalturaCE? Would this involve setting up different flavor profiles?