当前注册人数107584人 邮箱: 密码: 注册新用户 忘记密码
首页 C/C++/MFC C# ASP.NET VB.NET MATLAB   站内搜索 BBS讨论社区 下载代码说明/积分规则
为什么要注册?

1. 可以直接免费从本站下载代码,防止邮件发送不到您的邮箱,或登录不了国外网站

2. 可以设定关键字,当有您关心的代码收录时,邮件通知您

3. 对这里的代码进行评分和评论

4. 可以和大家一起分享你的源代码,得到更多的建议

Showing an animated image over running video

VC在视频上显示动画图像

2008年08月01日
VC7, C++Windows, Win2K, WinXP, MFC, DirectX, COM, VS6, Visual Studio, Dev
这个程序可以在一个正在播放的视频上显示一个动态或静态的图像。使用了一些DirectShow未公开的功能。
 
相关知识

Displaying a picture over video requires some insight of DirectShow and how to build a filter graph. And, adding custom filters in the graph like VMR9 (video mixing renderer). This VMR9 is the key, it is the renderer which allows us to display a picture over video.

CDC * pdc = GetDC();
CDC mCompatibleDC;
mCompatibleDC.CreateCompatibleDC(pdc);
mCompatibleDC.SelectObject(hBitmap);
CRect reSrc(0,0,mBitmapWidth,mBitmapHeight);

源代码原文下载:
Showing an animated image over running video An easy class which hides all nastiness of DirectShow, and helps in showing an image over playing video, and you can also control the image's transparency. Briefly described is how to do this all.

源码图片

从本站下载附件及源代码(1个附件,已经成功下载307次)

最值得关注的外文源代码

Face Detection C++ Library with Skin and Motion Analysis
评论(评论是增加积分的一个有效途径)
字数在300字内
请如实评论
本源代码共评论54次,此处显示最近20次评论! 查看所有评论

墨风云  2010年01月26日
学习一下
zyh329  2010年01月03日
不错的东西
hengli1982  2009年10月14日
谢谢了,很好哈
hi  2009年09月26日
谢谢哈
一生和球  2009年08月14日
一定要让我下!
小广在等待  2009年07月15日
哈哈,感谢一下
guogan  2009年07月14日
很好!!!
beilei  2009年06月17日
谢谢
custchen  2009年06月17日
学习一下,多谢了!
mlhy20060406  2009年05月24日
功能强大呀
zhangqiang  2009年05月16日
谢谢分享,很期待
binju  2009年05月12日
谢谢分享,很期待
csx  2009年05月08日
谢谢分享的
killua555  2009年04月16日
thanks
sfily  2009年04月08日
谢谢分享,很期待
天狼星   2009年03月27日
好像缺少文件
luqingdingyu  2009年03月23日
谢谢分享
zzd612  2009年03月18日
怎么不能运行啊 怎么回事呢
pepper6681747  2009年03月04日
好!看看~~
lianhaxixi  2009年03月02日
看看
字数在300字内
请如实评论
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved   免责声明
京ICP备08011023号