Interface IImageExtractionManager.
Assembly: MediaBrowser.Controller.dll
public interface IImageExtractionManager
Methods
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> ExtractAudioImage(string path, IDictionary<string, string> requestHeaders, int? streamIndex, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.String |
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> ExtractVideoImage(string inputPath, IDictionary<string, string> requestHeaders, MediaContainers? container, MediaProtocol protocol, MediaStream videoStream, Video3DFormat? threedFormat, TimeSpan? offset, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.String |
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(string inputPath, IDictionary<string, string> requestHeaders, MediaContainers? container, MediaProtocol protocol, MediaStream imageStream, int? streamIndex, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.String |
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
[Obsolete("Use ExtractVideoImagesFromList2() instead.")]
Task ExtractVideoImagesFromList(string 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.String |
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<List<TimeSpan>> ExtractVideoImagesFromList2(string 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.String |
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<System.Collections.Generic.List<System.TimeSpan>> |
|
Declaration
Task ExtractVideoImagesOnInterval(string 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.String |
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