mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
f93566e749
commit
e21880c4a1
3 changed files with 9 additions and 0 deletions
|
@ -6,6 +6,9 @@
|
||||||
|
|
||||||
namespace FFMpegCore.FFMPEG.Pipes
|
namespace FFMpegCore.FFMPEG.Pipes
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interface for ffmpeg pipe source data IO
|
||||||
|
/// </summary>
|
||||||
public interface IPipeSource
|
public interface IPipeSource
|
||||||
{
|
{
|
||||||
string GetFormat();
|
string GetFormat();
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
|
|
||||||
namespace FFMpegCore.FFMPEG.Pipes
|
namespace FFMpegCore.FFMPEG.Pipes
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interface for Video frame
|
||||||
|
/// </summary>
|
||||||
public interface IVideoFrame
|
public interface IVideoFrame
|
||||||
{
|
{
|
||||||
int Width { get; }
|
int Width { get; }
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
|
|
||||||
namespace FFMpegCore.FFMPEG.Pipes
|
namespace FFMpegCore.FFMPEG.Pipes
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Implementation of <see cref="IPipeSource"/> for a raw video stream that is gathered from <see cref="IEnumerator{IVideoFrame}"/>
|
||||||
|
/// </summary>
|
||||||
public class RawVideoPipeSource : IPipeSource
|
public class RawVideoPipeSource : IPipeSource
|
||||||
{
|
{
|
||||||
public string StreamFormat { get; set; }
|
public string StreamFormat { get; set; }
|
||||||
|
|
Loading…
Reference in a new issue