mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Add test for map filtering
This commit is contained in:
parent
981b3294c5
commit
f2fca0c1b6
1 changed files with 7 additions and 0 deletions
|
@ -180,6 +180,13 @@ public void Builder_BuildString_FrameOutputCount()
|
||||||
Assert.AreEqual("-i \"input.mp4\" -vframes 50 \"output.mp4\"", str);
|
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]
|
[TestMethod]
|
||||||
public void Builder_BuildString_FrameRate()
|
public void Builder_BuildString_FrameRate()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue