Kaltura

API

Video platform API for upload, transcoding, live streaming and HLS delivery

Price
Yearly base fee, then pay per use
Access
Kaltura Session from admin secret

About

Kaltura Media Services is a video platform API: upload files in resumable chunks, transcode them, run RTMP live streams with recording, and deliver HLS or DASH through playManifest URLs or the Kaltura player. Billing is a $20 yearly fee plus usage, such as $0.001 per delivered stream.

What you can do with it

  • Upload large video files in resumable chunks and transcode them to renditions
  • Stream on-demand video as HLS or DASH through playManifest URLs or the player
  • Run RTMP live streams with cloud transcoding, DVR and recording to on-demand

Get started

  1. Open a Media Services account and copy the partner ID and admin secret
  2. Upload with uploadToken, create the entry with media.add and attach it
  3. Play the entry through a playManifest HLS URL or the Kaltura player

Example

# pip install KalturaApiClient
from KalturaClient import *
from KalturaClient.Plugins.Core import *

config = KalturaConfiguration()
client = KalturaClient(config)
ks = client.session.start(ADMIN_SECRET, USER_ID, KalturaSessionType.ADMIN, PARTNER_ID, 86400, "appId:appName-appDomain")
client.setKs(ks)

token = client.uploadToken.add(KalturaUploadToken())
client.uploadToken.upload(token.id, open("video.mp4", "rb"), False, True, 0)

media_entry = KalturaMediaEntry()
media_entry.name = "Kaltura Logo"
media_entry.mediaType = KalturaMediaType.VIDEO
entry = client.media.add(media_entry)

resource = KalturaUploadedFileTokenResource()
resource.token = token.id
client.media.addContent(entry.id, resource)
# HLS: https://cdnapisec.kaltura.com/p/{partnerId}/sp/{partnerId}00/playManifest/entryId/{entryId}/format/applehttp/protocol/https/a.m3u8

Details

Hosting
Hosted service
Available in
Worldwide
Official SDKs
Python, JavaScript/TypeScript, PHP, Ruby, Java, C#, Swift
MCP server
None

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .