0

I'd like to convert a MJPEG Stream from an IP-Camera to a compressed Video File. To access the stream i use the MJPEF Decoder found here: http://channel9.msdn.com/coding4fun/articles/MJPEG-Decoder. If i write the Frames to an avi File with an avifil32.dll Wrapper i need 100MB for 1 minute with 5 fps. What can I do?

Richard Liebmann
  • 416
  • 1
  • 6
  • 19

1 Answers1

1

Try the AVI writers provided by AForge.NET:

  • AForge.Video.VFW.AVIWriter uses the Video for Windows API
  • AForge.Video.FFMPEG.VideoFileWriter uses the FFMPEG library

The two important parameters for each are FrameRate and BitRate, experiment with those to get the quality/size trade-off you need.

FYI, AForge also includes a MJPEG client and a library for video motion detection.

lnmx
  • 10,846
  • 3
  • 40
  • 36