mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 18:15:44 +00:00
Provide fps argument to input parameter as well
This commit is contained in:
parent
fc5e8a66e3
commit
0f800c4333
1 changed files with 2 additions and 1 deletions
|
|
@ -132,7 +132,8 @@ public static class FFMpeg
|
||||||
}
|
}
|
||||||
|
|
||||||
return FFMpegArguments
|
return FFMpegArguments
|
||||||
.FromFileInput(Path.Combine(tempFolderName, $"%09d{fileExtension}"), false)
|
.FromFileInput(Path.Combine(tempFolderName, $"%09d{fileExtension}"), false, options => options
|
||||||
|
.WithFramerate(frameRate))
|
||||||
.OutputToFile(output, true, options => options
|
.OutputToFile(output, true, options => options
|
||||||
.ForcePixelFormat("yuv420p")
|
.ForcePixelFormat("yuv420p")
|
||||||
.Resize(width!.Value, height!.Value)
|
.Resize(width!.Value, height!.Value)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue