Click here to Skip to main content
15,883,772 members
Everything / Capture

Capture

capture

Great Reads

by fabio bussu
MatchKit is a .NET Library that provides a set of classes to build patterns to match simple and complex strings
by Ryan Scott White
Converts past and real-time stock market tick data into time-sliced summaries called Briefs
by ASP.NET Community
Following will be the example if you would like to use Request QueryString to pass value between 2 CSHTML page.We have have 2 web pages, Page.cshtml
by Member 13443508
I am going to explain how to get hand on a texture containing Blackmagic captured frame, so you can display it into your DirectX scene

Latest Articles

by Ryan Scott White
Converts past and real-time stock market tick data into time-sliced summaries called Briefs
by YawerIqbal
How Fiddler for model driven apps works and getting started
by Member 13443508
I am going to explain how to get hand on a texture containing Blackmagic captured frame, so you can display it into your DirectX scene
by Tomáš Bauer
Capture of a Typical SQL Server Database Workload

All Articles

Sort by Score

Capture 

21 Apr 2014 by fabio bussu
MatchKit is a .NET Library that provides a set of classes to build patterns to match simple and complex strings
10 May 2021 by Ryan Scott White
Converts past and real-time stock market tick data into time-sliced summaries called Briefs
15 Mar 2014 by XSON-NEON
Hello all :)(Sorry for my bad English)Recently I've started a small application that can show live window previews using DWM. One of the features is to render only part of source window. That can be achieved using DWM API, and that is all working... End-user can enter the RECT values (X,...
29 Mar 2013 by Matthew Faithfull
No, there is no general solution to this via DirectX.The reason for this is that the Window you're trying to capture may have no existance in DirectX at all. If it belongs to an application that doesn't use DirectX then from the DirectX point of view there is nothing special about that area...
2 Apr 2013 by Matthew Faithfull
Google says you can download it here[^]. Google is a good source for 'where can I download...?' information.
26 Mar 2015 by Sergey Alexandrovich Kryukov
In addition to Solution 1, which will hardly be enough:You can do the following:Get HWND of the desktop window: https://msdn.microsoft.com/en-us/library/windows/desktop/ms633504%28v=vs.85%29.aspx.Iterate through all desktop children:...
7 Dec 2013 by cysy
Please tell me the name of a library that can be used with C++ and Visual Studio 2013 Express Edition and Windows 7 which enables to:1. capture sound from headphones (playing to headphones is so easy I don't need to ask)2. read / write wave format (or other simple format without lossy...
25 Dec 2013 by CPallini
Possibly this Code Project article will help you: "Creating a Sound Recorder in C and C#"[^].
7 Feb 2015 by Zoltán Zörgő
This is the way: http://www.html5rocks.com/en/tutorials/getusermedia/intro/[^]. But as not all have HTML5 browser, you still need some fallback, so check this too: https://github.com/jhuckaby/webcamjs[^]
6 May 2015 by Sergey Alexandrovich Kryukov
First part of my answer may come at surprise, because it's not even discussed in the Open CV documentation: strict background subtraction, even based on referenced background image (called background model), is theoretically impossible. This is because even two images provides incomplete...
20 Sep 2016 by Karthik_Mahalingam
try thisALTER PROCEDURE [dbo].[sprocAuthorizeLogin] @Username nvarchar(20) = 0, @Password nvarchar(20) = 0ASBEGINIF EXISTS(SELECT Username, Password FROM dbo.SignInTable WHERE Username = @Username AND Password = @Password)select 2 ELSE select 1ENDintExists = ...
27 Oct 2017 by OriginalGriff
A regex captures the text you told it to - which in your case includes teh tags. You can use an non-capturing prefix and suffix: (?)(.+?)(?=) But if you are trying to process HTML, I'd recommend a proper parser instead: Html Agility Pack | HAP[^] is a good start.
6 Feb 2018 by F-ES Sitecore
Services don't have access to the interactive desktop Interactive Services (Windows)[^] If you google "c# take screenshot windows service" you'll find various articles and examples from other people who have tried this kind of thing. Monitoring desktop windows from a Windows service[^]
17 Apr 2012 by Bryian Tan
Hello,Let say I have a table table1 with the following columnscolID, col1, col2, col3, col4, col5Then I enable CDC for table1 and capture the following column: colID,col2,col4Let say tomorrow I add col6 and col7 into table1 table.Is there a Stored Procedures to include col6...
24 Apr 2012 by barneyman
there's an example here on CP on how to write a Browser Helper Object[^] for IEI don't know how you'd start it with Chrome, but i found this[^]
24 Apr 2012 by keancaptinh
Hey everybody,Firstly, i am sorry because my english may be is not good.I am implementing a own download manager. But i have an problem and no have solution for it.[PROBLEM]Firstly, my application does not run.I want that when i click a link download in the browser (Ex: Firefox,...
26 Apr 2012 by keancaptinh
Hi barneyman.Thank you very much. It is useful for me. I will read it. :-)
18 Jun 2012 by charlesmister
Hi everyone,I'm a beginner at c# and i really need to know how to capture video and audio from a capturing HW plugged by USB. I'm using Grabster AV300 and it works fine in the provided software. Now i want to adquire the signal and display it im my winform. I've tried some articles mentioned...
10 Aug 2012 by Velkumar Kannan
Hi, Can any one explain about how events are captured by asp.net? For example, If a control can generate click and selectedindexchanged events then how asp.net differentiate these events. ie. How asp.net finds which event occurs. The EVENTTARGET contains the...
11 Aug 2012 by Martin Arapovic
Hi,I think you will find explanation here[^].
21 Aug 2012 by Kuthuparakkal
Sending data to and from a Macromedia Flash movie to any hosting application will require a call to the FSCommand function, and this is done inside Macromedia Flash during design of the clip. So you donot have any straight forward method to capture data, because you do not host it, and you do...
2 Sep 2012 by MR. AngelMendez
Hi, I made two separate programs, the first one is supposed to capture the other program and the second one is supposed to show a messagebox stating that it has been captured.first question: How do I get program 1 to capture any running program, like a "black hole"?second question: How...
2 Sep 2012 by AmitGajjar
Hi,What you are asking may be possible but i am not prefer to access running program directly. Instead what i suggest you to create one Intermediate XML file for transmitting data between both the application. I don't know what you would like to achieve from attaching both the...
4 Sep 2012 by charlesmister
Found it! The solution was rendering the audio also because i was only rendering the video. (just in case if someone is facing the same issue).
2 Apr 2013 by liaoyuandeyehuo
where can download windows Media Encoder9 SDK?I can't find it on msdn.
26 Apr 2013 by liaoyuandeyehuo
https://msdn.microsoft.com/zh-...
16 Jun 2013 by Sergey Alexandrovich Kryukov
There is absolutely no need to use P/Invoke with your Forms application. All you need from GDI+ is available in System.Drawing:http://msdn.microsoft.com/en-us/library/system.drawing.aspx[^].—SA
5 Aug 2013 by Tim Golisch
The project that you found in C# sounds like a good idea. Try converting the C# code to VB.NET (or another language). Here is a good web-site that can convert the code (free). http://www.developerfusion.com/tools/convert/csharp-to-vb/
11 Oct 2013 by ASP.NET Community
Following will be the example if you would like to use Request QueryString to pass value between 2 CSHTML page.We have have 2 web pages, Page.cshtml
26 Oct 2013 by Fess59
Hello!There is the problem of changing the color depth when I get a shot of the screen with the SharpDX. Normally only works if the selected format A8R8G8B8, for changing the format to A1R5G5B5, comes out with a blank error message:HRESULT: [0x8876086C], Module: [SharpDX.Direct3D9],...
26 Nov 2013 by walterhevedeich
I think that's the whole idea behind putting the transmission under HTTPS/SFTP: to prevent your data from being sniffed. I think a better approach would be to scan the source or destination, if you have access.
27 Nov 2013 by Dave Kreskowiak
You can't. It's that simple.Unless your app is the one doing the transfer, you can't get the filename or any other data about the transfer. You're trying to be the "man in the middle" that encryption protects against!Events really aren't going to help you because not every browser...
2 Dec 2013 by austinbox
If you are using a WebBrowser control then the links can be found in the HtmlDocument.Here is some example code//Make sure document is loadedprivate void WebBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e){ HtmlElementCollection links =...
18 Dec 2013 by Member 10474952
Hello All - I am looking to capture ascii data from a parallel port output from a machine - this device is not a pc - but it is collecting datat & printing a table of numbers to an epson lx300+ printer - Can anyone help me devise a solution to this problem ? Thanks in advance Marty
15 Mar 2014 by The_Inventor
The solution is simple. Put your code within the appropriate case statement. //To obtain the position coordinates in screen coordinates, use the following code:xPos = GET_X_LPARAM(lParam); // horizontal position yPos = GET_Y_LPARAM(lParam); // vertical position ...
27 Jun 2014 by Olayèmi Ouabi
Here is what i've finally found. Not perfect but it helps me for a while. References : DirectX.Capture.dll and DShowNET.dll Public Class Prise_Image ' Just for the streaming Dim Camera As DirectX.Capture.Filter Dim CaptureInfo As...
12 Aug 2014 by Sergey Alexandrovich Kryukov
The biggest problem is your "24 frames per second" requirement. Windows is not a real-time system, so, with some probability, you may fail to deliver exact frame rate; some delays will be possible. You can use multimedia-system timer to improve the reliability if it, but it will require P/Invoke...
21 Nov 2014 by Redgum
If you real question is how to get around using a proprietary 3rd party SDK for your IP camera (that may or may not cost money to get your hands on,) then I'd try using something open-source, like the AForge framework: https://code.google.com/p/aforge/[^]Otherwise, yes. You will need to...
2 Jan 2015 by Sergey Alexandrovich Kryukov
You can find a code sample for image capturing with Touchless SDK in this CodeProject article:Versatile WebCam C# library[^].It doesn't see that you are doing proper operations. First of all, you unconditionally reference the object Touchless.Cameras.Item(0). Why do you think there are any...
7 Feb 2015 by Mr_cool
Please let me know if somebody knows a way out to record a video from the webcam and then upload it to the server. This needs to be done for web application using asp.netAny help will be appreciated.
9 Feb 2015 by A.Castillo
You can try this, too: check the homepage of Ozeki Camera SDK . Here you can find solution to record the video of your camera. And after you made it you can upload to the server, it support ASP.NET.
9 Feb 2015 by Yesii
how to get webcam working on html5:http://blog.teamtreehouse.com/accessing-the-device-camera-with-getusermediaAnd this:http://www.comm100.com/blog/contributors/webcam-csharp-library-api-aspx.html[^]
22 Feb 2015 by NaMaCk
Using Directx.Capture; to Capture a picture from a Webcam (Capture the Frame from the Preview PictureBox). Displaying Length of that Frame is sometimes (rare) ok : around 25000 Most of the time is more than 10x larger, around 320000! Why is that? width and height always the same in both cases...
14 Mar 2015 by Member 11162686
how can i capture and store a screen shot of a particular DIV using asp.net?
10 Jul 2015 by Dave Kreskowiak
Well, you're going to have to write your own Notepad then."Intercepting" the print job and editing it is an extraordinarily complex way to do what amounts to Mail Merge.The application describes what the page image looks like to the print driver. The driver takes that "image" and...
4 Aug 2015 by Afzaal Ahmad Zeeshan
PHP is a server-side language, it has no control over the web page once it has been rendered. So, you cannot take a screenshot in PHP. :)
4 Nov 2015 by Member 11433205
So my problem is:I have Windows 10 with Visual Studio 2015 Community; I want to capture a section of the screen from a Direct3D app., in real-time (this one is very important, it _must be_ real-time).... So I found this article: Very fast screen capture using DirectX in C#[^], which I could...
14 Nov 2015 by George Jonsson
Have you tried this forum?Intel® RealSense™ SDK Support forum[^]
16 May 2016 by Eranga Dayarathne
I have Created audio and video capture method and Save thee two file in to my location.after these two file merge in to one avi format file.in the final output file audio run first and video take delay. how to fix it. I used ffmpeg.exe for merge.are there many system for capture audio and...
17 May 2016 by Eranga Dayarathne
I have DirectX C# dll. I need to capture video while video running. when i capture video while running, it just slow in the windows form(get slow moving). how to stop picture box video slow moving. however video save without any problem.here is the sample code i used.What I have...
30 May 2016 by Member 12530466
Have made an application (VB/NET)that capture pics on packed articles.The problem is to get the resolution higher than 640 x 360 pixels.Many have this issue on the web but I can't find a not to complex solution.The year i 2016 and I thought these things should be fairly easy, but...
20 Sep 2016 by Member 12750150
Using VB 2012 and SQL Server 2012. Written and tested stored procedure to return a value depending upon success of procedure. Stored procedure works perfectly, but I am having difficulty writing the code correctly to retrieve the return value so I can process it.What keeps getting returned...
20 Sep 2016 by PeejayAdams
You're using ExecuteNonQuery for a query. ExecuteNonQuery is designed for INSERTS/DELETES/UPDATES so the value returned is the count of rows affected.
20 Sep 2016 by OriginalGriff
As far as I know, there is no direct way to get the return value of an SP outside SSMS - ExecuteNonQuery won't do it - it returns the number of rows affected, not the RETURN value. And ExecuteScalar won't either, unless the result its SELECTed.If you can modify your SP to SELECT the value...
11 Jul 2017 by Ahmad_Mustafa
use this proc.StartInfo.Arguments = string.Format("-i {0} -i {1} -acodec copy -vcodec copy -map 0:0 -map 0:1 {2}", Wavefile, video1, strResult);
25 Oct 2017 by BetulK44
sorry for my English, I want to get frame capture when moving on loaded video, how can I do it? Example, there is a way, take a frame capture while the car is on the way, but, don't take a frame capture while the road is empty. my codes are as follows; VideoCapture capture = null; List...
28 Oct 2017 by Damla Yuksel
In Visual Basic I am trying to get text between tags but TAGS are also captured. I want to see the result as ONLY "Captured Text" in message box. But result is coming as "Captured Text" with both tags before and after . What is wrong in my code? What I have tried: Public Sub...
28 Oct 2017 by Damla Yuksel
I found the solution I must use Groups(1) for getting only text inside tags ..This is the solution..
30 Oct 2017 by Member 13443508
I am going to explain how to get hand on a texture containing Blackmagic captured frame, so you can display it into your DirectX scene
13 Sep 2018 by Member 13908153
I want to capture desktop image in win7 using Getfrontbufferdata, a interface function in DirectX9Ex. But I met the below two problems. 1. In Windowed Mode,I can capture desktop image correctly. Then I want to capture image in full-screen mode. So I changed the Windowed value into FALSE,But...
13 Sep 2018 by KarstenK
Read the article and code about Capturing an Image. The trick is to use the full screen as device context.
21 Nov 2018 by RickZeeland
Maybe you can use the VideoCaptureDevice Class, see example: VideoCaptureDevice Class[^]
15 Jun 2019 by Mornepousse
Hello! I currently use directhow because it is the only one I found that allows to set the values (exposure, whitebalance...). but directhow is very very heavy while the application of windows 10 by default camera stream in full resolution (1080p or 2K) without saturating a core processor and...
1 Aug 2019 by RickZeeland
Take a look at the Intel IPP library: Intel® Integrated Performance Primitives (Intel® IPP) | Intel® Software[^] Another interesting product is: Streamcoders MediaSuite[^] And maybe this light and open source Video Surveillance application: ContaCam[^]
19 Jan 2021 by YawerIqbal
How Fiddler for model driven apps works and getting started
9 Sep 2023 by OriginalGriff
This is one of the most common problems we get asked, and it's also the one we are least equipped to answer, but you are most equipped to answer yourself. Let me just explain what the error means: You have tried to use a variable, property, or a...
9 Sep 2023 by Richard MacCutchan
The return value from VideoCapture(1) is null, so the line: capture.ImageGrabbed += Capture_ImageGrabbed; throws the exception, since capture does not contain a valid reference. You should check that the call to VideoCapture(1) returns a...
28 Mar 2013 by André Kraak
This CP article Various methods for capturing the screen[^] describes how to use DirectX to capture the screen.
15 Mar 2016 by Ryan Scott White
A tool that captures live market data for a set of symbols and saves them to 1-second snapshots in a SQL database.
29 May 2017 by Tomáš Bauer
Capture of a Typical SQL Server Database Workload
12 May 2014 by Olayèmi Ouabi
Hi Everybody.I'm working on something with a camera. I use DirectX.Capture and DShowNET libraries to look at my camera view into a picturebox. My problem is that i need to rotate my camera view at 270° before the view is in a correct position. I've searched for that matter in a lot of...
12 May 2014 by wikus70
Brian Low and Blas5 wrote articles about the DirectX.Capture Class Library. DirectX.Capture Class Library[^]Capture Sample with DirectX and .NET[^]You can maybe send them a PM about your request.
11 Aug 2012 by Paweł Kubicz
Hello,I'm implementing software to casino auto-play. I'm using .NET technology and C# language. The main problem is how to capture data from casino game (here is the link to the game http://www.bet-at-home.com/redirNetentCasino.aspx?game=lrblackjack2-3h&pff=True ). I have never been dealing...
1 Mar 2015 by Maciej Los
As Richard MacCutchan mentioned, you have to get window's handle.Have a look here: http://www.pinvoke.net/default.aspx/user32.getwindowtext[^]. Link to MSDN documentation: GetWindowText function[^]
6 May 2015 by Member 11670301
I am building an interactive installation using live video footage. English isn't my native language, sorry for possible mistakes.I want to use live webcam footage. The program should have a reference image of the background and should subtract that from the moving foreground. Every few...
16 Nov 2014 by BaumHard920
I'm newbie here, but I need some help. I need to build an application for my Foscam IP camera.I found an interesting article on xyz.com: How to create USB webcam / IP camera recorder to capture and save video (C# WPF)[^]. This aroused my attention, but so far I am unable to find out how to...
7 Jan 2015 by Member 11277237
hi guys can anybody knows what are the steps to install the touchless lib I mean which one I should compile and which touchless.dll and webcam.dll I should add to my project I don't find any guid any where? thanks and any help greatly appreciated.
13 Nov 2015 by Member 11865398
Hi, In my application want to record video file with audio by using realsense sdk. I done video recording by using following code. But while playing i did not receive any audio in that video file. Following code content i used for recording video. session =...
5 Aug 2013 by bhram12
hello , looked a lot for source code to capture and monitoring communications processes like this tools : TCPViewerhttp://i.imgur.com/ztmFYKI.png[^]it's show name process and ip , port i found this project but it's C# and I do not understand codes...
25 Dec 2013 by Member 9581817
I have been searching for ways of recording Audio coming in from Line in with no success.
12 Aug 2014 by evich.ilya
Dear all.Prompt please. Need to implement a program that will capture the desktop screen at 24 frames per second to video stream and send by rtmp-protocol to the server. Should I start and what do you recommend libraries to use?
13 Sep 2023 by OzzieOzburn
I am trying to learn image processing, but it is a pain because of camera selection. In C# Winform, I am trying to get video capture by using the camera. When I use integrated webcam, everything works fine. However, when i pick USB connected...
4 Mar 2013 by meenakshi syal
provide me with the source code if available to create a application where web cam can automatically keep on capturing the images at given intervals and save them in a file with date and time in c# window application
28 Mar 2013 by liaoyuandeyehuo
how to capture desktop or other windows to a bitmap(or other format) by directx9;I use the function GetFrontBufferData,but it return D3DERR_INVALIDCALL.Who can help me.
28 Mar 2013 by liaoyuandeyehuo
I can only capture the desktop by the function GetFrontBufferData()Is there any way to capture a window?
2 Apr 2013 by liaoyuandeyehuo
Thank you very much.I failed to find it by msdn.It's too complex.
2 Apr 2013 by liaoyuandeyehuo
yeah,it is useful to find out functions or latest packages only.
9 Apr 2013 by liaoyuandeyehuo
The open boradcaster software is so powerful.I'm curious about how to get a D3D9 game's backbuffer.I was failed to read the source code because it is too complicated for me.Could you give me some suggestions or tell me how to realize it.Thank you!
16 Jun 2013 by Member 8262223
Hello, I'm currently trying to capture a fullscreen game with antialiasing mode activated via BitBlt, but it returns a black screenshot. If I disable the antialiasing, the screenshot works perfectly.Any ideas?Here's the code I'm using:public Image CaptureWindow(IntPtr handle) ...
26 Nov 2013 by wusir371
I am developing a file transfer monitor system. For HTTP and FTP file transfer, it no problem to monitor the Port 80(HTTP) and Port 21(FTP) to capture the file transfer information. However, for SFTP(Port 22) and HTTPS(Port 443),the file name cannot be captured because of the encryption.Is...
2 Dec 2013 by slayasty
Hi, so I wanna know if it possible to capture a generated link from webcontrol in C#. For example inserting a link that needs to have a search done. Pressing submit and it goes into another page. Is it possible to capture the link of that other page and use it for another purpose?Thanks
1 Mar 2015 by Member 11380736
c# visual studioIs it possible to capture a window title through an e.location and how?
11 Jul 2015 by salam_dust_man
hi everyone;i'm looking for source code or sample that get printer data before print (capture printer output) put it in variable and change some values then print it in form.any idea how to get data and put it into variable for special purpose.
4 Aug 2015 by Member 11380736
HeyIs it possible to make a screenshot of a window in PHP ?I've tried this:$img = imagegrabscreen();imagepng($img, 'screenshot.png');But it creates a black .png file !This also creates a black screen but the top of the browser is visible !$browser = new...
6 Feb 2018 by itsgursdev
service work good in debug mode,but when i start using installutil then it is not started What I have tried: DateTime fileCreationDatetime = DateTime.Now; Bitmap bitmap = new Bitmap(500, 500); Graphics graphics = Graphics.FromImage(bitmap as Image); ...
21 Nov 2018 by Fiínek Cahů
Hi, does anyone have a working code for capture and save video from an integrated camera via Aforge? Who could share it? Thank you What I have tried: I tried directx.capture Public Class Form1 Public cap As Capture Public f As Filters Public Sub Form1_Load(sender As Object, e...