Kaltura API DocumentationflavorParams.add

Add new Flavor Params

Try it out
post https://www.kaltura.com/api_v3/service/flavorparams/action/add

Request Parameters

body:object
object
flavorParams*:object:KalturaFlavorParams
anamorphicPixels:number
aspectRatioProcessingMode:integer
audioBitrate:integer

The audio bitrate (in KBits) of the Flavor Params

audioChannels:integer

The number of audio channels for "downmixing"

audioCodec:string
Enum: NONE [], AAC [aac], AACHE [aache], AC3 [ac3], AMRNB [amrnb], COPY [copy], EAC3 [eac3], MP3 [mp3], MPEG2 [mpeg2], PCM [pcm], VORBIS [vorbis], WMA [wma], WMAPRO [wmapro]

Enum Type: KalturaAudioCodec

The audio codec of the Flavor Params

audioSampleRate:integer

The audio sample rate of the Flavor Params

chunkedEncodeMode:integer
clipDuration:integer
clipOffset:integer
contentAwareness:number
conversionEngines:string

The list of conversion engines (comma separated)

conversionEnginesExtraParams:string

The list of conversion engines extra params (separated with "|")

deinterlice:integer
engineVersion:integer
forceFrameToMultiplication16:integer
forcedKeyFramesMode:integer
format:string
Enum: _3GP [3gp], APPLEHTTP [applehttp], AVI [avi], BIF [bif], BMP [bmp], COPY [copy], FLV [flv], HLS [hls], ISMA [isma], ISMV [ismv], JPG [jpg], M2TS [m2ts], M4V [m4v], MKV [mkv], MOV [mov], MP3 [mp3], MP4 [mp4], MPEG [mpeg], MPEGTS [mpegts], MXF [mxf], OGG [ogg], OGV [ogv], PDF [pdf], PNG [png], SWF [swf], WAV [wav], WEBM [webm], WMA [wma], WMV [wmv], WVM [wvm]

Enum Type: KalturaContainerFormat

The container format of the Flavor Params

frameRate:number

The frame rate of the Flavor Params

gopSize:integer

The gop size of the Flavor Params

height:integer

The desired height of the Flavor Params

isAvoidForcedKeyFrames:integer
isAvoidVideoShrinkBitrateToSource:integer
isAvoidVideoShrinkFramesizeToSource:integer
isCropIMX:integer
isEncrypted:integer
isGopInSec:integer
isVideoFrameRateForLowBrAppleHls:integer
maxFrameRate:integer
multiStream:string
objectType:string
Enum: KalturaFlavorParams, KalturaFlavorParamsOutput, KalturaDocumentFlavorParams, KalturaImageFlavorParams, KalturaLiveParams, KalturaMediaFlavorParams, KalturaPdfFlavorParams, KalturaSwfFlavorParams, KalturaWidevineFlavorParams, KalturaDocumentFlavorParamsOutput, KalturaImageFlavorParamsOutput, KalturaMediaFlavorParamsOutput, KalturaPdfFlavorParamsOutput, KalturaSwfFlavorParamsOutput, KalturaWidevineFlavorParamsOutput
operators:string
optimizationPolicy:integer
rotate:integer
subtitlesData:string
twoPass:boolean
videoBitrate:integer

The video bitrate (in KBits) of the Flavor Params

videoBitrateTolerance:integer
videoCodec:string
Enum: NONE [], APCH [apch], APCN [apcn], APCO [apco], APCS [apcs], AV1 [av1], COPY [copy], DNXHD [dnxhd], DV [dv], FLV [flv], H263 [h263], H264 [h264], H264B [h264b], H264H [h264h], H264M [h264m], H265 [h265], MPEG2 [mpeg2], MPEG4 [mpeg4], THEORA [theora], VP6 [vp6], VP8 [vp8], VP9 [vp9], WMV2 [wmv2], WMV3 [wmv3], WVC1A [wvc1a]

Enum Type: KalturaVideoCodec

The video codec of the Flavor Params

videoConstantBitrate:integer
watermarkData:string
width:integer

