FFMpegConverter ClassNReco.VideoConverter Class Library Documentation
Video converter component (wrapper to FFMpeg process)
Inheritance Hierarchy

System Object
  NReco.VideoConverter FFMpegConverter

Namespace: NReco.VideoConverter
Assembly: NReco.VideoConverter (in NReco.VideoConverter.dll) Version: 1.1.2.0 (1.1.2)
Syntax

public class FFMpegConverter

The FFMpegConverter type exposes the following members.

Constructors

  NameDescription
Public methodFFMpegConverter
Initializes a new instance of the FFMpegConverter class.
Top
Methods

  NameDescription
Public methodAbort
Abort FFMpeg process started by ConvertMedia or ConcatMedia methods
Protected methodComposeFFMpegCommandLineArgs
Protected methodComposeFFMpegOutputArgs
Public methodConcatMedia
Concatenate several video files
Public methodConvertLiveMedia(String, Stream, String, ConvertSettings)
Create a task for live stream conversion (real-time) without input source. Input data should be passed with Write method.
Public methodConvertLiveMedia(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
Public methodConvertLiveMedia(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
Public methodConvertLiveMedia(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
Public methodConvertMedia(String, Stream, String)
Converts media represented by local file and writes result to specified stream
Public methodConvertMedia(String, String, String)
Converts media represented by local file and writes result to specified local file
Public methodConvertMedia( FFMpegInput , String, String, OutputSettings)
Converts several input files into one resulting output file.
Public methodConvertMedia(String, String, Stream, String, ConvertSettings)
Converts media represented by local file and writes result to specified stream with specified convert settings.
Public methodConvertMedia(String, String, String, String, ConvertSettings)
Converts media represented by local file and writes result to specified local file with specified settings.
Protected methodEnsureFFMpegProcessStopped
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodGetVideoThumbnail(String, Stream)
Extract video thumbnail (first frame) from local video file
Public methodGetVideoThumbnail(String, String)
Extract video thumbnail (first frame) from local video file
Public methodGetVideoThumbnail(String, Stream, Nullable Single )
Extract video frame from local video file at specified position
Public methodGetVideoThumbnail(String, String, Nullable Single )
Extract video frame from local video file at specified position
Public methodInvoke
Invoke FFMpeg process with custom command line arguments
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStop
Stop FFMpeg process "softly" by sending 'q' command to FFMpeg console. This method doesn't stop FFMpeg process immediately and may take some time.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodWaitFFMpegProcessForExit
Top
Properties

  NameDescription
Public propertyExecutionTimeout
Gets or sets maximum execution time for conversion process (null is by default - means no timeout)
Public propertyFFMpegExeName
Gets or sets FFMpeg tool EXE file name ('ffmpeg.exe' by default)
Public propertyFFMpegProcessPriority
Gets or sets FFMpeg process priority (Normal by default)
Public propertyFFMpegProcessUser
Gets or sets user credential used for starting FFMpeg process.
Public propertyFFMpegToolPath
Gets or sets path where FFMpeg tool is located
Top
Events

  NameDescription
Public eventConvertProgress
Occurs when FFMpeg outputs media info (total duration, convert progress)
Public eventLogReceived
Occurs when log line is received from FFMpeg process
Top
See Also