|
|
|
@ -490,11 +490,13 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService |
|
|
|
{ |
|
|
|
{ |
|
|
|
graphicsEngineInput = new GraphicsEngineInput(); |
|
|
|
graphicsEngineInput = new GraphicsEngineInput(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FrameSize targetSize = await desiredState.CroppedSize.IfNoneAsync(desiredState.ScaledSize); |
|
|
|
|
|
|
|
|
|
|
|
graphicsEngineContext = new GraphicsEngineContext( |
|
|
|
graphicsEngineContext = new GraphicsEngineContext( |
|
|
|
channel.Number, |
|
|
|
channel.Number, |
|
|
|
audioVersion.MediaItem, |
|
|
|
audioVersion.MediaItem, |
|
|
|
graphicsElementContexts, |
|
|
|
graphicsElementContexts, |
|
|
|
new Resolution { Width = desiredState.ScaledSize.Width, Height = desiredState.ScaledSize.Height }, |
|
|
|
new Resolution { Width = targetSize.Width, Height = targetSize.Height }, |
|
|
|
channel.FFmpegProfile.Resolution, |
|
|
|
channel.FFmpegProfile.Resolution, |
|
|
|
await playbackSettings.FrameRate.IfNoneAsync(24), |
|
|
|
await playbackSettings.FrameRate.IfNoneAsync(24), |
|
|
|
channelStartTime, |
|
|
|
channelStartTime, |
|
|
|
|