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: SystemString
path to local video file - outputJpegStream
- Type: System.IOStream
output stream for thumbnail in jpeg format - frameTime
- Type: SystemNullableSingle
video position (in seconds) - settings
- Type: NReco.VideoConverterConvertSettings
any other ffmpeg options
See Also