Class FfmpegAudioUtility
Audio utility implemented using ffmpeg.
Implements
Inherited Members
Namespace: Acoustics.Tools.Audio
Assembly: Acoustics.Tools.dll
Syntax
public class FfmpegAudioUtility : AbstractAudioUtility, IAudioUtility
Constructors
| Improve this Doc View SourceFfmpegAudioUtility(FileInfo, FileInfo)
Initializes a new instance of the FfmpegAudioUtility class.
Declaration
public FfmpegAudioUtility(FileInfo ffmpegExe, FileInfo ffprobeExe)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | ffmpegExe | The ffmpeg exe. |
FileInfo | ffprobeExe | The ffprobe exe. |
FfmpegAudioUtility(FileInfo, FileInfo, DirectoryInfo)
Initializes a new instance of the FfmpegAudioUtility class.
Declaration
public FfmpegAudioUtility(FileInfo ffmpegExe, FileInfo ffprobeExe, DirectoryInfo temporaryFilesDirectory)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | ffmpegExe | The ffmpeg exe. |
FileInfo | ffprobeExe | The ffprobe exe. |
DirectoryInfo | temporaryFilesDirectory |
Properties
| Improve this Doc View SourceInvalidOutputMediaTypes
Gets the invalid output media types.
Declaration
protected override IEnumerable<string> InvalidOutputMediaTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Overrides
| Improve this Doc View SourceInvalidSourceMediaTypes
Gets the invalid source media types.
Declaration
protected override IEnumerable<string> InvalidSourceMediaTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Overrides
| Improve this Doc View SourceValidOutputMediaTypes
Gets the valid output media types.
Declaration
protected override IEnumerable<string> ValidOutputMediaTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Overrides
| Improve this Doc View SourceValidSourceMediaTypes
Gets the valid source media types.
Declaration
protected override IEnumerable<string> ValidSourceMediaTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Overrides
Methods
| Improve this Doc View SourceCheckRequestValid(FileInfo, String, FileInfo, String, AudioUtilityRequest)
The check audioutility request.
Declaration
protected override void CheckRequestValid(FileInfo source, string sourceMimeType, FileInfo output, string outputMediaType, AudioUtilityRequest request)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | source | The source. |
String | sourceMimeType | The source Mime Type. |
FileInfo | output | The output. |
String | outputMediaType | The output media type. |
AudioUtilityRequest | request | The request. |
Overrides
| Improve this Doc View SourceConstructInfoArgs(FileInfo)
The construct info args.
Declaration
protected override string ConstructInfoArgs(FileInfo source)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | source | The source. |
Returns
Type | Description |
---|---|
String | The System.String. |
Overrides
| Improve this Doc View SourceConstructModifyArgs(FileInfo, FileInfo, AudioUtilityRequest)
The construct modify args.
Declaration
protected override string ConstructModifyArgs(FileInfo source, FileInfo output, AudioUtilityRequest request)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | source | The source. |
FileInfo | output | The output. |
AudioUtilityRequest | request | The request. |
Returns
Type | Description |
---|---|
String | The System.String. |
Overrides
| Improve this Doc View SourceGetInfo(FileInfo, ProcessRunner)
The get info.
Declaration
protected override AudioUtilityInfo GetInfo(FileInfo source, ProcessRunner process)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | source | The source. |
ProcessRunner | process | The process. |
Returns
Type | Description |
---|---|
AudioUtilityInfo | The Acoustics.Tools.AudioUtilityInfo. |