FFMpegConverter.GetVideoThumbnail Method (String, Stream, Nullable<Single>, ConvertSettings)

NReco.VideoConverter Class Library Documentation
Extract video frame at the specified position from the local video file (or URL).

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

public void GetVideoThumbnail(
	string inputFile,
	Stream outputJpegStream,
	Nullable<float> frameTime,
	ConvertSettings settings
)

Parameters

inputFile
Type: System.String
path to local video file
outputJpegStream
Type: System.IO.Stream
output stream for thumbnail in jpeg format
frameTime
Type: System.Nullable<Single>
video position (in seconds)
settings
Type: NReco.VideoConverter.ConvertSettings
any other ffmpeg options
See Also

Reference