-
-
Notifications
You must be signed in to change notification settings - Fork 1
Get Media
James Brundage edited this page Apr 22, 2022
·
2 revisions
Gets media metadata
Gets metadata about a media file, using FFProbe.
Get-Media -InputPath $home\Music\ASong.mp3
Get-Media -InputPath $home\Video\AVideo.mp4
One or more input paths. If none are provided, all files in the current directory will be passed to Get-Media.
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[String[]] |
false | 1 | true (ByPropertyName) |
The path to FFProbe.exe. Download it from http://ffmpeg.org/
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[String] |
false | named | false |
The path to FFMpeg.exe. Download it from http://ffmpeg.org/
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[String] |
false | named | false |
A list of streams . For example, to show only audio streams, use 'a'
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[String[]] |
false | named | false |
A list of entries. By default, shows information about streams and formats. For more information about sections, visit FFMpeg.org
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[String[]] |
false | named | false |
If set, will output packets
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
If set, will output data
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
If set, will output frames
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
The number of times to retry reading the file.
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[Int32] |
false | named | false |
If set, will run this in a background job
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
RoughDraft.Media
System.Management.Automation.Job
psobject
Get-Media [[-InputPath] <String[]>] [-FFProbePath <String>] [-FFMpegPath <String>] [-Stream <String[]>] [-Entry <String[]>] [-OutputPacket] [-OutputData] [-OutputFrame] [-ProbeTryCount <Int32>] [-AsJob] [<CommonParameters>]