mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-01-18 20:46:43 +00:00
parent
7f7aac58fa
commit
0f7bb17f8b
1 changed files with 2 additions and 2 deletions
|
@ -34,14 +34,14 @@ Easily build your FFMpeg arguments using the fluent argument builder:
|
|||
Convert input file to h264/aac scaled to 720p w/ faststart, for web playback
|
||||
```csharp
|
||||
FFMpegArguments
|
||||
.FromFileInput(inputPath, true, options => options
|
||||
.FromFileInput(inputPath)
|
||||
.OutputToFile(outputPath, false, options => options
|
||||
.WithVideoCodec(VideoCodec.LibX264)
|
||||
.WithConstantRateFactor(21)
|
||||
.WithAudioCodec(AudioCodec.Aac)
|
||||
.WithVariableBitrate(4)
|
||||
.WithFastStart()
|
||||
.Scale(VideoSize.Hd))
|
||||
.OutputToFile(outputPath)
|
||||
.ProcessSynchronously();
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue