Add encoding option bobandweave, change back the EncodingHelper logic

This commit is contained in:
Peter Maar 2020-02-22 17:01:56 -05:00
parent 8531ed646d
commit 7716deddf0
2 changed files with 2 additions and 1 deletions

View File

@ -2011,7 +2011,7 @@ namespace MediaBrowser.Controller.MediaEncoding
} }
else else
{ {
filters.Add("yadif=1:-1:0"); filters.Add("yadif=0:-1:0");
} }
} }

View File

@ -36,6 +36,7 @@ namespace MediaBrowser.Model.Configuration
VaapiDevice = "/dev/dri/renderD128"; VaapiDevice = "/dev/dri/renderD128";
H264Crf = 23; H264Crf = 23;
H265Crf = 28; H265Crf = 28;
DeinterlaceMethod = "bobandweave";
EnableHardwareEncoding = true; EnableHardwareEncoding = true;
EnableSubtitleExtraction = true; EnableSubtitleExtraction = true;
HardwareDecodingCodecs = new string[] { "h264", "vc1" }; HardwareDecodingCodecs = new string[] { "h264", "vc1" };