DirectShow+Uncompressed AVI
Hello I am trying to capture some stream from a device and save it to an uncompressed avi file. I am using C# + DirectShowLib, and the resulting file is always compressed(mjpeg or dv codec). Any ideas? ...
Hello I am trying to capture some stream from a device and save it to an uncompressed avi file. I am using C# + DirectShowLib, and the resulting file is always compressed(mjpeg or dv codec). Any ideas? ...
Hello What is the best way to capture video in a wpf application? I am looking for a way to detect the video devices, and then capture video from the selected one. Thanks ...
Consider Action _captureAction; private void TestSimpleCapturedAction() { Action action = new Action(delegate { }); Action printAction = () => Console.WriteLine("Printing..."); action += printAction; CaptureActionFromParam(action); action -= printAction; _captureAction(); //p...
I have the following code int ParseData(unsigned char *packet, int len) { struct ethhdr *ethernet_header; struct iphdr *ip_header; struct tcphdr *tcp_header; unsigned char *data; int data_len; /* Check if any data is there */ if(len > (sizeof(struct ethhdr) + sizeof(struct iphdr) + sizeo...
Hello guys, Does someone knows how can I capture my computer screen to a video file? I need the file to be as small as possible. I'm using C#. Third party components also welcome. TY ...
Hi there I can take snapshot of a component. But the problem is the component is lil bigger with scroll bars. The saved image has scrollbars (only the visible area is getting saved). What i need is I want the entire component to be saved as an image. This exact functionality is available while we print the component using FlexPrintJo...
Hi, is there any free and open source java library for capturing active window screenshot? I want to use it to capture any active window, not only SWING windows. Thanks. ...
Hi all, I am looking for a way to capture or trap the mouse in a window after it has entered that window much like a mouse is trapped in a virtual machine window until a user presses CTRL+ALT+DEL or release the mouse in some other manner. How do I make this happen in Java? Going full screen is not an option. EDIT: Here is some SSCCE ...
I am using .NET 3.5. I need to Capture Sound from Mic/Headphone and trigger action at particular (not exact) frequency (Need to perform some action when player hits ball with stick while playing golf). So, 1. How to capture sound from Mic/Headphone using .NET 3.5? 2. Trigger action at particular (not exact) frequency? Any ideas? ...
C\C++ lib for cross-platform device streams capturing (It shall find all devices in system and be able to give me their streams for encoding or filtering or any thing else). I want it to be cross-platrorm So is there any lib like this, opensource? ...
Hi there, I have a question regarding CSMA/CD in the IEEE 802.3 LAN standard. I'm trying to understand the behavior of CSMA/CD after a station has captured the channel. Say station A has captured the channel and has an infinite supply of frames it is sending. Also assume that station B has something it wants to send. Now, if I under...
Is it possible to tie nested generics/captures together? I often have the problem of having a Map lookup of class to genericized item of said class. In concrete terms I want something like this (no, T is not declared anywhere). private Map<Class<T>, ServiceLoader<T>> loaders = Maps.newHashMap(); In short, I want loaders.put/get to ha...
Hi All, Any advice on how I might grab an image using C# from this device (Canopus ADVC-55) I tried emailing the manufacture but they where not interested as they sell it with their own software products. Cheers, jason Canopus-ADVC-55 ...
I am developing an app for Windows Mobile 6 and there is a CameraCaptureDialog class that enables me to call a camera app from my own application. The class has an Owner property that most examples on the internet set to "this". cam.Owner = this; What exactly does this do? I've seen a similar scenario with Windows Forms components/cont...
hi i want to capture voice and play voice in flex using fms any give ideas or program regards radha ...
As I just learned from this question, .NET regexes can access individual matches within a repeated capturing group. I. e., if I apply a regex like \b(\w+\s*)+ to a string of words, only the last word will be stored in \1 or Match.Groups(1).Value, but using Match.Groups(1).Captures I get access to all the individual matches the regex it...
I want to capture a image from a web cam and i want to print dat captured image in desired size. ...
Hi, I have a method public Object doSomething(Object o); which I want to mock. It shall just return its parameter. I tried: Capture<Object> copyCaptcher = new Capture<Object>(); expect(mock.doSomething(capture(copyCaptcher))).andReturn(copyCatcher.getValue()); wihtout success, I get just an AssertionError "Nothing captured, yet". Any i...
I've currenly trying to pull out dates from a file and feed them directly into an array. My regex is working, but I have 6 groups in it, all of which are being added to the array, when I only want the first one. @dates = (@dates, ($line =~ /((0[1-9]|[12][0-9]|3[01])(\/|\-)(0[1-9]|1[0-2])(\/|\-)([0-9][0-9][0-9][0-9]|[0-9][0-9]))/g )); ...
I'm making a little application for taking notes. So when I type 'note' anywhere on my computer, my window will pop up and show me a textbox for me to type something in and save it to XML. I'm stumped on how to get the program to 'listen' to my keypresses. I'll have the app running on the system tray if that's any help. :) ...