Browse Source

fix songs with white backgrounds (#501)

pull/502/head
Jason Dove 5 years ago committed by GitHub
parent
commit
21b90a1b6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ErsatzTV.Core/FFmpeg/FFmpegComplexFilterBuilder.cs

2
ErsatzTV.Core/FFmpeg/FFmpegComplexFilterBuilder.cs

@ -278,7 +278,7 @@ namespace ErsatzTV.Core.FFmpeg
if (videoOnly) if (videoOnly)
{ {
videoFilterQueue.Add("boxblur=40"); videoFilterQueue.Add("boxblur=40[b];[b]split[b1][b2];[b1]format=rgba,geq=r=0:g=0:b=0:a=120*(Y/H)[fg];[b2][fg]overlay=format=auto");
} }
if (isSong) if (isSong)

Loading…
Cancel
Save