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

    Show / Hide Table of Contents

    Interface IMediaEncoder

    Interface IMediaEncoder

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

    Properties

    DetectPath

    Declaration
    [Obsolete("Use IFfmpegManager.IFfmpegConfiguration.DetectPath instead.")]
    string DetectPath { get; }
    Property Value
    Type Description
    System.String

    EncoderPath

    Declaration
    [Obsolete("Use IFfmpegManager.IFfmpegConfiguration.EncoderPath instead.")]
    string EncoderPath { get; }
    Property Value
    Type Description
    System.String

    FfmpegCapabilities

    Declaration
    [Obsolete("Use IFfmpegManager.FfmpegCapabilities instead.")]
    FfmpegCapabilities FfmpegCapabilities { get; }
    Property Value
    Type Description
    FfmpegCapabilities

    FfmpegConfig

    Declaration
    [Obsolete("Use IFfmpegManager.IFfmpegConfiguration instead.")]
    IFfmpegConfiguration FfmpegConfig { get; }
    Property Value
    Type Description
    IFfmpegConfiguration

    SupportsDiscardCorruptPts

    Declaration
    [Obsolete("Use IFfmpegManager.FfmpegCapabilities.SupportsDiscardCorruptPts instead.")]
    bool SupportsDiscardCorruptPts { get; }
    Property Value
    Type Description
    System.Boolean

    SupportsFillWallClockDts

    Declaration
    [Obsolete("Use IFfmpegManager.FfmpegCapabilities.SupportsFillWallClockDts instead.")]
    bool SupportsFillWallClockDts { get; }
    Property Value
    Type Description
    System.Boolean

    SupportsSkipList

    Declaration
    [Obsolete("Use IFfmpegManager.FfmpegCapabilities.SupportsSkipList instead.")]
    bool SupportsSkipList { get; }
    Property Value
    Type Description
    System.Boolean

    SupportsTempSegmentWriting

    Declaration
    [Obsolete("Use IFfmpegManager.FfmpegCapabilities.SupportsTempSegmentWriting instead.")]
    bool SupportsTempSegmentWriting { get; }
    Property Value
    Type Description
    System.Boolean

    SupportsThrottling

    Declaration
    [Obsolete("Use IFfmpegManager.FfmpegCapabilities.SupportsThrottling instead.")]
    bool SupportsThrottling { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    AllowHardwareAcceleration(CancellationToken)

    Declaration
    [Obsolete("Use ICodecManager.AllowHardwareAcceleration() instead.")]
    Task<bool> AllowHardwareAcceleration(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    EncodeAudio(EncodingJobOptions, IProgress<Double>, CancellationToken)

    Encodes the audio.

    Declaration
    Task<string> EncodeAudio(EncodingJobOptions options, IProgress<double> progress, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    EncodingJobOptions options

    The options.

    System.IProgress<System.Double> progress

    The progress.

    System.Threading.CancellationToken cancellationToken

    The cancellation token.

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

    Task.

    EncodeVideo(EncodingJobOptions, IProgress<Double>, CancellationToken)

    Encodes the video.

    Declaration
    Task<string> EncodeVideo(EncodingJobOptions options, IProgress<double> progress, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    EncodingJobOptions options

    The options.

    System.IProgress<System.Double> progress

    The progress.

    System.Threading.CancellationToken cancellationToken

    The cancellation token.

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

    Task<System.String>.

    EscapeSubtitleFilterPath(ReadOnlySpan<Char>)

    Escapes the subtitle filter path.

    Declaration
    [Obsolete("Use static method EncodingHelpers.EscapeSubtitleFilterPath() instead.")]
    string EscapeSubtitleFilterPath(ReadOnlySpan<char> path)
    Parameters
    Type Name Description
    System.ReadOnlySpan<System.Char> path

    The path.

    Returns
    Type Description
    System.String

    System.String.

    GetAnalyzeDurationMs(MediaSourceInfo)

    Declaration
    [Obsolete("Use EncodingHelpers.GetAnalyzeDurationMs instead.")]
    int GetAnalyzeDurationMs(MediaSourceInfo mediaSource)
    Parameters
    Type Name Description
    MediaSourceInfo mediaSource
    Returns
    Type Description
    System.Int32

    GetInputArgument(ReadOnlySpan<Char>, MediaProtocol)

    Gets the input argument.

    Declaration
    string GetInputArgument(ReadOnlySpan<char> inputPath, MediaProtocol protocol)
    Parameters
    Type Name Description
    System.ReadOnlySpan<System.Char> inputPath

    The input path.

    MediaProtocol protocol

    The protocol.

    Returns
    Type Description
    System.String

    System.String.

    GetTimeParameter(Int64)

    Gets the time parameter.

    Declaration
    string GetTimeParameter(long ticks)
    Parameters
    Type Name Description
    System.Int64 ticks

    The ticks.

    Returns
    Type Description
    System.String

    System.String.

    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.