Create a task for live stream conversion (real-time) that reads data from FFMpeg input source and write conversion result to output stream
Namespace: NReco.VideoConverter
Assembly: NReco.VideoConverter (in NReco.VideoConverter.dll) Version: 1.2.0
Syntax
public ConvertLiveMediaTask ConvertLiveMedia( string inputSource, string inputFormat, Stream outputStream, string outputFormat, ConvertSettings settings )
Parameters
- inputSource
- Type: SystemString
input source string identifier (file path, UDP or TCP source, local video device name) - inputFormat
- Type: SystemString
input stream media format - outputStream
- Type: System.IOStream
output media stream - outputFormat
- Type: SystemString
output media format - settings
- Type: NReco.VideoConverterConvertSettings
convert settings
Return Value
Type: ConvertLiveMediaTaskinstance of ConvertLiveMediaTask
See Also