mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
519 B
17 lines
519 B
using ErsatzTV.FFmpeg.Format; |
|
|
|
namespace ErsatzTV.FFmpeg.Encoder.Qsv; |
|
|
|
public class EncoderAv1Qsv : EncoderBase |
|
{ |
|
public override string Name => "av1_qsv"; |
|
public override StreamKind Kind => StreamKind.Video; |
|
|
|
public override string[] OutputOptions => ["-c:v", Name, "-low_power", "0", "-look_ahead", "0"]; |
|
|
|
public override FrameState NextState(FrameState currentState) => currentState with |
|
{ |
|
VideoFormat = VideoFormat.Av1, |
|
FrameDataLocation = FrameDataLocation.Hardware |
|
}; |
|
}
|
|
|