mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-15 18:45:44 +00:00
17 lines
No EOL
401 B
C#
17 lines
No EOL
401 B
C#
namespace FFMpegCore.Arguments
|
|
{
|
|
/// <summary>
|
|
/// Represents choice of video stream, works with one input file
|
|
/// </summary>
|
|
public class MapStreamArgument : IArgument
|
|
{
|
|
private readonly int _streamIndex;
|
|
|
|
public MapStreamArgument(int index)
|
|
{
|
|
_streamIndex = index;
|
|
}
|
|
|
|
public string Text => $"-map 0:{_streamIndex}";
|
|
}
|
|
} |