* update changelog [no ci] * add ffmpeg profile scaling behavior * update dependencies * add normalize loudness mode * update changelog
29 lines
848 B
C#
29 lines
848 B
C#
using ErsatzTV.Core;
|
|
using ErsatzTV.Core.Domain;
|
|
using ErsatzTV.Core.FFmpeg;
|
|
|
|
namespace ErsatzTV.Application.FFmpegProfiles;
|
|
|
|
public record UpdateFFmpegProfile(
|
|
int FFmpegProfileId,
|
|
string Name,
|
|
int ThreadCount,
|
|
HardwareAccelerationKind HardwareAcceleration,
|
|
VaapiDriver VaapiDriver,
|
|
string VaapiDevice,
|
|
int? QsvExtraHardwareFrames,
|
|
int ResolutionId,
|
|
ScalingBehavior ScalingBehavior,
|
|
FFmpegProfileVideoFormat VideoFormat,
|
|
FFmpegProfileBitDepth BitDepth,
|
|
int VideoBitrate,
|
|
int VideoBufferSize,
|
|
FFmpegProfileAudioFormat AudioFormat,
|
|
int AudioBitrate,
|
|
int AudioBufferSize,
|
|
NormalizeLoudnessMode NormalizeLoudnessMode,
|
|
int AudioChannels,
|
|
int AudioSampleRate,
|
|
bool NormalizeFramerate,
|
|
bool DeinterlaceVideo) : IRequest<Either<BaseError, UpdateFFmpegProfileResult>>;
|