-
-
Notifications
You must be signed in to change notification settings - Fork 3
Split Media
James Brundage edited this page Apr 22, 2022
·
2 revisions
Splits media
Splits media files
# Pick out the first five seconds of a song
Split-Media -InputPath $home\Music\ASong.mp3 -Start 00:00:00 -End 00:00:05The input path
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String] |
true | named | true (ByPropertyName) |
One or more output paths
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String[]] |
false | 2 | true (ByPropertyName) |
The path to FFMpeg. Download it from http://ffmpeg.org/
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String] |
false | named | true (ByPropertyName) |
The timespan to start splitting the video
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[TimeSpan] |
true | 2 | true (ByPropertyName) |
The time span to end splitting the video
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[TimeSpan] |
false | 3 | true (ByPropertyName) |
System.IO.FileInfo
System.Management.Automation.Job
Split-Media -InputPath <String> [[-OutputPath] <String[]>] [-FFMpegPath <String>] [-Start] <TimeSpan> [[-End] <TimeSpan>] [<CommonParameters>]