OptionalbodyOptionalqueryOptionalcontainer?: stringThe video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv.
Optionalstatic?: booleanOptional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
Optionalparams?: stringThe streaming parameters.
Optionaltag?: stringThe tag.
OptionaldeviceProfileId?: stringOptional. The dlna device profile id to utilize.
OptionalplaySessionId?: stringThe play session id.
OptionalsegmentContainer?: stringThe segment container.
OptionalsegmentLength?: numberThe segment length.
OptionalminSegments?: numberThe minimum number of segments.
OptionalmediaSourceId?: stringThe media version id, if playing an alternate version.
OptionaldeviceId?: stringThe device id of the client requesting. Used to stop encoding processes when needed.
OptionalaudioCodec?: stringOptional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension.
OptionalenableAutoStreamCopy?: booleanWhether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
OptionalallowVideoStreamCopy?: booleanWhether or not to allow copying of the video stream url.
OptionalallowAudioStreamCopy?: booleanWhether or not to allow copying of the audio stream url.
OptionalaudioSampleRate?: numberOptional. Specify a specific audio sample rate, e.g. 44100.
OptionalmaxAudioBitDepth?: numberOptional. The maximum audio bit depth.
OptionalaudioBitRate?: numberOptional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
OptionalaudioChannels?: numberOptional. Specify a specific number of audio channels to encode to, e.g. 2.
OptionalmaxAudioChannels?: numberOptional. Specify a maximum number of audio channels to encode to, e.g. 2.
Optionalprofile?: stringOptional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
Optionallevel?: stringOptional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
Optionalframerate?: numberOptional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
OptionalmaxFramerate?: numberOptional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
OptionalcopyTimestamps?: booleanWhether or not to copy timestamps when transcoding with an offset. Defaults to false.
OptionalstartTimeTicks?: numberOptional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
Optionalwidth?: numberOptional. The fixed horizontal resolution of the encoded video.
Optionalheight?: numberOptional. The fixed vertical resolution of the encoded video.
OptionalmaxWidth?: numberOptional. The maximum horizontal resolution of the encoded video.
OptionalmaxHeight?: numberOptional. The maximum vertical resolution of the encoded video.
OptionalvideoBitRate?: numberOptional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
OptionalsubtitleStreamIndex?: numberOptional. The index of the subtitle stream to use. If omitted no subtitles will be used.
OptionalsubtitleMethod?: "Encode" | "Embed" | "External" | "Hls" | "Drop"Optional. Specify the subtitle delivery method.
OptionalmaxRefFrames?: numberOptional.
OptionalmaxVideoBitDepth?: numberOptional. The maximum video bit depth.
OptionalrequireAvc?: booleanOptional. Whether to require avc.
OptionaldeInterlace?: booleanOptional. Whether to deinterlace the video.
OptionalrequireNonAnamorphic?: booleanOptional. Whether to require a non anamorphic stream.
OptionaltranscodingMaxAudioChannels?: numberOptional. The maximum number of audio channels to transcode.
OptionalcpuCoreLimit?: numberOptional. The limit of how many cpu cores to use.
OptionalliveStreamId?: stringThe live stream id.
OptionalenableMpegtsM2TsMode?: booleanOptional. Whether to enable the MpegtsM2Ts mode.
OptionalvideoCodec?: stringOptional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension.
OptionalsubtitleCodec?: stringOptional. Specify a subtitle codec to encode to.
OptionaltranscodeReasons?: stringOptional. The transcoding reason.
OptionalaudioStreamIndex?: numberOptional. The index of the audio stream to use. If omitted the first audio stream will be used.
OptionalvideoStreamIndex?: numberOptional. The index of the video stream to use. If omitted the first video stream will be used.
Optionalcontext?: "Streaming" | "Static"Optional. The MediaBrowser.Model.Dlna.EncodingContext.
OptionalstreamOptions?: { [key: string]: string | null }Optional. The streaming options.
OptionalenableAudioVbrEncoding?: booleanOptional. Whether to enable Audio Encoding.
The item id.