* wip add qsv extra_hw_frames setting * fix ffmpeg profile editor * update changelog
27 lines
720 B
C#
27 lines
720 B
C#
using ErsatzTV.Application.Resolutions;
|
|
using ErsatzTV.Core.Domain;
|
|
using ErsatzTV.Core.FFmpeg;
|
|
|
|
namespace ErsatzTV.Application.FFmpegProfiles;
|
|
|
|
public record FFmpegProfileViewModel(
|
|
int Id,
|
|
string Name,
|
|
int ThreadCount,
|
|
HardwareAccelerationKind HardwareAcceleration,
|
|
VaapiDriver VaapiDriver,
|
|
string VaapiDevice,
|
|
int? QsvExtraHardwareFrames,
|
|
ResolutionViewModel Resolution,
|
|
FFmpegProfileVideoFormat VideoFormat,
|
|
int VideoBitrate,
|
|
int VideoBufferSize,
|
|
FFmpegProfileAudioFormat AudioFormat,
|
|
int AudioBitrate,
|
|
int AudioBufferSize,
|
|
bool NormalizeLoudness,
|
|
int AudioChannels,
|
|
int AudioSampleRate,
|
|
bool NormalizeFramerate,
|
|
bool DeinterlaceVideo);
|