Stream custom live channels using your own media
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.
 
 

18 lines
553 B

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 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
};
}