FFMpegCore/FFMpegCore/FFProbe/VideoStream.cs
Malte Rosenbjerg e264c93f67 Make tags more flexible (dictionary)
Former-commit-id: 0c19874be3
2020-08-11 00:46:08 +02:00

19 lines
No EOL
715 B
C#

using FFMpegCore.Enums;
namespace FFMpegCore
{
public class VideoStream : MediaStream
{
public double AvgFrameRate { get; internal set; }
public int BitsPerRawSample { get; internal set; }
public (int Width, int Height) DisplayAspectRatio { get; internal set; }
public string Profile { get; internal set; } = null!;
public int Width { get; internal set; }
public int Height { get; internal set; }
public double FrameRate { get; internal set; }
public string PixelFormat { get; internal set; } = null!;
public int Rotation { get; set; }
public PixelFormat GetPixelFormatInfo() => FFMpeg.GetPixelFormat(PixelFormat);
}
}