![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++/DShow/Media
王晓鹏
这个作者很懒,什么都没留下…
展开
-
解决 always use the selected program to open this kind of file 不能选
打开方式 不能用的解决办法Open Regedit.exe2Navigate to the following subkey3HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts原创 2012-04-17 11:16:35 · 657 阅读 · 0 评论 -
OAuth for Douban
/* * 本程序提供最基本的Douban OAuth认证的C#示例代码 * * OAuthBase.cs代码来源于 http://code.google.com/p/oauth/ * * 更多其他语言版本的Douban OAuth认证示例代码在 http://code.google.com/p/douban-oauth-sample/ 上提供 * * 有任何疑问,可以到 ht转载 2012-05-15 13:32:51 · 402 阅读 · 0 评论 -
OAUTH协议简介
OAUTH协议简介 摘 要:OAUTH协议为用户资源的授权提供了一个安全的、开放而又简易的标准。与以往的授权方式不同之处是OAUTH的授权不会使第三方触及到用户的帐号信 息(如用户名与密码),即第三方无需使用用户的用户名与密码就可以申请获得该用户资源的授权,因此OAUTH是安全的。同时,任何第三方都可以使用 OAUTH认证服务,任何服务提供商都可以实现自身的OAUTH认证服转载 2012-05-15 14:29:32 · 412 阅读 · 0 评论 -
ffmpeg开发指南
ffmpeg开发指南分类: 多媒体2012-03-03 23:38 1167人阅读 评论(4) 收藏 举报FFmpeg是一个集录制、转换、音/视频编码解码功能为一体的完整的开源解决方案。FFmpeg的开发是基于Linux操作系统,但是可以在大多数操作系统中编译和使用。FFmpeg支持MPEG、DivX、MPEG4、AC3、DV、FLV等40多种编码,AVI、MPEG、OGG转载 2012-05-29 10:18:27 · 396 阅读 · 0 评论 -
在vc下 output的打印
【转】在vc下 output的打印转自:http://blog.chinaunix.net/u3/94302/showart_1891797.html1,使用OutputDebugString在win32程序中可以使用函数OutputDebugString输出调试信息。输出的结果可以在vs的集成环境中看到,也可以使用工具DbgView.exe捕捉结果。函数的原形如下:OutputDeb转载 2012-06-13 13:37:08 · 509 阅读 · 0 评论 -
C++ 调用C#
using System;using System.Runtime.InteropServices;using System.Windows.Forms;namespace MyInterop{/// /// Summary description for Class1./// /// [Guid("3E0E2EB2-CC13-40fb-9346-348转载 2012-06-20 12:21:05 · 355 阅读 · 0 评论 -
利用VS2005进行dump文件调试
前言:利用drwtsn32或NTSD进行程序崩溃处理,都可以生成可用于调试的dmp格式文件。使用VS2005打开生成的DMP文件,能很方便的找出BUG所在位置。本文将讨论以下内容:1、 程序编译选项2、 利用VS2005 分析dump文件3、 常见问题讨论一、 程序编译选项PDB files contains all debug information转载 2012-07-11 10:08:44 · 352 阅读 · 0 评论 -
Convert Plateform::String^ to LPWSTR
// Convert Plateform::String^ to LPWSTR std::vector nameBuffer(peopleName->Begin(), peopleName->End()); nameBuffer.push_back(0); PROPVARIANT valueName; PropVariantInit原创 2013-03-05 17:33:06 · 530 阅读 · 0 评论 -
C++拷贝构造函数的几个细节
// Testing.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include using namespace std;class baseClass{public:baseClass(){cout }vir转载 2013-04-12 13:22:50 · 452 阅读 · 0 评论 -
named pipe
const char* const PIPE_NAME = "\\\\.\\pipe\\test";const int MAX_CONNECTIONS = 10;void client_main(){ DWORD last_error; unsigned int elapsed_seconds = 0; const unsigned int time转载 2014-04-22 15:28:40 · 826 阅读 · 0 评论 -
SxsTrace 使用方法
Windows7平台上有一个强大的SxsTrace工具,可以跟踪调试应用程序运行时需要的动态库的版本和路径。SxsTrace使用的方法:1、首先必须以Administrator用户身份登录,打开cmd命令行;2、也可以以其它用户登录,然后打开cmd命令行,执行:runas /user:administrator cmd,输入Administrator用户转载 2014-08-01 13:26:15 · 506 阅读 · 0 评论 -
MFC 多线程及线程同步
MFC 多线程及线程同步一、MFC对多线程编程的支持 MFC中有两类线程,分别称之为工作者线程和用户界面线程。二者的主要区别在于工作者线程没有消息循环,而用户界面线程有自己的消息队列和消息循环。 工作者线程没有消息机制,通常用来执行后台计算和维护任务,如冗长的计算过程,打印机的后台打印等。用户界面线程一般用于处理独立于其他线程执行之外的用户输入,响应用户及系统所产生的事件和消息转载 2014-08-16 17:45:45 · 337 阅读 · 0 评论 -
rtmp 使用
1#include 2#include 3#include 4#include "iview.h"56int iv_fetch_video(const struct iv_auth *auth, const struct iv_item *item,7原创 2012-03-13 17:25:44 · 1506 阅读 · 1 评论 -
使用VS2008 在windows环境 编译Rtmpdump
折腾了好几天 终于在VS2008下面编译通过了Rtmpdump, 生成静态lib库,分享给大家。http://rtmpdump.mplayerhq.hu/源代码地址,这个开源组建是依赖zlib 和 OpenSSL的,所以要下载zlib和OpenSSL的安装版本。1. 下载OpenSSL:http://www.slproweb.com/products/Win原创 2012-03-13 15:37:23 · 2897 阅读 · 3 评论 -
博客搬家至以下地址
http://chris118.github.io/原创 2015-08-12 10:05:35 · 589 阅读 · 0 评论 -
vs中检测内存泄漏的方法
vs中检测内存泄漏的方法分类: MFC 2013-03-08 21:44 6420人阅读 评论(0)收藏 举报使用vs的内存检测有以下几种方法。在debug模式下以F5运行:方法一:[html] view plaincopy#define CRTDBG_MAP_ALLOC #include stdlib.h>转载 2015-06-15 00:56:39 · 465 阅读 · 0 评论 -
int 转换成 byte[] (byte数组)
int 转换成 byte[] (byte数组)原创 2015-03-10 22:57:36 · 2251 阅读 · 0 评论 -
Registration-Free Activation of COM
C++客户端:client.exe.manifest<assemblyIdentity type="win32" name="client" version="1.0.0.0" /> <assemblyIdentity type="win32"原创 2015-03-17 15:38:54 · 628 阅读 · 0 评论 -
Socket 双向通讯, usb socket 通讯
Socket 双向通讯, usb socket 通讯 分类: socket 2013-03-13 11:12 894人阅读 评论(0) 收藏 举报 client /// /// 发送消息到P转载 2015-02-09 23:58:44 · 1036 阅读 · 0 评论 -
如何:在派生类中引发基类事件(C# 编程指南
如何:在派生类中引发基类事件(C# 编程指南)Visual Studio 2013 其他版本 Visual Studio 2010 Visual Studio 2008 Visual Studio 2005转载 2015-02-02 10:15:51 · 478 阅读 · 0 评论 -
在WPF里面如何使用FolderBrowserDialog
在WPF里面如何使用FolderBrowserDialog转载 2015-01-30 16:58:22 · 3173 阅读 · 0 评论 -
always use the selected program to open this kind of file 灰掉 不能选择的解决办法
HKEY_CLASSES_ROOT\Applications. Select the associated sub-key, if 'NoOpenWith' is listed, delete it.This setting allows you to con原创 2011-07-04 10:47:39 · 497 阅读 · 0 评论 -
D3DFVF_XYZ和D3DFVF_XYZRHW的区别
http://www.cppblog.com/lovedday/archive/2010/02/10/48507.html【ZT】D3DFVF_XYZ和D3DFVF_XYZRHW的区别D3DFVF_XYZ和D3DFVF_XYZRHW有什么区别?以前好像没有仔细思考过,只是见到Be转载 2011-07-21 09:26:41 · 336 阅读 · 0 评论 -
RTMP协议发送H.264编码及AAC编码的音视频,实现摄像头直播
原文请至链接 http://www.cnblogs.com/haibindev/archive/2011/12/29/2305712.htmlRTMP协议发送H.264编码及AAC编码的音视频,实现摄像头直播 RTMP(Real Time Messaging Protocol)是专门用来传输音视频数据的流媒体协议,最初由Macromedia 公司创建,后来归转载 2012-03-09 10:38:12 · 1144 阅读 · 0 评论 -
实时视频在网页直播--windows下编译librtmp、rtmpdump
RTMP流媒体工具包RTLinux下用FFMPEOCT12实时视频在网页直播--windows下编译librtmp、rtmpdump renjihe1988 , 20:19 , 软件 » 音视频与流媒体 , 评论(0) , 引用(0) , 阅读(115) , Via 本站原创 大 | 中 | 小 这段时间做实时视频的网页直播遇到了很多困难转载 2012-03-12 13:56:11 · 1474 阅读 · 0 评论 -
DirectShow For Media Playback In Windows
hosted by DirectShow For Media Playback In Windows - Part III: Customizing Graphsby Chris Thompson (13 September 2000) Return to The Archives转载 2012-06-01 12:49:19 · 529 阅读 · 0 评论 -
如何更改启动顺序 再安装完ubuntu以后
如果在先安装windows 后来才安装ubuntu,如果在安装linux的时候不小心把启动顺序设置成了ubuntu为默认, 那么启动机器以后MBR会默认称ubuntu,熟悉的windows启动画面就看不到了,怎么办呢?解决办法:找到windows安装盘Fix MBR in VistaIn Vista, the procedure to fix the原创 2012-08-30 12:49:23 · 571 阅读 · 0 评论 -
C++ 0x/11学习笔记
C++ 0x/11学习笔记分类: 又爱又恨的C++2012-04-19 14:59 886人阅读 评论(5) 收藏 举报今天在看微软提供的windows8的相关开发文档和Sample程序,发现有个C++程序的表达方式完全象天书,查了下,原来是C++0x/11新支持的Lambda表达式,本来一直懒得去看C++0x/11的说明,想等用到再去研究,今天趁这个机会稍微浏览了下,大概转载 2012-12-07 11:00:51 · 320 阅读 · 0 评论 -
hook utility class
using System;using System.Runtime.InteropServices;using System.Reflection;using System.Threading;using System.Windows.Forms;using原创 2011-10-13 13:57:14 · 344 阅读 · 0 评论 -
VS2003 fatal error C1033: cannot open program database '' 解决办法
I got the same thing when trying to build VS 2005 in Windows 7 RC:Fatal Error C1033: cannot open program database '' (with the database it couldn't open indicated as an empty string)I had my short原创 2011-12-15 12:29:49 · 1157 阅读 · 0 评论 -
stdint.h 的windows版本
// ISO C9x compliant stdint.h for Microsoft Visual Studio// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 // // Copyright (c) 2006-2008 Alexander Chemeris// // Redistr原创 2012-03-13 15:40:13 · 1392 阅读 · 0 评论 -
enum media type
//IEnumMediaTypes *lpEnumTypes = NULL; //if (SUCCEEDED(outPinVideo-> EnumMediaTypes(&lpEnumTypes))) //{ // lpEnumTypes-> Reset(); // AM_MEDIA_TYPE *lpMediaType = 0; // ULON原创 2012-05-07 13:08:17 · 601 阅读 · 0 评论 -
OAuth for Justin.tv
class Program { string apiKey = ""; string apiKeySecret = ""; string requestToken = ""; string requestTokenSecret = ""; string accessToken = "";原创 2012-05-15 13:34:22 · 461 阅读 · 0 评论 -
Flash Video (FLV)
Flash Video (FLV)Flash Video is the name of a file format used to deliver video over the Internet using Adobe Flash Player version 6 or newer. Flash Video content may also be embedded within SWF转载 2012-05-29 11:18:59 · 1001 阅读 · 0 评论 -
两个向量的夹角解法--VC
解析几何(一)两个向量的夹角解法最近在项目中需要判断点和四边形关系,我的算法中涉及到了求解线段夹角的问题,于是编写了如下代码。问题描述平面坐标系中,已知三点坐标,求出任意两点组成的线段之间的夹角。 使用向量夹角公式cos = 两向量之积 / 两向量模的乘积 = arccos( 两向量之积 / 两向量模的乘积 ) 1 #inclu转载 2012-11-29 10:09:03 · 2545 阅读 · 0 评论 -
使用标准C++的类型转换符:static_cast、dynamic_cast、reinterdivt_cast、和const_cast。
使用标准C++的类型转换符:static_cast、dynamic_cast、reinterdivt_cast、和const_cast。3.1 static_cast用法:static_cast ( exdivssion ) 该运算符把exdivssion转换为type-id类型,但没有运行时类型检查来保证转换的安全性。它主要有如下几种用法:①用于类层次结构中基类和子类之间指针或转载 2013-04-15 14:42:58 · 441 阅读 · 0 评论 -
How to debug C++ in the IE.10 + WIN8 64bit + VS2008:
How to debug C++ in the IE.10 + WIN8 64bit + VS2008:Keep TabProcGrowth with Medium (does not change !!)Setting VS2008 OCX project Debugging with command C:\Program Files (x86)\Internet Explore原创 2014-05-23 22:05:41 · 565 阅读 · 0 评论 -
resolve link error: "extern "C" void __clrcall ___CxxCallUnwindDtor
adding msvcmrt.lib to the Additional Dependencies section原创 2014-07-14 13:06:04 · 730 阅读 · 0 评论 -
视频编码标准H.264/AVC
H.264/AVC 是ITU-T VCEG 和ISO/IEC MPEG共同开发的视频处理标准,ITU-T作为标准建议H.264,ISO/IEC作为国际标准14496-10(MPEG-4 第10部分)高级视频编码(AVC)。 MPEG-2视频编码标准(又称为ITU-转载 2011-07-25 15:53:56 · 746 阅读 · 0 评论 -
H264通过RTMP发布 V2.0 (Red5 Wowza 测试通过)
转载: http://blog.csdn.net/zblue78/article/details/6298756 H264通过RTMP发布 V2.0 (Red5 Wowza 测试通过)2011-05-09 15:37 2632人阅读 评论(53) 收藏 举报 直接上代码转载 2012-04-28 14:15:12 · 820 阅读 · 0 评论