docs: update documentation to include sub video function

This commit is contained in:
Kevin Heritage 2023-02-17 19:17:44 +01:00
parent a2c899d02e
commit a31f3886fd

View file

@ -72,6 +72,15 @@ FFMpeg.Join(@"..\joined_video.mp4",
); );
``` ```
### Create a sub video
``` csharp
FFMpeg.SubVideo(inputPath,
outputPath,
TimeSpan.FromSeconds(0)
TimeSpan.FromSeconds(30)
);
```
### Join images into a video: ### Join images into a video:
```csharp ```csharp
FFMpeg.JoinImageSequence(@"..\joined_video.mp4", frameRate: 1, FFMpeg.JoinImageSequence(@"..\joined_video.mp4", frameRate: 1,