Skip to main content
View as Markdown

Overview - Content Management

Video Editing Overview​

This guide covers all non-destructive video composition operations: trimming, clipping, multi-clip concatenation, overlays (picture-in-picture), background replacement (chroma key), caption burn-in, fade effects, dimension control, audio mixing, and waveform visualization. All operations use media.updateContent (trim in place) or media.addContent (create new entry) with operation resource types.

Base URL: $KALTURA_SERVICE_URL (default: https://www.kaltura.com/api_v3)
Auth: All requests require a valid KS (see Session Guide)
Format: Form-encoded POST, format=1 for JSON responses

When to Use​

ScenarioWhat to Use
Trim a video in place — shorten without changing the entry IDmedia.updateContent + KalturaOperationResource with KalturaClipAttributes
Create a clip — extract a segment to a new entrybaseEntry.clone (exclude flavors) + media.updateContent on the clone
Concatenate segments — splice clips from multiple sourcesmedia.addContent + KalturaOperationResources (plural)
Picture-in-picture — overlay one video on anotherKalturaOverlayAttributes in mediaCompositionAttributesArray
Green screen removal — replace background via chroma keyKalturaReplaceBackgroundAttributes
Avatar on B-roll — nested overlay + background replacementKalturaOverlayAttributes with resourceMediaCompositionAttributesArray containing KalturaReplaceBackgroundAttributes
Burn captions into video — permanent subtitle renderKalturaRenderCaptionAttributes in captionAttributes
Fade transitions — fade in/out between segmentsKalturaEffect in effectArray
Resize / crop — change aspect ratio or resolutionKalturaDimensionsAttributes subtypes
Audio mixing — blend overlay audio with main videoaudioAttributes on overlay/background resources
Waveform preview — get audio amplitude datamedia.getVolumeMap / flavorAsset.getVolumeMap

Prerequisites​

  • Kaltura Session (KS): ADMIN KS (type=2) with disableentitlement privilege. See Session Guide.
  • FEATURE_ENTRY_REPLACEMENT: Required for trim operations (media.updateContent). Accounts without this feature receive FEATURE_FORBIDDEN (one-time setup by your Kaltura account team).
  • Source entries in READY status (2): All editing operations require the source entry to be fully transcoded.
  • Caption asset ID: For caption burn-in, you need an existing captionAsset ID (see Captions & Transcripts).