From c8a106f485ff7e340ee8ca67adac3351ec6a31b6 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 12 Jan 2014 01:31:21 -0500 Subject: move media encoder to server project --- MediaBrowser.Common/MediaInfo/IMediaEncoder.cs | 109 ------------------------- 1 file changed, 109 deletions(-) delete mode 100644 MediaBrowser.Common/MediaInfo/IMediaEncoder.cs (limited to 'MediaBrowser.Common/MediaInfo/IMediaEncoder.cs') diff --git a/MediaBrowser.Common/MediaInfo/IMediaEncoder.cs b/MediaBrowser.Common/MediaInfo/IMediaEncoder.cs deleted file mode 100644 index 82643779b..000000000 --- a/MediaBrowser.Common/MediaInfo/IMediaEncoder.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System; -using System.Threading; -using System.Threading.Tasks; -using MediaBrowser.Model.Entities; - -namespace MediaBrowser.Common.MediaInfo -{ - /// - /// Interface IMediaEncoder - /// - public interface IMediaEncoder - { - /// - /// Gets the encoder path. - /// - /// The encoder path. - string EncoderPath { get; } - - /// - /// Gets the version. - /// - /// The version. - string Version { get; } - - /// - /// Extracts the image. - /// - /// The input files. - /// The type. - /// The threed format. - /// The offset. - /// The output path. - /// The cancellation token. - /// Task. - Task ExtractImage(string[] inputFiles, InputType type, Video3DFormat? threedFormat, TimeSpan? offset, string outputPath, CancellationToken cancellationToken); - - /// - /// Extracts the text subtitle. - /// - /// The input files. - /// The type. - /// Index of the subtitle stream. - /// The output path. - /// The cancellation token. - /// Task. - Task ExtractTextSubtitle(string[] inputFiles, InputType type, int subtitleStreamIndex, string outputPath, CancellationToken cancellationToken); - - /// - /// Converts the text subtitle to ass. - /// - /// The input path. - /// The output path. - /// The language. - /// The cancellation token. - /// Task. - Task ConvertTextSubtitleToAss(string inputPath, string outputPath, string language, CancellationToken cancellationToken); - - /// - /// Gets the media info. - /// - /// The input files. - /// The type. - /// The cancellation token. - /// Task. - Task GetMediaInfo(string[] inputFiles, InputType type, CancellationToken cancellationToken); - - /// - /// Gets the probe size argument. - /// - /// The type. - /// System.String. - string GetProbeSizeArgument(InputType type); - - /// - /// Gets the input argument. - /// - /// The input files. - /// The type. - /// System.String. - string GetInputArgument(string[] inputFiles, InputType type); - } - - /// - /// Enum InputType - /// - public enum InputType - { - /// - /// The audio file - /// - AudioFile, - /// - /// The video file - /// - VideoFile, - /// - /// The bluray - /// - Bluray, - /// - /// The DVD - /// - Dvd, - /// - /// The URL - /// - Url - } -} -- cgit v1.2.3