Converts media represented by local file and writes result to specified stream with specified convert settings.
Namespace: NReco.VideoConverter
Assembly: NReco.VideoConverter (in NReco.VideoConverter.dll) Version: 1.2.0
Syntax
public void ConvertMedia( string inputFile, string inputFormat, Stream outputStream, string outputFormat, ConvertSettings settings )
Parameters
- inputFile
- Type: SystemString
local path to input media file - inputFormat
- Type: SystemString
input format (null for automatic format suggestion) - outputStream
- Type: System.IOStream
output stream - outputFormat
- Type: SystemString
output media format - settings
- Type: NReco.VideoConverterConvertSettings
convert settings
See Also