Create a task for live stream conversion (real-time) that reads data from stream and writes conversion result to the file
Namespace: NReco.VideoConverter
Assembly: NReco.VideoConverter (in NReco.VideoConverter.dll) Version: 1.2.0
Syntax
public ConvertLiveMediaTask ConvertLiveMedia( Stream inputStream, string inputFormat, string outputFile, string outputFormat, ConvertSettings settings )
Parameters
- inputStream
- Type: System.IOStream
input live stream (null if data is provided by calling "Write" method) - inputFormat
- Type: SystemString
input stream media format - outputFile
- Type: SystemString
output file path - outputFormat
- Type: SystemString
output media format - settings
- Type: NReco.VideoConverterConvertSettings
convert settings
Return Value
Type: ConvertLiveMediaTaskinstance of ConvertLiveMediaTask
See Also