From a31f3886fd5a21d657b7bf62f944c69a45e18d8f Mon Sep 17 00:00:00 2001 From: Kevin Heritage Date: Fri, 17 Feb 2023 19:17:44 +0100 Subject: [PATCH] docs: update documentation to include sub video function --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 990361e..d2a9633 100644 --- a/README.md +++ b/README.md @@ -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: ```csharp FFMpeg.JoinImageSequence(@"..\joined_video.mp4", frameRate: 1,