* start to add v4l2m2m accel * add v4l2m2m pipeline * add encoders * fix decoders and encoders * output software frames from decoders * more buffers * hide v4l2m2m from ui
16 lines
432 B
C#
16 lines
432 B
C#
using ErsatzTV.FFmpeg.Format;
|
|
|
|
namespace ErsatzTV.FFmpeg.Encoder.V4l2m2m;
|
|
|
|
public class EncoderHevcV4l2m2m : EncoderBase
|
|
{
|
|
public override string Name => "hevc_v4l2m2m";
|
|
public override StreamKind Kind => StreamKind.Video;
|
|
|
|
public override FrameState NextState(FrameState currentState) => currentState with
|
|
{
|
|
VideoFormat = VideoFormat.Hevc,
|
|
FrameDataLocation = FrameDataLocation.Hardware
|
|
};
|
|
}
|