mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
492 B
21 lines
492 B
using ErsatzTV.FFmpeg.Format; |
|
|
|
namespace ErsatzTV.FFmpeg; |
|
|
|
public record MediaStream(int Index, string Codec, StreamKind Kind); |
|
|
|
public record AudioStream(int Index, string Codec, int Channels) : MediaStream( |
|
Index, |
|
Codec, |
|
StreamKind.Audio); |
|
|
|
public record VideoStream( |
|
int Index, |
|
string Codec, |
|
Option<IPixelFormat> PixelFormat, |
|
FrameSize FrameSize, |
|
Option<string> FrameRate, |
|
bool StillImage) : MediaStream( |
|
Index, |
|
Codec, |
|
StreamKind.Video);
|
|
|