mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 00:24:14 +01:00
commit
bd2f278590
1 changed files with 2 additions and 3 deletions
|
@ -11,7 +11,6 @@ A .NET Standard FFMpeg/FFProbe wrapper for easily integrating media analysis and
|
||||||
# API
|
# API
|
||||||
|
|
||||||
## FFProbe
|
## FFProbe
|
||||||
|
|
||||||
Use FFProbe to analyze media files:
|
Use FFProbe to analyze media files:
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
|
@ -22,12 +21,12 @@ or
|
||||||
var mediaInfo = FFProbe.Analyse(inputPath);
|
var mediaInfo = FFProbe.Analyse(inputPath);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## FFMpeg
|
## FFMpeg
|
||||||
Use FFMpeg to convert your media files.
|
Use FFMpeg to convert your media files.
|
||||||
Easily build your FFMpeg arguments using the fluent argument builder:
|
Easily build your FFMpeg arguments using the fluent argument builder:
|
||||||
|
|
||||||
Convert input file to h264/aac scaled to 720p w/ faststart, for web playback
|
Convert input file to h264/aac scaled to 720p w/ faststart, for web playback
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
FFMpegArguments
|
FFMpegArguments
|
||||||
.FromFileInput(inputPath)
|
.FromFileInput(inputPath)
|
||||||
|
@ -193,7 +192,7 @@ await FFMpegArguments
|
||||||
.Configure(options => options.WorkingDirectory = "./CurrentRunWorkingDir")
|
.Configure(options => options.WorkingDirectory = "./CurrentRunWorkingDir")
|
||||||
.Configure(options => options.TemporaryFilesFolder = "./CurrentRunTmpFolder")
|
.Configure(options => options.TemporaryFilesFolder = "./CurrentRunTmpFolder")
|
||||||
.ProcessAsynchronously();
|
.ProcessAsynchronously();
|
||||||
```
|
```
|
||||||
|
|
||||||
### Option 2
|
### Option 2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue