FFMpegCore/FFMpegCore/FFProbe/MediaStream.cs
Malte Rosenbjerg 3837edee8c Init (#389)
Former-commit-id: 4ec200528c
2023-02-04 23:42:13 +01:00

22 lines
793 B
C#

using FFMpegCore.Enums;
namespace FFMpegCore
{
public abstract class MediaStream
{
public int Index { get; set; }
public string CodecName { get; set; } = null!;
public string CodecLongName { get; set; } = null!;
public string CodecTagString { get; set; } = null!;
public string CodecTag { get; set; } = null!;
public long BitRate { get; set; }
public TimeSpan StartTime { get; set; }
public TimeSpan Duration { get; set; }
public string? Language { get; set; }
public Dictionary<string, bool>? Disposition { get; set; }
public Dictionary<string, string>? Tags { get; set; }
public int? BitDepth { get; set; }
public Codec GetCodecInfo() => FFMpeg.GetCodec(CodecName);
}
}