DirectShow - Capture Webcam While Viewing It? - webcam

I am trying to make a webcam application in c# that allows users to record video. I have been using DirectShow.Net to preview the webcam and to take snapshots. But need to be able to capture video and audio while previewing the webcam at the same time. One thing I tried was using capturing multiple snapshots and converting them to a video using ffmpeg, however this obviously does not capture audio. Any ideas on how I could accomplish this?

Things you should be aware of:
Capture device is typically used exclusively, so can be used in a single graph
Graphs change state as a whole, you cannot stop a part of the graph, esp. to start/stop recording separately from previewing
The simplest is to create a graph which does both recording and preview:
A more complicated scenario is to create 2 graphs for capture+preview and for recording and copy data from the first to the second, so that you could start/stop recording separately and seamlessly.

Related

configure motion-project to record from two cameras simultaneously

I use the tool "motion" (motion-project, https://motion-project.github.io/) to record Videos of two IP-cams, cam-1 and cam-2.
I tried to configure it that detected motion at cam-1 is triggering recording of cam-1 and cam-2 simultaneously, but until now I wasn't successful.
I found the parameter on_event_start and on_event_end, that allow the execution of a script/command at start and end of detected motion, but I found no way of telling the sw motion to start the recording of cam-2 also.
Maybe I can run a script at on_event_start that starts recording with a separate tool like ffmpg for both cams ?
Motion is indeed a very mighty tool, but too many features are hard to overview.
Thanks for any suggestions to solve it.

How to capture voice of user using Avaya IVR?

Dears,
I want to capture voice of users using IVR built on Orchestration Designer and store it in file system as wav files. As far as I know, there is a way to do that by using Speech Servers such as Nuance,but, since it is expensive we want to find an alternative way. I have been searching internet for week, but could not find anything related. Is there a way to capture voice using java or voiceXML? Is it even possible without using speech servers?
you could use recoding node to record the voice. '.wav' would be saved in data/temp in your application but it would be deleted once your session is over. You need to write customize java code to copy and paste from temp to your local dir before the session gets invalidated.

iTunes Connect Screenshots Continue to Fail

I'm trying to upload new images to iTunes Connect. However, they continue to fail. I've checked many many times now and no dice. The screenshot sizes match Apple's requirements. Saving it as a .jpg continues to fail. Saving it as a .png with no Alpha continues to fail. Spent most of my work day on here finding other solutions that I've tried and still fails.
Other things I tried was using different browsers, saving the image file as generic as possible (ex. 1.png, and I've tried using screenshots pulled from an actual device as well as the Xcode simulator.
I am trying to do this via a windows machine. Has anybody been able to successfully upload screenshots through iTunes Connect using a Windows machine? At this point that is the only thing I can think of as to why it continues to fail.
Try waiting... in my experience, iTunes connect is not all that reliable, and waiting a day solved the screenshot upload issue for me.
Also, if you have not already, open the screenshots in an image editor, and insure they are exactly the right size... I have found that my screenshots always end up a pixel to skinny for some reason.
Lastly, keep in mind new rules for the iPhone 6 and 6 Plus.

Access 2007 Image Capture

I have been trying to figure out how to capture an image withing my Microsoft Access 2007 application using a webcam.
We have been paying for a 3rd party application for this in the past - it is used for taking ID card photos, but the software has grown buggy over time, and I think we should be able to accomplish this ourselves!
All I need is for my Access application to use the webcam to capture the image and save it in a network share. That's it!
I have been trying to hunt down vba code, twain drivers, ActiveX controls... but they all seem to be either deprecated (Access 97/2000) or proprietary! There's got to be some other solution out there though!
You could possibly shell out to another app (using the vba Shell function) that can take a snapshot from the webcam and save it to a file. I found one example:
http://batchloaf.wordpress.com/2011/04/06/snapz-a-command-line-cam-image-grabber/
Good luck.

Remote Backup User Data on iPhone

I wrote a few iPhone apps using Core Data for persistent storage. Everything is working great but I would like to add the ability for users to back up their data to a PC (via WiFi to a PC app) or to a web server.
This is new to me and I can't seem to figure out where to begin researching the problem. I don't want to overcomplicate the issue if there is an easy way to implement this.
Is anyone familiar enough with what I am looking to do to point me in the right direction or give me a high level overview of what I should be considering?
The data is all text and would be perfectly stored in .csv files if that matters.
Unfortunately, I don't think there's a good all-purpose solution under the current SDK. Here are some ideas:
If you only want backup, you could just back up the whole sqlite file to the server or over wifi, but you then can't really use it with anything other than Core Data (and you might even run into trouble with iPhone-Mac compatibility, e.g. between 32-bit and 64-bit types).
A very robust solution would be to implement cloud storage with a REST API and sync the iPhone and desktop app to the server (this is what the Evernote app does, for instance), but that is obviously much more work.
You could also manually convert your data to a .csv and send that to the server or desktop, but parsing it could be problematic (and you'd have to worry about the data getting corrupted). If you did want to go that route, here is a tutorial.