Shows the volume of an audio stream.
Shows the volume of an audio stream, using the showvolume filter
Show-Media -InputPath .\a.mp3 -ShowVolume
Edit-Media -InputPath .\a.mp3 -ShowVolume -OutputPath .\a.mp4
If set, will show volume
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
true | named | false |
Set border width, allowed range is [0, 5]. Default is 1.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Int32] |
false | 1 | false | showvolume_b |
Set channel width, allowed range is [80, 8192]. Default is 400
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Int32] |
false | 2 | false | showvolume_w |
Set channel height, allowed range is [1, 900]. Default is 20.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Int32] |
false | 3 | false | showvolume_h |
Set fade, allowed range is [0, 1]. Default is 0.95.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | 4 | false | showvolume_f |
Set volume color expression.
The expression can use the following variables:
VOLUME Current max volume of channel in dB.
PEAK Current peak.
CHANNEL Current channel number, starting from 0.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 5 | false | showvolume_c |
Set orientation, can be horizontal: h or vertical: v, default is h.
Valid Values:
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 6 | false | showvolume_o |
Set metering mode, can be peak: p or rms: r, default is p.
Valid Values:
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 7 | false | showvolume_m |
Set step size, allowed range is [0, 5]. Default is 0, which means step is disabled.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | 8 | false | showvolume_s |
Set background opacity, allowed range is [0, 1]. Default is 0.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | 9 | false | showvolume_p |
Set display scale, can be linear: lin or log: log, default is lin.
Valid Values:
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 10 | false | showvolume_ds |
In second. If set to > 0., display a line for the max level in the previous seconds. default is disabled
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | 11 | false | showvolume_dm |
The color of the max line (if -ShowVolumeDisplayMaxInterval is set). default is ‘orange’.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Object] |
false | 12 | false | showvolume_dmc |
Extension/ShowVolume.RoughDraft.Extension.ps1 -ShowVolume [[-ShowVolumeBorderWidth] <Int32>] [[-ShowVolumeChannelWidth] <Int32>] [[-ShowVolumeChannelHeight] <Int32>] [[-ShowVolumeChannelFade] <Double>] [[-ShowVolumeColorExpression] <String>] [[-ShowVolumeOrientation] <String>] [[-ShowVolumeMode] <String>] [[-ShowVolumeStepSize] <Double>] [[-ShowVolumeBackgroundOpacity] <Double>] [[-ShowVolumeDisplayScale] <String>] [[-ShowVolumeDisplayMaxInterval] <Double>] [[-ShowVolumeDisplayMaxColor] <Object>] [<CommonParameters>]