mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
e977511b17
commit
0a09cbce2b
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