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

    Show / Hide Table of Contents

    Interface ISubtitleFontsManager

    Interface ISubtitleFontsManager.

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

    Methods

    CheckExtractFonts(MediaSourceInfo, CancellationToken)

    Extracts the video image.

    Declaration
    Task<bool> CheckExtractFonts(MediaSourceInfo mediaSource, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    MediaSourceInfo mediaSource

    The media source.

    System.Threading.CancellationToken cancellationToken

    The cancellation token.

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

    True when extraction was successful or fonts are available already; False when extraction has failed.

    CreateTranscodingFontsDir(MediaSourceInfo, String, CancellationToken)

    Sets up a directory containing all embedded fonts for transcoding.

    Declaration
    Task<bool> CreateTranscodingFontsDir(MediaSourceInfo mediaSource, string targetDir, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    MediaSourceInfo mediaSource

    The media source.

    System.String targetDir
    System.Threading.CancellationToken cancellationToken

    The cancellation token.

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

    The path to a temporary fonts directory for transcoding.

    ExtractFonts(MediaSourceInfo, List<MediaStream>, CancellationToken)

    Declaration
    Task<List<Tuple<MediaStream, SubtitleFontInfo>>> ExtractFonts(MediaSourceInfo mediaSource, List<MediaStream> mediaStreams, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    MediaSourceInfo mediaSource
    System.Collections.Generic.List<MediaStream> mediaStreams
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<System.Tuple<MediaStream, SubtitleFontInfo>>>

    Initialize()

    Initializes this instance.

    Declaration
    void Initialize()

    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.