Kaltura

API

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

Fiyat
Yearly base fee, then pay per use
Erişim
Kaltura Session from admin secret

Hakkında

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.

Neler yapabilirsin

  • 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

Başlarken

  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

Örnek kod

# 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

Ayrıntılar

Barındırma
Hazır hizmet (bulut)
Kullanılabildiği yerler
Tüm dünya
Resmi SDK'lar
Python, JavaScript/TypeScript, PHP, Ruby, Java, C#, Swift
MCP sunucusu
Yok

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .