소스 검색

Add encoding option bobandweave, change back the EncodingHelper logic

Peter Maar 5 년 전
부모
커밋
7716deddf0
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
  2. 1 0
      MediaBrowser.Model/Configuration/EncodingOptions.cs

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