detect anamorphic video

This commit is contained in:
Luke Pulverenti
2014-06-22 12:25:47 -04:00
parent 414b1251c7
commit 3b30a2aee0
23 changed files with 182 additions and 37 deletions

View File

@@ -126,6 +126,9 @@ namespace MediaBrowser.Controller.MediaEncoding
stream.RealFrameRate = GetFrameRate(streamInfo.r_frame_rate);
stream.BitDepth = GetBitDepth(stream.PixelFormat);
stream.IsAnamorphic = string.Equals(streamInfo.sample_aspect_ratio, "0:1",
StringComparison.OrdinalIgnoreCase);
}
else
{