文件名称:LShowMovie
介绍说明--下载内容均来自于网络,请自行研究使用
directX下面一个播放视频的例子,其中主要的播放类已经封装,可以在其他view里面 dailog 里面简单的调用就能播放。
修改MainFrm.cpp里面的
g_pcView->m_movie.PlayFile("c:\\x.rmvb") 来修改播放路径
visual 6.0 可以编译,directx show类库已经带到工程里面了,不安装微软的directx show也能编译
-DirectX following example of a video, in which the major players have packaging category, you can view it in other dailog inside will be able to play a simple call. Modify MainFrm.cpp inside g_pcView-> m_movie.PlayFile ( " c: \ \ x.rmvb" ) to modify the path of visual 6.0 player can be compiled, directx show class library project has been brought inside, and not to install Microsoft directx show can compile
修改MainFrm.cpp里面的
g_pcView->m_movie.PlayFile("c:\\x.rmvb") 来修改播放路径
visual 6.0 可以编译,directx show类库已经带到工程里面了,不安装微软的directx show也能编译
-DirectX following example of a video, in which the major players have packaging category, you can view it in other dailog inside will be able to play a simple call. Modify MainFrm.cpp inside g_pcView-> m_movie.PlayFile ( " c: \ \ x.rmvb" ) to modify the path of visual 6.0 player can be compiled, directx show class library project has been brought inside, and not to install Microsoft directx show can compile
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ShowMovie
.........\Debug
.........\DShow
.........\.....\include
.........\.....\.......\activecf.h
.........\.....\.......\amaudio.h
.........\.....\.......\amparse.h
.........\.....\.......\amstream.h
.........\.....\.......\amva.h
.........\.....\.......\Amvideo.h
.........\.....\.......\atsmedia.h
.........\.....\.......\audevcod.h
.........\.....\.......\austream.h
.........\.....\.......\aviriff.h
.........\.....\.......\basetsd.h
.........\.....\.......\bdaiface.h
.........\.....\.......\bdamedia.h
.........\.....\.......\Bdatif.h
.........\.....\.......\bdatypes.h
.........\.....\.......\comlite.h
.........\.....\.......\control.h
.........\.....\.......\d3d.h
.........\.....\.......\d3d8.h
.........\.....\.......\d3d8caps.h
.........\.....\.......\d3d8types.h
.........\.....\.......\d3dcaps.h
.........\.....\.......\d3drm.h
.........\.....\.......\d3drmdef.h
.........\.....\.......\d3drmobj.h
.........\.....\.......\d3drmwin.h
.........\.....\.......\d3dtypes.h
.........\.....\.......\d3dvec.inl
.........\.....\.......\d3dx.h
.........\.....\.......\d3dx8.h
.........\.....\.......\d3dx8core.h
.........\.....\.......\d3dx8effect.h
.........\.....\.......\d3dx8math.h
.........\.....\.......\d3dx8math.inl
.........\.....\.......\d3dx8mesh.h
.........\.....\.......\d3dx8shape.h
.........\.....\.......\d3dx8tex.h
.........\.....\.......\d3dxcore.h
.........\.....\.......\d3dxerr.h
.........\.....\.......\d3dxmath.h
.........\.....\.......\d3dxmath.inl
.........\.....\.......\d3dxshapes.h
.........\.....\.......\d3dxsprite.h
.........\.....\.......\ddraw.h
.........\.....\.......\ddrawex.h
.........\.....\.......\ddstream.h
.........\.....\.......\dinput.h
.........\.....\.......\dinputd.h
.........\.....\.......\dls1.h
.........\.....\.......\dls2.h
.........\.....\.......\dmdls.h
.........\.....\.......\dmerror.h
.........\.....\.......\dmksctrl.h
.........\.....\.......\dmo.h
.........\.....\.......\dmodshow.h
.........\.....\.......\dmoimpl.h
.........\.....\.......\dmoreg.h
.........\.....\.......\dmort.h
.........\.....\.......\dmplugin.h
.........\.....\.......\dmusbuff.h
.........\.....\.......\dmusicc.h
.........\.....\.......\dmusicf.h
.........\.....\.......\dmusici.h
.........\.....\.......\dmusics.h
.........\.....\.......\dpaddr.h
.........\.....\.......\dplay.h
.........\.....\.......\dplay8.h
.........\.....\.......\dplobby.h
.........\.....\.......\dplobby8.h
.........\.....\.......\dsetup.h
.........\.....\.......\DShow.h
.........\.....\.......\dshowasf.h
.........\.....\.......\dsound.h
.........\.....\.......\dv.h
.........\.....\.......\dvdevcod.h
.........\.....\.......\dvdmedia.h
.........\.....\.......\dvoice.h
.........\.....\.......\dvp.h
.........\.....\.......\dx7todx8.h
.........\.....\.......\dxerr8.h
.........\.....\.......\dxfile.h
.........\.....\.......\dxsdk.inc
.........\.....\.......\dxtrans.h
.........\.....\.......\dxva.h
.........\.....\.......\edevdefs.h
.........\.....\.......\errors.h
.........\.....\.......\evcode.h
.........\.....\.......\il21dec.h
.........\.....\.......\Iwstdec.h
.........\.....\.......\ks.h
.........\.....\.......\ksguid.h
.........\.....\.......\ksmedia.h
.........\.....\.......\ksproxy.h
.........\.....\.......\ksuuids.h
.........\.....\.......\mediaerr.h
.........\.....\.......\mediaobj.h
.........\Debug
.........\DShow
.........\.....\include
.........\.....\.......\activecf.h
.........\.....\.......\amaudio.h
.........\.....\.......\amparse.h
.........\.....\.......\amstream.h
.........\.....\.......\amva.h
.........\.....\.......\Amvideo.h
.........\.....\.......\atsmedia.h
.........\.....\.......\audevcod.h
.........\.....\.......\austream.h
.........\.....\.......\aviriff.h
.........\.....\.......\basetsd.h
.........\.....\.......\bdaiface.h
.........\.....\.......\bdamedia.h
.........\.....\.......\Bdatif.h
.........\.....\.......\bdatypes.h
.........\.....\.......\comlite.h
.........\.....\.......\control.h
.........\.....\.......\d3d.h
.........\.....\.......\d3d8.h
.........\.....\.......\d3d8caps.h
.........\.....\.......\d3d8types.h
.........\.....\.......\d3dcaps.h
.........\.....\.......\d3drm.h
.........\.....\.......\d3drmdef.h
.........\.....\.......\d3drmobj.h
.........\.....\.......\d3drmwin.h
.........\.....\.......\d3dtypes.h
.........\.....\.......\d3dvec.inl
.........\.....\.......\d3dx.h
.........\.....\.......\d3dx8.h
.........\.....\.......\d3dx8core.h
.........\.....\.......\d3dx8effect.h
.........\.....\.......\d3dx8math.h
.........\.....\.......\d3dx8math.inl
.........\.....\.......\d3dx8mesh.h
.........\.....\.......\d3dx8shape.h
.........\.....\.......\d3dx8tex.h
.........\.....\.......\d3dxcore.h
.........\.....\.......\d3dxerr.h
.........\.....\.......\d3dxmath.h
.........\.....\.......\d3dxmath.inl
.........\.....\.......\d3dxshapes.h
.........\.....\.......\d3dxsprite.h
.........\.....\.......\ddraw.h
.........\.....\.......\ddrawex.h
.........\.....\.......\ddstream.h
.........\.....\.......\dinput.h
.........\.....\.......\dinputd.h
.........\.....\.......\dls1.h
.........\.....\.......\dls2.h
.........\.....\.......\dmdls.h
.........\.....\.......\dmerror.h
.........\.....\.......\dmksctrl.h
.........\.....\.......\dmo.h
.........\.....\.......\dmodshow.h
.........\.....\.......\dmoimpl.h
.........\.....\.......\dmoreg.h
.........\.....\.......\dmort.h
.........\.....\.......\dmplugin.h
.........\.....\.......\dmusbuff.h
.........\.....\.......\dmusicc.h
.........\.....\.......\dmusicf.h
.........\.....\.......\dmusici.h
.........\.....\.......\dmusics.h
.........\.....\.......\dpaddr.h
.........\.....\.......\dplay.h
.........\.....\.......\dplay8.h
.........\.....\.......\dplobby.h
.........\.....\.......\dplobby8.h
.........\.....\.......\dsetup.h
.........\.....\.......\DShow.h
.........\.....\.......\dshowasf.h
.........\.....\.......\dsound.h
.........\.....\.......\dv.h
.........\.....\.......\dvdevcod.h
.........\.....\.......\dvdmedia.h
.........\.....\.......\dvoice.h
.........\.....\.......\dvp.h
.........\.....\.......\dx7todx8.h
.........\.....\.......\dxerr8.h
.........\.....\.......\dxfile.h
.........\.....\.......\dxsdk.inc
.........\.....\.......\dxtrans.h
.........\.....\.......\dxva.h
.........\.....\.......\edevdefs.h
.........\.....\.......\errors.h
.........\.....\.......\evcode.h
.........\.....\.......\il21dec.h
.........\.....\.......\Iwstdec.h
.........\.....\.......\ks.h
.........\.....\.......\ksguid.h
.........\.....\.......\ksmedia.h
.........\.....\.......\ksproxy.h
.........\.....\.......\ksuuids.h
.........\.....\.......\mediaerr.h
.........\.....\.......\mediaobj.h