ffmpeg lib fixes (#633)

* try to fix vaapi inconsistencies

* log unexpected data

* vaapi fixes

* disable 444 test

* add qsv deinterlace filter; qsv fixes

* add videotoolbox acceleration
This commit is contained in:
Jason Dove
2022-02-14 22:01:26 -06:00
committed by GitHub
parent c05882f4a6
commit c96b800b52
23 changed files with 293 additions and 67 deletions
@@ -0,0 +1,15 @@
using ErsatzTV.FFmpeg.Format;
namespace ErsatzTV.FFmpeg.Encoder.VideoToolbox;
public class EncoderHevcVideoToolbox : EncoderBase
{
public override FrameState NextState(FrameState currentState) => currentState with
{
VideoFormat = VideoFormat.Hevc,
FrameDataLocation = FrameDataLocation.Hardware
};
public override string Name => "hevc_videotoolbox";
public override StreamKind Kind => StreamKind.Video;
}