Browse Source

Add encoding option bobandweave, change back the EncodingHelper logic

Peter Maar 5 years ago
parent
commit
7716deddf0

+ 1 - 1
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

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

+ 1 - 0
MediaBrowser.Model/Configuration/EncodingOptions.cs

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