Media Encoder2027
Object

SpeakerSeparation

Utility to invoke Speaker Separation

Methods

static → Number

Returns the billable duration in seconds Separate() would submit for the track item. Does not submit a job.

inTrackItem TrackItem
static → Number

Returns a promise that resolves to the estimated credit cost for the given audio duration (seconds). Does not submit a job.

inAudioDurationSeconds Number
static → Boolean

Returns whether Separate Crosstalk would be enabled for the given track-item selection. Does not submit a job.

inSelection Object
static → Number

Maps a service|backend dvacore::Result (int) to the user-facing toast result code (int). Does not submit a job.

inResult Number
static → Boolean

Runs Speaker Separation directly on the given track item(s) bypassing the confirmation dialog. Returns a promise that resolves once the service job (upload process download) completes; stems are imported and placed on the timeline asynchronously afterwards.

inTrackItems Array
inSequence Object
static → Boolean

Runs the Speaker Separation command on the current timeline audio selection.

static → Number

Validates a track item's duration for Speaker Separation; returns the dvacore::Result as an int (0 == success). Does not submit a job.

inTrackItem TrackItem

Return 1

Methods that return a SpeakerSeparation.