It is possible to get additional metadata using FFprobe. To run FFprobe with custom arguments:
string result = await Probe.New()
.Start($"-skip_frame nokey -select_streams v:0 -show_entries frame=pkt_pts_time {Resources.Mp4}");
Method returns console FFprobe output in format specified in input arguments.
Basic properties of media file can be read by MediaInfo class:
string filePath = Path.Combine("C:", "samples", "SampleVideo.mp4");
IMediaInfo mediaInfo = await FFmpeg.GetMediaInfo(filePath);
IMediaInfo contains basic properties about media:
More properties can be found in specific stream.