diff --git a/MediaBrowser.Controller/Providers/MediaInfo/BaseFFProbeProvider.cs b/MediaBrowser.Controller/Providers/MediaInfo/BaseFFProbeProvider.cs index 2c1019288..98f2efa80 100644 --- a/MediaBrowser.Controller/Providers/MediaInfo/BaseFFProbeProvider.cs +++ b/MediaBrowser.Controller/Providers/MediaInfo/BaseFFProbeProvider.cs @@ -280,6 +280,7 @@ namespace MediaBrowser.Controller.Providers.MediaInfo stream.Width = streamInfo.width; stream.Height = streamInfo.height; + stream.PixelFormat = streamInfo.pix_fmt; stream.AspectRatio = streamInfo.display_aspect_ratio; stream.AverageFrameRate = GetFrameRate(streamInfo.avg_frame_rate); diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs index 84ae72393..b68ffe118 100644 --- a/MediaBrowser.Model/Entities/MediaStream.cs +++ b/MediaBrowser.Model/Entities/MediaStream.cs @@ -140,6 +140,13 @@ namespace MediaBrowser.Model.Entities /// The level. [ProtoMember(19)] public double? Level { get; set; } + + /// + /// Gets or sets the pixel format. + /// + /// The pixel format. + [ProtoMember(20)] + public string PixelFormat { get; set; } } ///