Skip to content

Split Media

James Brundage edited this page Apr 22, 2022 · 2 revisions

Split-Media

Synopsis

Splits media


Description

Splits media files


Related Links


Examples

EXAMPLE 1

# Pick out the first five seconds of a song
Split-Media -InputPath $home\Music\ASong.mp3 -Start 00:00:00 -End 00:00:05

Parameters

InputPath

The input path

Type Requried Postion PipelineInput
[String] true named true (ByPropertyName)

OutputPath

One or more output paths

Type Requried Postion PipelineInput
[String[]] false 2 true (ByPropertyName)

FFMpegPath

The path to FFMpeg. Download it from http://ffmpeg.org/

Type Requried Postion PipelineInput
[String] false named true (ByPropertyName)

Start

The timespan to start splitting the video

Type Requried Postion PipelineInput
[TimeSpan] true 2 true (ByPropertyName)

End

The time span to end splitting the video

Type Requried Postion PipelineInput
[TimeSpan] false 3 true (ByPropertyName)

Outputs

System.IO.FileInfo

System.Management.Automation.Job


Syntax

Split-Media -InputPath <String> [[-OutputPath] <String[]>] [-FFMpegPath <String>] [-Start] <TimeSpan> [[-End] <TimeSpan>] [<CommonParameters>]

Clone this wiki locally