qsv and vaapi fixes (#1139)
* lots of qsv fixes * update changelog * fix qsv mpeg2 * vaapi fixes * update changelog * upgrade mudblazor * fix bug with undefined input colorspace
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using ErsatzTV.FFmpeg.Format;
|
||||
|
||||
namespace ErsatzTV.FFmpeg.Encoder.Qsv;
|
||||
|
||||
public class EncoderMpeg2Qsv : EncoderBase
|
||||
{
|
||||
public override string Name => "mpeg2_qsv";
|
||||
public override StreamKind Kind => StreamKind.Video;
|
||||
|
||||
public override IList<string> OutputOptions =>
|
||||
new[] { "-c:v", "mpeg2_qsv", "-low_power", "0", "-look_ahead", "0" };
|
||||
|
||||
public override FrameState NextState(FrameState currentState) => currentState with
|
||||
{
|
||||
VideoFormat = VideoFormat.Mpeg2Video,
|
||||
FrameDataLocation = FrameDataLocation.Hardware
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user