AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

AVIWriter and MS Runlength Encoding (MRLE)

Forum to discuss AForge.NET Framework, its features, API, how-tos, etc.

AVIWriter and MS Runlength Encoding (MRLE)

Postby Snorten » Fri Nov 15, 2013 9:53 am

Hi

Has someone managed to write AVI files using AVIWriter and Microsoft Runlength Encoding / MRLE codec? I get an exception upon calling Open:

Code: Select all
aviCaptureWriter = new AVIWriter("mrle");
String outfileName = DateTime.Now.ToString("yyyyMMdd_HHmmss") + ".avi";

aviCaptureWriter.Open(OutputFolderPath + outfileName, VideoSource.VideoResolution.FrameSize.Width, VideoSource.VideoResolution.FrameSize.Height);

...throws AForge.Video.VideoException: "Failed setting Format of the compressed stream" at aviCaptureWriter.Open ...

I was just wondering because its a quite common old codec and its working properly in other programs.
Snorten
 
Posts: 1
Joined: Fri Nov 15, 2013 9:44 am



Return to AForge.NET Framework

cron