mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-13 01:34:14 +01:00
23 lines
No EOL
758 B
C#
23 lines
No EOL
758 B
C#
using FFMpegCore.Enums;
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
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 Duration { get; set; }
|
|
public string? Language { get; set; }
|
|
public Dictionary<string, bool>? Disposition { get; set; }
|
|
public Dictionary<string, string>? Tags { get; set; }
|
|
|
|
public Codec GetCodecInfo() => FFMpeg.GetCodec(CodecName);
|
|
}
|
|
} |