Video converter component (wrapper to FFMpeg process)
Inheritance Hierarchy
NReco.VideoConverterFFMpegConverter
Namespace: NReco.VideoConverter
Assembly: NReco.VideoConverter (in NReco.VideoConverter.dll) Version: 1.2.0
Syntax
The FFMpegConverter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FFMpegConverter |
Initializes a new instance of the FFMpegConverter class.
|
Properties
Name | Description | |
---|---|---|
ExecutionTimeout |
Gets or sets maximum execution time for conversion process (null is by default - means no timeout)
| |
FFMpegExeName |
Gets or sets FFMpeg tool EXE file name ('ffmpeg.exe' by default)
| |
FFMpegProcessPriority |
Gets or sets FFMpeg process priority (Normal by default)
| |
FFMpegProcessUser |
Gets or sets user credential used for starting FFMpeg process.
| |
FFMpegToolPath |
Gets or sets path where FFMpeg tool is located
| |
LogLevel |
Gets or sets ffmpeg loglevel option (by default is "info").
|
Methods
Name | Description | |
---|---|---|
Abort |
Abort FFMpeg process started by ConvertMedia or ConcatMedia methods
| |
ComposeFFMpegCommandLineArgs | ||
ComposeFFMpegOutputArgs | ||
ConcatMedia |
Concatenate several video files
| |
ConvertLiveMedia(String, Stream, String, ConvertSettings) |
Create a task for live stream conversion (real-time) without input source. Input data should be passed with Write method.
| |
ConvertLiveMedia(Stream, String, Stream, String, ConvertSettings) |
Create a task for live stream conversion (real-time) that reads data from input stream and write conversion result to output stream
| |
ConvertLiveMedia(Stream, String, String, String, ConvertSettings) |
Create a task for live stream conversion (real-time) that reads data from stream and writes conversion result to the file
| |
ConvertLiveMedia(String, String, Stream, String, ConvertSettings) |
Create a task for live stream conversion (real-time) that reads data from FFMpeg input source and write conversion result to output stream
| |
ConvertMedia(String, Stream, String) |
Converts media represented by local file and writes result to specified stream
| |
ConvertMedia(String, String, String) |
Converts media represented by local file and writes result to specified local file
| |
ConvertMedia(FFMpegInput, String, String, OutputSettings) |
Converts several input files into one resulting output file.
| |
ConvertMedia(String, String, Stream, String, ConvertSettings) |
Converts media represented by local file and writes result to specified stream with specified convert settings.
| |
ConvertMedia(String, String, String, String, ConvertSettings) |
Converts media represented by local file and writes result to specified local file with specified settings.
| |
EnsureFFMpegProcessStopped | ||
Equals | (Inherited from Object.) | |
ExtractFFmpeg |
Extracts ffmpeg binaries (if needed) to the location specified by FFMpegToolPath.
| |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetVideoThumbnail(String, Stream) |
Extract video thumbnail (first frame) from local video file
| |
GetVideoThumbnail(String, String) |
Extract video thumbnail (first frame) from local video file
| |
GetVideoThumbnail(String, Stream, NullableSingle) |
Extract video frame from local video file at specified position
| |
GetVideoThumbnail(String, String, NullableSingle) |
Extract video frame from a local video file (or URL) at the specified position
| |
GetVideoThumbnail(String, Stream, NullableSingle, ConvertSettings) |
Extract video frame at the specified position from the local video file (or URL).
| |
GetVideoThumbnail(String, String, NullableSingle, ConvertSettings) |
Extract video frame from local video file at specified position
| |
Invoke |
Invoke FFMpeg process with custom command line arguments
| |
MemberwiseClone | (Inherited from Object.) | |
Stop |
Stop FFMpeg process "softly" by sending 'q' command to FFMpeg console.
This method doesn't stop FFMpeg process immediately and may take some time.
| |
ToString | (Inherited from Object.) | |
WaitFFMpegProcessForExit |
Events
Name | Description | |
---|---|---|
ConvertProgress |
Occurs when FFMpeg outputs media info (total duration, convert progress)
| |
LogReceived |
Occurs when log line is received from FFMpeg process
|
See Also