1

I'm using OpenCV for some 2D image processing. I need to convert IPLimage (which is captured by camera) to H.263 (not h.264) encoded format.

Is there any built-in OpenCV function to achieve this? If not, are there any appropriate APIs that I could use?

Blender
  • 289,723
  • 53
  • 439
  • 496
  • Please don't make all of the text in your question bold. It's obnoxious to look at. – Blender Dec 02 '11 at 17:11
  • I don't think OpenCV has a function to do that but I may be wrong. Have you looked at [ffmpeg](http://ffmpeg.org/)? – SSteve Dec 02 '11 at 19:51

1 Answers1

0

There's no native way to do this with OpenCV.

However, you can convert OpenCV frames to what ffmpeg uses and encode it as h263, or do something like this guy did using python.

On this answer, I've showed how to convert an OpenCV frame to it's FFmpeg equivalent and display it on a SDL window. There's some code in there that can be quite useful to you.

Community
  • 1
  • 1
karlphillip
  • 92,053
  • 36
  • 243
  • 426