mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 18:15:44 +00:00
19 lines
No EOL
514 B
C#
19 lines
No EOL
514 B
C#
namespace FFMpegCore.Arguments
|
|
{
|
|
/// <summary>
|
|
/// Represents choice of video stream
|
|
/// </summary>
|
|
public class MapStreamArgument : IArgument
|
|
{
|
|
private readonly int _inputFileIndex;
|
|
private readonly int _streamIndex;
|
|
|
|
public MapStreamArgument(int streamIndex, int inputFileIndex)
|
|
{
|
|
_inputFileIndex = inputFileIndex;
|
|
_streamIndex = streamIndex;
|
|
}
|
|
|
|
public string Text => $"-map {_inputFileIndex}:{_streamIndex}";
|
|
}
|
|
} |