* add qsv transcoding support * add basic nvenc support * add nvenc to docker-compose * add vaapi hardware acceleration * add vaapi driver to dockerfile * raise ffmpeg log level * lots of progress with nvenc, qsv and vaapi remain untested * qsv fixes * code cleanup
29 lines
796 B
C#
29 lines
796 B
C#
using ErsatzTV.Core;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
using MediatR;
|
|
|
|
namespace ErsatzTV.Application.FFmpegProfiles.Commands
|
|
{
|
|
public record UpdateFFmpegProfile(
|
|
int FFmpegProfileId,
|
|
string Name,
|
|
int ThreadCount,
|
|
bool Transcode,
|
|
HardwareAccelerationKind HardwareAcceleration,
|
|
int ResolutionId,
|
|
bool NormalizeResolution,
|
|
string VideoCodec,
|
|
bool NormalizeVideoCodec,
|
|
int VideoBitrate,
|
|
int VideoBufferSize,
|
|
string AudioCodec,
|
|
bool NormalizeAudioCodec,
|
|
int AudioBitrate,
|
|
int AudioBufferSize,
|
|
int AudioVolume,
|
|
int AudioChannels,
|
|
int AudioSampleRate,
|
|
bool NormalizeAudio) : IRequest<Either<BaseError, FFmpegProfileViewModel>>;
|
|
}
|