The desired width of the Flavor Params

KalturaFlavorParams must also match all of:
object:KalturaAssetParams

Response

Success

object:KalturaFlavorParams
anamorphicPixels:number
aspectRatioProcessingMode:integer
audioBitrate:integer

The audio bitrate (in KBits) of the Flavor Params

audioChannels:integer

The number of audio channels for "downmixing"

audioCodec:string
Enum: NONE [], AAC [aac], AACHE [aache], AC3 [ac3], AMRNB [amrnb], COPY [copy], EAC3 [eac3], MP3 [mp3], MPEG2 [mpeg2], PCM [pcm], VORBIS [vorbis], WMA [wma], WMAPRO [wmapro]

Enum Type: KalturaAudioCodec

The audio codec of the Flavor Params

audioSampleRate:integer

The audio sample rate of the Flavor Params

chunkedEncodeMode:integer
clipDuration:integer
clipOffset:integer
contentAwareness:number
conversionEngines:string

The list of conversion engines (comma separated)

conversionEnginesExtraParams:string

The list of conversion engines extra params (separated with "|")

deinterlice:integer
engineVersion:integer
forceFrameToMultiplication16:integer
forcedKeyFramesMode:integer
format:string
Enum: _3GP [3gp], APPLEHTTP [applehttp], AVI [avi], BIF [bif], BMP [bmp], COPY [copy], FLV [flv], HLS [hls], ISMA [isma], ISMV [ismv], JPG [jpg], M2TS [m2ts], M4V [m4v], MKV [mkv], MOV [mov], MP3 [mp3], MP4 [mp4], MPEG [mpeg], MPEGTS [mpegts], MXF [mxf], OGG [ogg], OGV [ogv], PDF [pdf], PNG [png], SWF [swf], WAV [wav], WEBM [webm], WMA [wma], WMV [wmv], WVM [wvm]

Enum Type: KalturaContainerFormat

The container format of the Flavor Params

frameRate:number

The frame rate of the Flavor Params

gopSize:integer

The gop size of the Flavor Params

height:integer

The desired height of the Flavor Params

isAvoidForcedKeyFrames:integer
isAvoidVideoShrinkBitrateToSource:integer
isAvoidVideoShrinkFramesizeToSource:integer
isCropIMX:integer
isEncrypted:integer
isGopInSec:integer
isVideoFrameRateForLowBrAppleHls:integer
maxFrameRate:integer
multiStream:string
objectType:string
Enum: KalturaFlavorParams, KalturaFlavorParamsOutput, KalturaDocumentFlavorParams, KalturaImageFlavorParams, KalturaLiveParams, KalturaMediaFlavorParams, KalturaPdfFlavorParams, KalturaSwfFlavorParams, KalturaWidevineFlavorParams, KalturaDocumentFlavorParamsOutput, KalturaImageFlavorParamsOutput, KalturaMediaFlavorParamsOutput, KalturaPdfFlavorParamsOutput, KalturaSwfFlavorParamsOutput, KalturaWidevineFlavorParamsOutput
operators:string
optimizationPolicy:integer
rotate:integer
subtitlesData:string
twoPass:boolean
videoBitrate:integer

The video bitrate (in KBits) of the Flavor Params

videoBitrateTolerance:integer
videoCodec:string
Enum: NONE [], APCH [apch], APCN [apcn], APCO [apco], APCS [apcs], AV1 [av1], COPY [copy], DNXHD [dnxhd], DV [dv], FLV [flv], H263 [h263], H264 [h264], H264B [h264b], H264H [h264h], H264M [h264m], H265 [h265], MPEG2 [mpeg2], MPEG4 [mpeg4], THEORA [theora], VP6 [vp6], VP8 [vp8], VP9 [vp9], WMV2 [wmv2], WMV3 [wmv3], WVC1A [wvc1a]

Enum Type: KalturaVideoCodec

The video codec of the Flavor Params

videoConstantBitrate:integer
watermarkData:string
width:integer

The desired width of the Flavor Params

KalturaFlavorParams must also match all of:
object:KalturaAssetParams