mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-14 02:04:14 +01:00
ed5fffd7a9
Former-commit-id: fbd9f3fc89
50 lines
1.2 KiB
C#
50 lines
1.2 KiB
C#
using Newtonsoft.Json;
|
|
using System.Collections.Generic;
|
|
|
|
namespace FFMpegCore.FFMPEG
|
|
{
|
|
internal class Stream
|
|
{
|
|
[JsonProperty("index")]
|
|
internal int Index { get; set; }
|
|
|
|
[JsonProperty("codec_name")]
|
|
internal string CodecName { get; set; }
|
|
|
|
[JsonProperty("bit_rate")]
|
|
internal string BitRate { get; set; }
|
|
|
|
[JsonProperty("profile")]
|
|
internal string Profile { get; set; }
|
|
|
|
[JsonProperty("codec_type")]
|
|
internal string CodecType { get; set; }
|
|
|
|
[JsonProperty("width")]
|
|
internal int Width { get; set; }
|
|
|
|
[JsonProperty("height")]
|
|
internal int Height { get; set; }
|
|
|
|
[JsonProperty("duration")]
|
|
internal string Duration { get; set; }
|
|
|
|
[JsonProperty("r_frame_rate")]
|
|
internal string FrameRate { get; set; }
|
|
|
|
[JsonProperty("tags")]
|
|
internal Tags Tags { get; set; }
|
|
}
|
|
|
|
internal class Tags
|
|
{
|
|
[JsonProperty("DURATION")]
|
|
internal string Duration { get; set; }
|
|
}
|
|
|
|
internal class FFMpegStreamMetadata
|
|
{
|
|
[JsonProperty("streams")]
|
|
internal List<Stream> Streams { get; set; }
|
|
}
|
|
}
|