mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 18:15:44 +00:00
Move Loop(1) to image FileInput. Fix for #206
This commit is contained in:
parent
e13376f175
commit
914003ee32
1 changed files with 2 additions and 2 deletions
|
|
@ -231,10 +231,10 @@ namespace FFMpegCore
|
||||||
FFMpegHelper.ConversionSizeExceptionCheck(Image.FromFile(image));
|
FFMpegHelper.ConversionSizeExceptionCheck(Image.FromFile(image));
|
||||||
|
|
||||||
return FFMpegArguments
|
return FFMpegArguments
|
||||||
.FromFileInput(image)
|
.FromFileInput(image, false, options => options
|
||||||
|
.Loop(1))
|
||||||
.AddFileInput(audio)
|
.AddFileInput(audio)
|
||||||
.OutputToFile(output, true, options => options
|
.OutputToFile(output, true, options => options
|
||||||
.Loop(1)
|
|
||||||
.WithVideoCodec(VideoCodec.LibX264)
|
.WithVideoCodec(VideoCodec.LibX264)
|
||||||
.WithConstantRateFactor(21)
|
.WithConstantRateFactor(21)
|
||||||
.WithAudioBitrate(AudioQuality.Normal)
|
.WithAudioBitrate(AudioQuality.Normal)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue