Interface IImageExtractionManager.
Assembly: MediaBrowser.Controller.dll
public interface IImageExtractionManager
Methods
Declaration
Task<string> ExtractAudioImage(ReadOnlyMemory<char> path, IDictionary<string, string> requestHeaders, int? streamIndex, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.ReadOnlyMemory<System.Char> |
path |
|
System.Collections.Generic.IDictionary<System.String, System.String> |
requestHeaders |
|
System.Nullable<System.Int32> |
streamIndex |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
Declaration
Task<string> ExtractAudioImage(string path, IDictionary<string, string> requestHeaders, MediaContainers? container, int? streamIndex, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.String |
path |
|
System.Collections.Generic.IDictionary<System.String, System.String> |
requestHeaders |
|
System.Nullable<MediaContainers> |
container |
|
System.Nullable<System.Int32> |
streamIndex |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
Declaration
Task<string> ExtractVideoImage(ReadOnlyMemory<char> inputPath, IDictionary<string, string> requestHeaders, MediaContainers? container, MediaProtocol protocol, MediaStream videoStream, Video3DFormat? threedFormat, TimeSpan? offset, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.ReadOnlyMemory<System.Char> |
inputPath |
|
System.Collections.Generic.IDictionary<System.String, System.String> |
requestHeaders |
|
System.Nullable<MediaContainers> |
container |
|
MediaProtocol |
protocol |
|
MediaStream |
videoStream |
|
System.Nullable<Video3DFormat> |
threedFormat |
|
System.Nullable<System.TimeSpan> |
offset |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
Declaration
Task<string> ExtractVideoImage(ReadOnlyMemory<char> inputPath, IDictionary<string, string> requestHeaders, MediaContainers? container, MediaProtocol protocol, MediaStream imageStream, int? streamIndex, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.ReadOnlyMemory<System.Char> |
inputPath |
|
System.Collections.Generic.IDictionary<System.String, System.String> |
requestHeaders |
|
System.Nullable<MediaContainers> |
container |
|
MediaProtocol |
protocol |
|
MediaStream |
imageStream |
|
System.Nullable<System.Int32> |
streamIndex |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
Declaration
Task ExtractVideoImagesFromList(ReadOnlyMemory<char> inputPath, IDictionary<string, string> requestHeaders, MediaContainers? container, MediaStream videoStream, MediaProtocol protocol, Video3DFormat? threedFormat, TimeSpan[] extractionTimes, string targetDirectory, string filenamePrefix, int? maxWidth, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.ReadOnlyMemory<System.Char> |
inputPath |
|
System.Collections.Generic.IDictionary<System.String, System.String> |
requestHeaders |
|
System.Nullable<MediaContainers> |
container |
|
MediaStream |
videoStream |
|
MediaProtocol |
protocol |
|
System.Nullable<Video3DFormat> |
threedFormat |
|
System.TimeSpan[] |
extractionTimes |
|
System.String |
targetDirectory |
|
System.String |
filenamePrefix |
|
System.Nullable<System.Int32> |
maxWidth |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
Task ExtractVideoImagesOnInterval(ReadOnlyMemory<char> inputPath, IDictionary<string, string> requestHeaders, MediaContainers? container, MediaStream videoStream, MediaProtocol protocol, Video3DFormat? threedFormat, TimeSpan interval, string targetDirectory, string filenamePrefix, int? maxWidth, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.ReadOnlyMemory<System.Char> |
inputPath |
|
System.Collections.Generic.IDictionary<System.String, System.String> |
requestHeaders |
|
System.Nullable<MediaContainers> |
container |
|
MediaStream |
videoStream |
|
MediaProtocol |
protocol |
|
System.Nullable<Video3DFormat> |
threedFormat |
|
System.TimeSpan |
interval |
|
System.String |
targetDirectory |
|
System.String |
filenamePrefix |
|
System.Nullable<System.Int32> |
maxWidth |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Extension Methods