Class AudioStream
Inheritance
System.Object
AudioStream
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Xabe.FFmpeg.dll
Syntax
public class AudioStream : IAudioStream, IStream, IFilterable
Properties
Bitrate
Declaration
public long Bitrate { get; }
Property Value
Type |
Description |
System.Int64 |
|
Channels
Declaration
public int Channels { get; }
Property Value
Type |
Description |
System.Int32 |
|
Codec
Declaration
public string Codec { get; }
Property Value
Type |
Description |
System.String |
|
Default
Declaration
public int? Default { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Duration
Declaration
public TimeSpan Duration { get; }
Property Value
Type |
Description |
System.TimeSpan |
|
Forced
Declaration
public int? Forced { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Index
Declaration
public int Index { get; }
Property Value
Type |
Description |
System.Int32 |
|
Language
Declaration
public string Language { get; }
Property Value
Type |
Description |
System.String |
|
Path
Declaration
public string Path { get; set; }
Property Value
Type |
Description |
System.String |
|
SampleRate
Declaration
public int SampleRate { get; }
Property Value
Type |
Description |
System.Int32 |
|
StreamType
Declaration
public StreamType StreamType { get; }
Property Value
Methods
Build()
Declaration
Returns
Type |
Description |
System.String |
|
BuildAudioCodec()
Declaration
public string BuildAudioCodec()
Returns
Type |
Description |
System.String |
|
Declaration
public string BuildInputArguments()
Returns
Type |
Description |
System.String |
|
ChangeSpeed(Double)
Declaration
public IAudioStream ChangeSpeed(double multiplication)
Parameters
Type |
Name |
Description |
System.Double |
multiplication |
|
Returns
CopyStream()
Declaration
public IAudioStream CopyStream()
Returns
GetFilters()
Declaration
public IEnumerable<IFilterConfiguration> GetFilters()
Returns
GetSource()
Declaration
public IEnumerable<string> GetSource()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
Reverse()
Declaration
public IAudioStream Reverse()
Returns
SetBitrate(Int64)
Declaration
public IAudioStream SetBitrate(long bitRate)
Parameters
Type |
Name |
Description |
System.Int64 |
bitRate |
|
Returns
SetBitstreamFilter(String)
Declaration
public IAudioStream SetBitstreamFilter(string filter)
Parameters
Type |
Name |
Description |
System.String |
filter |
|
Returns
SetBitstreamFilter(BitstreamFilter)
Declaration
public IAudioStream SetBitstreamFilter(BitstreamFilter filter)
Parameters
Returns
SetChannels(Int32)
Declaration
public IAudioStream SetChannels(int channels)
Parameters
Type |
Name |
Description |
System.Int32 |
channels |
|
Returns
SetCodec(String)
Declaration
public IAudioStream SetCodec(string codec)
Parameters
Type |
Name |
Description |
System.String |
codec |
|
Returns
SetCodec(AudioCodec)
Declaration
public IAudioStream SetCodec(AudioCodec codec)
Parameters
Returns
SetSampleRate(Int32)
Declaration
public IAudioStream SetSampleRate(int sampleRate)
Parameters
Type |
Name |
Description |
System.Int32 |
sampleRate |
|
Returns
SetSeek(Nullable<TimeSpan>)
Declaration
public IAudioStream SetSeek(TimeSpan? seek)
Parameters
Type |
Name |
Description |
System.Nullable<System.TimeSpan> |
seek |
|
Returns
Split(TimeSpan, TimeSpan)
Declaration
public IAudioStream Split(TimeSpan startTime, TimeSpan duration)
Parameters
Type |
Name |
Description |
System.TimeSpan |
startTime |
|
System.TimeSpan |
duration |
|
Returns
Implements