using Dpz.Core.Entity.Base;

namespace Dpz.Core.Public.Entity.VideoEntity;

public class VideoSteam
{
    public int BitDepth { get; set; }
    public string? Codec { get; set; }
    public string? CodecDesc { get; set; }
    public string? ColorSpace { get; set; }
    public int Index { get; set; }
    public Dictionary<string, string> Metadata { get; set; } = [];
    public string? PixFmt { get; set; }
    public string? SampleAspectRatio { get; set; }
    public string? Type { get; set; }
    public int? VideoFps { get; set; }
    public int? VideoHeight { get; set; }
    public int? VideoWidth { get; set; }
    public int? AudioChannels { get; set; }
    public int? AudioSamplerate { get; set; }
}

public class VideoFormat
{
    public double Duration { get; set; }
    public string? Fullname { get; set; }
    public int Bitrate { get; set; }
    public int Filesize { get; set; }
    public string? FormatType { get; set; }
}

public class Notification : BaseEntity
{
    public List<VideoSteam> Streams { get; set; } = [];
    public VideoFormat? Format { get; set; }
}
评论加载中...