Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SubtitleStream

    Inheritance
    System.Object
    StreamBase
    SubtitleStream
    Implements
    System.ICloneable
    Inherited Members
    StreamBase.Index
    StreamBase.Id
    StreamBase.StreamType
    StreamBase.CodecTag
    StreamBase.Pid
    StreamBase.CodecTimeBase
    StreamBase.TimeBase
    StreamBase.StartTime
    StreamBase.Duration
    StreamBase.StartPts
    StreamBase.DurationTs
    StreamBase.IsDefault
    StreamBase.IsForced
    StreamBase.IsHearingImpaired
    StreamBase.Title
    StreamBase.DisplayTitle
    StreamBase.Language
    StreamBase.Comment
    StreamBase.AllTags
    StreamBase.SideDataJson
    StreamBase.ParsingErrors
    StreamBase.IsExternal
    StreamBase.OriginalStream
    StreamBase.GetShortDescription()
    StreamBase.Clone()
    Namespace: Emby.Media.Model.Streams
    Assembly: Emby.Media.Model.dll
    Syntax
    public class SubtitleStream : StreamBase, ICloneable

    Constructors

    SubtitleStream()

    Initializes a new instance of the SubtitleStream class.

    Declaration
    public SubtitleStream()

    SubtitleStream(SubtitleStream)

    Initializes a new instance of the SubtitleStream class.

    Declaration
    public SubtitleStream(SubtitleStream source)
    Parameters
    Type Name Description
    SubtitleStream source

    The source.

    Remarks

    Copy constructor.

    SubtitleStream(MediaStream)

    Initializes a new instance of the SubtitleStream class.

    Declaration
    public SubtitleStream(MediaStream originalStream)
    Parameters
    Type Name Description
    MediaStream originalStream

    The original stream.

    Properties

    ClosedCaptionType

    Gets or sets the type of the closed caption.

    Declaration
    [Display(Name = "Closed Caption Type", Description = "The data/channel for closed caption streams")]
    public ClosedCaptionType ClosedCaptionType { get; set; }
    Property Value
    Type Description
    ClosedCaptionType

    The type of the closed caption.

    CodecName

    Declaration
    public override string CodecName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    StreamBase.CodecName

    Extradata

    Declaration
    [Browsable(false)]
    [Display(Name = "Extra Data", Description = "Extra Codec Data")]
    public string Extradata { get; set; }
    Property Value
    Type Description
    System.String

    FrameSize

    Gets or sets the size of of graphical subtitles.

    Declaration
    [Display(Name = "Frame Size", Description = "The width and height of graphical subtitles in pixels")]
    public Resolution? FrameSize { get; set; }
    Property Value
    Type Description
    System.Nullable<Resolution>

    The size of of graphical subtitles.

    IsGraphical

    Gets or sets the size of of graphical subtitles.

    Declaration
    [Display(Name = "Is Graphical", Description = "Whether the subtitles are graphical or text based")]
    public bool IsGraphical { get; }
    Property Value
    Type Description
    System.Boolean

    The size of of graphical subtitles.

    IsText

    Declaration
    [Browsable(false)]
    public bool IsText { get; }
    Property Value
    Type Description
    System.Boolean

    SubtitleCodec

    Declaration
    [Display(Name = "Subtitle Codec", Description = "Subtitle Codec")]
    public SubtitleMediaTypes SubtitleCodec { get; set; }
    Property Value
    Type Description
    SubtitleMediaTypes

    Methods

    CloneCore()

    Declaration
    protected override StreamBase CloneCore()
    Returns
    Type Description
    StreamBase
    Overrides
    StreamBase.CloneCore()

    GetShortDescriptionBits()

    Gets a short description.

    Declaration
    public override List<string> GetShortDescriptionBits()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    A string.

    Overrides
    StreamBase.GetShortDescriptionBits()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string that represents the current object.

    Overrides
    System.Object.ToString()

    Implements

    System.ICloneable

    Extension Methods

    StreamBaseToMediaStream.AsMediaStream(StreamBase)
    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.