user1077867
user1077867

Reputation: 11

Convert IPLimage to h.263 format

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?

Upvotes: 1

Views: 596

Answers (1)

karlphillip
karlphillip

Reputation: 93468

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.

Upvotes: 0

Related Questions