Click here to Skip to main content
15,884,838 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How can play a video file in DirectShow with VMR9 in full screen mode?
Posted
Updated 22-Jan-11 10:45am
v2

1 solution

Hi,

Have you looked at the DirectShowNet library?

http://directshownet.sourceforge.net/index.html[^]

It has loads of examples showing you how to do it.

The Dvd Player sample does it this way:
private IVideoWindow	videoWin;
(...)
hr = videoWin.put_FullScreenMode( OABool.True );



It is mainly c#, but it will be easy to see how to do it in C++

Good luck,

Valery.
 
Share this answer
 
Comments
Ekypro 23-Jan-11 2:18am    
I try, but did't work. Error returned:
hr=VFW_E_NO_FULLSCREEN
This is why?
hr=m_pgVMRFilterConfig9->SetRenderingMode(VMR9Mode_Windowless);

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900