mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
add image encoder based on ffmpeg
This commit is contained in:
@@ -948,14 +948,9 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
return GetFileInputArgument(playableStreamFiles[0]);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the bluray input argument.
|
||||
/// </summary>
|
||||
/// <param name="blurayRoot">The bluray root.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
private string GetBlurayInputArgument(string blurayRoot)
|
||||
public Task<Stream> EncodeImage(ImageEncodingOptions options, CancellationToken cancellationToken)
|
||||
{
|
||||
return string.Format("bluray:\"{0}\"", blurayRoot);
|
||||
return new ImageEncoder(FFMpegPath, _logger).EncodeImage(options, cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user