FFMpegCore/FFMpegCore/FFProbe/MediaStream.cs
2021-01-29 16:03:59 +03:00

20 lines
No EOL
622 B
C#

using FFMpegCore.Enums;
using System;
using System.Collections.Generic;
namespace FFMpegCore
{
public class MediaStream
{
public int Index { get; internal set; }
public string CodecName { get; internal set; } = null!;
public string CodecLongName { get; internal set; } = null!;
public int BitRate { get; internal set; }
public TimeSpan Duration { get; internal set; }
public string? Language { get; internal set; }
public Dictionary<string, string>? Tags { get; internal set; }
public Codec GetCodecInfo() => FFMpeg.GetCodec(CodecName);
}
}