VB6 中视频文件(.avi 和 .mpg)的帧提取和插入
我们有一个用VB6开发的软件。该软件使 Photoshop 自动化,以实现快速的单击图像校正。
现在,我们的客户要求我们添加对处理视频文件中选定帧的支持。
我们想要实现的是从视频文件中提取一系列帧并在 Photoshop 中处理它们,然后将它们插入回视频文件中。
关于我们如何实现这一目标有什么想法吗?
我从未对视频处理进行过编程,所以我对这个概念很陌生。
请指出任何可以在 VB6 中工作并且可以提供帧提取和插入而不破坏该视频文件的音频的库。
哦!我应该提到,我为此尝试过 ImageEnX,但不幸的是它无法处理各种编解码器,并且它可以处理非常短的视频文件(小于 100 MB)。
提前致谢。
We have a software developed in VB6. This software automates Photoshop to achieve quick single click image corrections.
Now our client has asked us to add support for processing selected frames in a video file.
What we want to achieve is Extract a range of frames from a video file and process them in Photoshop and then insert them back in the video file.
Any ideas as to how we can achieve this?
I have never programmed video handling so I am new to this concept.
Please point me to any libraries that will work in VB6 and that may be providing frame extraction and insertion without disrupting the audio of that video file.
Oh! I should mention that I have tried ImageEnX for this but unfortunately it is not able to handle various codecs and it can work with very short video files (less than 100 MB).
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 AviFile API(VB6 代码可在 ShrinkWrapVB 获取)
Have a look at the AviFile API (VB6 code available at ShrinkWrapVB)
最后我找到了一种方法来做到这一点。所以我想我会在这里与其他人分享。
当然不是我想要的那样,但它就像一个魅力。 :)
我在做什么?
就是这样。
希望这对寻找类似解决方案的人有所帮助。
Finally I have found a way to do this. So I though I will share it with other here.
Of course not as I want it but it just works like a charm. :)
What I am doing?
That is it.
Hope this will help someone searching for similar solution.