StartUniversalTranscodeRequest
import { StartUniversalTranscodeRequest } from "@lukehagar/plexjs/sdk/models/operations" ;
let value : StartUniversalTranscodeRequest = {
hasMDE : 1 ,
path : "/library/metadata/23409" ,
mediaIndex : 0 ,
partIndex : 0 ,
protocol : "hls" ,
fastSeek : 0 ,
directPlay : 0 ,
directStream : 0 ,
subtitleSize : 100 ,
subtites : "burn" ,
audioBoost : 100 ,
location : "lan" ,
mediaBufferSize : 102400 ,
session : "zvcage8b7rkioqcm8f4uns4c" ,
addDebugOverlay : 0 ,
autoAdjustQuality : 0 ,
} ;
Field
Type
Required
Description
Example
hasMDE
number
✔️
Whether the media item has MDE
1
path
string
✔️
The path to the media item to transcode
/library/metadata/23409
mediaIndex
number
✔️
The index of the media item to transcode
0
partIndex
number
✔️
The index of the part to transcode
0
protocol
string
✔️
The protocol to use for the transcode session
hls
fastSeek
number
➖
Whether to use fast seek or not
0
directPlay
number
➖
Whether to use direct play or not
0
directStream
number
➖
Whether to use direct stream or not
0
subtitleSize
number
➖
The size of the subtitles
100
subtites
string
➖
The subtitles
burn
audioBoost
number
➖
The audio boost
100
location
string
➖
The location of the transcode session
lan
mediaBufferSize
number
➖
The size of the media buffer
102400
session
string
➖
The session ID
zvcage8b7rkioqcm8f4uns4c
addDebugOverlay
number
➖
Whether to add a debug overlay or not
0
autoAdjustQuality
number
➖
Whether to auto adjust quality or not
0