mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 10:05:44 +00:00
19 lines
No EOL
715 B
C#
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);
|
|
}
|
|
} |