Click here to Skip to main content
15,884,298 members
Articles / Desktop Programming / MFC

Preview and Record with MPEG2 Capture device

Rate me:
Please Sign up or sign in to vote.
4.39/5 (16 votes)
11 Jun 20048 min read 219.8K   9.7K   94  
This article shows how to work with MPEG2 capture devices such as Preview, Record. Works with all video renderers. Grab picture and configure MPEG2 Demux.
#ifndef  _ELECARD_VIDEO_DECODER1 
#define  _ELECARD_VIDEO_DECODER1

#include "VideoDecoder.h"
#include "DirectShowGraph.h"
 


class    CeVideoDecoder : public CVideoDecoder  {

public: 

	CeVideoDecoder(CDirectShowGraph  *g);
	~CeVideoDecoder();

	HRESULT AddVideoDecoder() ;
	HRESULT RemoveVideoDecoder() ;

 
	IPin * GetVideoDecoderOutPin();
	IPin * GetVideoDecoderInPin() ;
	CDirectShowGraph  *dsGraph;
 
 


} ; 



#endif 

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Israel Israel
Enjoy from Cabelim.com

Comments and Discussions