mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-31 09:38:25 +00:00
add image encoder based on ffmpeg
This commit is contained in:
parent
39ea2adbc5
commit
9705594845
7 changed files with 192 additions and 12 deletions
|
|
@ -88,6 +88,14 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
/// <param name="type">The type.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
string GetInputArgument(string[] inputFiles, InputType type);
|
||||
|
||||
/// <summary>
|
||||
/// Encodes the image.
|
||||
/// </summary>
|
||||
/// <param name="options">The options.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{Stream}.</returns>
|
||||
Task<Stream> EncodeImage(ImageEncodingOptions options, CancellationToken cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue