Add test for map filtering

Former-commit-id: f2fca0c1b6
This commit is contained in:
Fedor Zhilkin 2020-09-17 21:02:33 +03:00
parent e977511b17
commit 0a09cbce2b

View file

@ -180,6 +180,13 @@ public void Builder_BuildString_FrameOutputCount()
Assert.AreEqual("-i \"input.mp4\" -vframes 50 \"output.mp4\"", str);
}
[TestMethod]
public void Builder_BuildString_VideoStreamNumber()
{
var str = FFMpegArguments.FromInputFiles(true, "input.mp4").WithVideoStream(1).OutputToFile("output.mp4", false).Arguments;
Assert.AreEqual("-i \"input.mp4\" -map 0:1 \"output.mp4\"", str);
}
[TestMethod]
public void Builder_BuildString_FrameRate()
{