Browse Source

fix more error stream settings (#810)

pull/811/head
Jason Dove 4 years ago committed by GitHub
parent
commit
0ba3ac7f50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ErsatzTV.Core/FFmpeg/FFmpegLibraryProcessService.cs
  2. 6
      ErsatzTV.Core/FFmpeg/FFmpegPlaybackSettingsCalculator.cs

2
ErsatzTV.Core/FFmpeg/FFmpegLibraryProcessService.cs

@ -293,7 +293,7 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService @@ -293,7 +293,7 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
playbackSettings.AudioBufferSize,
playbackSettings.AudioSampleRate,
Option<TimeSpan>.None,
playbackSettings.NormalizeLoudness);
false);
var desiredState = new FrameState(
playbackSettings.RealtimeOutput,

6
ErsatzTV.Core/FFmpeg/FFmpegPlaybackSettingsCalculator.cs

@ -180,7 +180,13 @@ public class FFmpegPlaybackSettingsCalculator @@ -180,7 +180,13 @@ public class FFmpegPlaybackSettingsCalculator
ThreadCount = 1,
FormatFlags = CommonFormatFlags,
VideoFormat = ffmpegProfile.VideoFormat,
VideoBitrate = ffmpegProfile.VideoBitrate,
VideoBufferSize = ffmpegProfile.VideoBufferSize,
AudioFormat = ffmpegProfile.AudioFormat,
AudioBitrate = ffmpegProfile.AudioBitrate,
AudioBufferSize = ffmpegProfile.AudioBufferSize,
AudioChannels = ffmpegProfile.AudioChannels,
AudioSampleRate = ffmpegProfile.AudioSampleRate,
RealtimeOutput = streamingMode switch
{
StreamingMode.HttpLiveStreamingSegmenter => hlsRealtime,

Loading…
Cancel
Save