 |
|
 |
Hi,
I am not seeing any setting options in GUI other than start capture but when I am clicking on it, it is capturing it's own window, not the running video.
It will be great if you can tell me the steps that I need to follow to run and capture video successfully.
I am running Direct-x 9.0 + VS2008. Also checked registry value of SoftwareOnly = 0 and EmulationOnly = 0.
|
|
|
|
 |
|
 |
Able to run the application but it seems we can't capture the running video if player window is minimized. Please let me know if my assumption is correct and also let me know if there is any way to capture video when window is minimized.
|
|
|
|
 |
|
 |
This article is not about video capture but to allow user to capture screenshots of a running video (the reasons are off topic). Prior to Windows Vista/7, you either disable the hardware acceleration or you could use this 'trick'.
Aside, a direct video capture does not require this method.
|
|
|
|
 |
|
 |
Thanks for the reply.
Ya, I wanted to take screen shots/frames of a running video and your application is really help full.
Could you please let me know if we can capture the frame even when the running video is minimized or it is possible at all?
Also it would be great if you can mention or give some pointer how to capture direct video?
|
|
|
|
 |
|
 |
This is really off topic.
Firstly, the screen capture method used here will not be able to screen capture minimized or partially hidden windows. This is because it relies on GetWindowDC which is going to return either nothing to BitBlt (when minimized) or some cut-up shape (when partially hidden). You need a different method entirely.
Have a read at Feng Yuan's article. He uses WM_PRINT and WM_PRINTCLIENT to trick the application into drawing itself to your device context.
http://www.fengyuan.com/article/wmprint.html[^]
Hope that helps.
|
|
|
|
 |
|
 |
hi,how can it capture the avi file when it is playing.i according yours discuss,but still get the image which is display the program itself.lookford to your reply
|
|
|
|
 |
|
 |
Hi. If you are trying to capture the video stream, this would be the wrong correct approach. This is about capturing a screenshot of the playing video (there are reasons).
|
|
|
|
 |
|
 |
Ur topic of Screen Capturing was very gud.But sir.How to capture only Open or Save Dialog Box from Desktop window.If anybody know.
pls reply me on chintan.ddesai@gmail.com
thxs
|
|
|
|
 |
|
 |
Press the [Prt-Sc] key while holding down the [Alt] key. This will only capture the active window to the clipboard.
Hope, it will help.
Saqib Hassan
THE SENSE to SENSE!
|
|
|
|
 |
|
 |
Actually I want the Coding in VC 6.0 not the keyboard Ctrl.Help me thru VC Coding.
Help Wud be Appreciated
Regards
Chintan
www.visharadsoft.com
There is nothing pure as knowledge
|
|
|
|
 |
|
|
 |
|
 |
I want to capture the window's video screen shot..
to avi file in C#.net
how can it be done?
Winita S
|
|
|
|
 |
|
 |
This doesn't work with PrintWindow API, why ?
( My application use CHogVideo to initialize directx and do a PrintWindow on Windows Media player )
Christian
|
|
|
|
 |
|
 |
i was trying to get the screen shot using getfrontbuffer() , but i m getting a blank screen when windows media player is there on the screen ... how can i get the screen shot without disbling the hardware acceleration .
|
|
|
|
 |
|
 |
The good question is how capture DirecX window because DShow us DX for display ( ^_^ )...
The solution : http://www.etrusoft.com/screenshot-maker-online-help/capturedirectx.htm
I do not test it !
An other solution is to replace render filter by avi mux + file writer.
With this second solution you have an avi.
You can made a fast test using graphedit...
A++
-- modified at 8:10 Tuesday 1st August, 2006
...
|
|
|
|
 |
|
 |
You can't. At least not with the current DirectShow.
The trick described here is to overcome this situation without having to disable the hardware acceleration.
|
|
|
|
 |
|
|
 |
|
 |
Hi,
Good work man. But i am not able to capture snapshots in full screen mode... can u help me?
|
|
|
|
 |
|
 |
Hey Jey,
The last I tested the trick does help to capture snapshots in full screen mode. The point to note is that you don't need the CHogVideo class. You just need to start and pause a dummy video (this will hog the video resource). Open a second video play to play the intended video screen for capture.
Hope that answers the problem.
|
|
|
|
 |
|
 |
Hi chiew Heng Wah,
Thanx for ur timely reply...
its working fine with Windows media player full screen mode, but i want to capture frames while playing some game in full screen mode.. Is it a different problem? Can u suggest any idea for tat?
|
|
|
|
 |
|
 |
You could try HyperSnap-DX from Hyperionics.
|
|
|
|
 |
|
 |
It's good idea but why you d'ont have put a button for exemple to choose the source for the capture
Despirados
|
|
|
|
 |
|
 |
Dear,
is it possible to capture the image of window who is minimized. i got the handle of window+device context using pinvoke in C#. i use the following functions.
FindWindow();
GetWindowDC();
CreateCompatibleDC();
CreateCompatibleBitmap();
in C#. but can't succeed to get the image of that window who is minimized, anyone can help me........
Regards,
Shahbaz.
|
|
|
|
 |
|
 |
Hi. I doubt this method is possible to capture the image of a minimised window - simply because the DC isn't valid. You can test this theory by moving the window partially out of the screen and take a capture (using the method you discribed above - or Alt-Print Screen). You will find that only the visible portion is captured.
There could be another way, but not this.
|
|
|
|
 |
|
 |
i have some avi files,which in both pal or ntsc format,can i change their frame rate (change them from pal to ntsc and vice versa )
infinity
|
|
|
|
 |