|
|
|
@ -778,6 +778,11 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (state.EnableMpDecimate)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (videoStream.IsInterlaced)
|
|
|
|
|
{
|
|
|
|
|
if (request.DeInterlace)
|
|
|
|
@ -1449,6 +1454,11 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (state.EnableMpDecimate)
|
|
|
|
|
{
|
|
|
|
|
filters.Add("mpdecimate,setpts=N/FRAME_RATE/TB");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (filters.Count > 0)
|
|
|
|
|
{
|
|
|
|
|
output += string.Format(" -vf \"{0}\"", string.Join(",", filters.ToArray()));
|
|
|
|
|