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?

4

1 回答 1

0

OpenCV没有本地方法可以做到这一点。

但是,您可以将 OpenCV 帧转换为 ffmpeg 使用的帧并将其编码为 h263,或者像这个人使用 python 做的那样。

在这个答案中,我展示了如何将 OpenCV 帧转换为等效的 FFmpeg并将其显示在 SDL 窗口上。里面有一些代码对你很有用。

于 2011-12-02T19:52:43.917 回答