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

    Show / Hide Table of Contents

    Interface ISubtitleEncoder

    Namespace: MediaBrowser.Controller.MediaEncoding
    Assembly: MediaBrowser.Controller.dll
    Syntax
    public interface ISubtitleEncoder

    Methods

    GetSubtitleFileCharacterSet(String, CultureDto, MediaProtocol, IDictionary<String, String>, CancellationToken)

    Gets the subtitle language encoding parameter.

    Declaration
    Task<string> GetSubtitleFileCharacterSet(string path, CultureDto language, MediaProtocol protocol, IDictionary<string, string> requestHeaders, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.String path

    The path.

    CultureDto language

    The language.

    MediaProtocol protocol

    The protocol.

    System.Collections.Generic.IDictionary<System.String, System.String> requestHeaders

    The request headers.

    System.Threading.CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    System.String.

    GetSubtitles(String, MediaProtocol, Boolean, IDictionary<String, String>, MediaStream, String, Int64, Int64, Boolean, EncodingContext, CancellationToken)

    Gets the subtitles.

    Declaration
    Task<string> GetSubtitles(string inputPath, MediaProtocol inputProtocol, bool isAudio, IDictionary<string, string> requestHeaders, MediaStream subtitleStream, string outputFormat, long startTimeTicks, long endTimeTicks, bool preserveOriginalTimestamps, EncodingContext encodingContext, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.String inputPath
    MediaProtocol inputProtocol
    System.Boolean isAudio
    System.Collections.Generic.IDictionary<System.String, System.String> requestHeaders
    MediaStream subtitleStream
    System.String outputFormat
    System.Int64 startTimeTicks
    System.Int64 endTimeTicks
    System.Boolean preserveOriginalTimestamps
    EncodingContext encodingContext
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    Task{Stream}.

    Extension Methods

    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.