如何加载MJPEG并获取每个静止图像 [英] How to load MJPEG an get each still image

查看:142
本文介绍了如何加载MJPEG并获取每个静止图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要(重要)修改运动jpeg文件的每张图片.
对于其他图像处理,我使用OpenGL.

谁能给我看一个简单的代码示例,
a)在C ++中加载MJPEG文件
b)获取图像(CImage,字节数组等)?

如果需要包含任何内容,请也告诉我:)

帮助会很棒!

万分感谢! :)

Hi to all,

I need (important) to modify each picture of an motion jpeg file.
For other image preocessing I use OpenGL.

Can anybody show me a SIMPLE code example how to
a) load an MJPEG file in C++
b) get an image (CImage, byte array, ...)?

If it is neccessary to include anything, please tell me also :)

Help would be great!

Thank you a lot! :)

推荐答案

Opengl不适用于图像处理.您要达到什么目的?

顺便说一句,关于mpeg阅读,您可以使用ffdshow [
Opengl is not for image processing. What are you trying to achieve ?

BTW , regarding mpeg reading, you could use ffdshow[^], or directshow libraries.


尝试查看
Try looking at some of the samples in this google search.
There were only about 3,910,000 results, so go forth and search out your answer. When you get to the point of a more specific coding question, please feel free to ask and we''ll be more than happy to provide more detailed responses.
Cheers.


这篇关于如何加载MJPEG并获取每个静止图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