configure motion-project to record from two cameras simultaneously - camera

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.

Related

Uipath automation using RDP for community edition execution

While implementing solution for Level 3 Advanced Training on a separate machine, connected via RDP, i had to use the default UiPath Academy Recorder in order to upload my solution.
Here is the tricky part, although the automation completed successfully without the Academy Recorder on, while it was activated it failed (at random iterations) to recognize the download pop-up window element using the on-element appear activity. If the Academy Recorder was launched from the main machine the automation was also completed without errors.
Additional actions tried:
Check if element vanished
Check with On element exist instead
Also used wait for active and wait for visible options
Checked options for Interactive and Completed as well
-Is this related to the fact that the Academy Recorder slows down remote machine?
Thank you in advance,
Konstantinos
I'm quite aware this hasn't been answered in 2+ years (so hopefully you've solved it!)
An alternative way is to use the Wait For Download Activity.
This activity will wait for the file to be completely downloaded before moving to the next step (so be aware of any timeouts if a bigger file)
The activity is included with the UiPath.System.Activities

Labview: VISA resource busy only when run from subVI

I'm working on a labview program that will talk to box via VISA commands. When I use the instrument assistant in the labview Instrument I/O palette as an open window, it will send and receive information perfectly. When I close the window and try to run it within the context of the larger program (containing only that) it says that the VISA resource is busy.
I have also tried using the Open/write/close option from the Instrument I/O palette, and that also will not allow me to access the resource. I've tried all three directly after restarting the instrument in question, so I'm pretty sure it's not actually busy.
Does anyone have experience with a similar problem, and if so how did you fix it?

Running Malware In VirtualBox

For a project I am working on I want to collect data of malware in a virtualbox for 30 seconds and then revert the VirtualBox back to its original state and repeat this process 500 times for 500 different malware links that I have in a txt file. Before I revert to the normal VirtualBox state, I want to collect data from a program that is monitoring that malware. What is the best way to do this?
Edit: I'd also like to point out that I have code to read the opcodes that are being used by the application. All I would like to do is automate this process for the virtualbox.
I am not aware of such a feature in virtualbox or vmware but you can always use third party tools to compare the state of the different parts (like registry) before and after the execution of malwares.
I heard Ashampoo unistaller is a great tool to do the job but personally never tested it before.
Another option is to use sanboxes like sandboxie or cuckoo sandbox to capture the changes.
Another option is to use online sandboxes like hybrid-analysis which is perfect for what you want to do.
Just keep in mind that most malwares use anti-VM techniques to prevent execution in VMs so you probably will not be able to capture all the features of the malwares.
Hope it helps.

DirectShow - Capture Webcam While Viewing It?

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.

App launch sequencer

Every morning when I get into work I launch about a dozen apps and whatnot (FF, TB, VSx2-3, Eclipse, SSH, SVN update x2-3). Needles to say this does a good job of warming up my HDD for the day. I rather suspect that it would run a lot faster if they were launched sequentially (not to mention that I wouldn't need to click in 17 different places).
Is there a preexisting product that can kick off a sequence of tasks/apps/etc. where each task is only started after the last app is done hammering the HDD?
It would nerd to be able to kick apps like VS and firefox and also be able to trigger explorer context menu items like SVN update in TortoiseSVN.
Try SlickRun, it's free, I've used it for years, I use it constantly and I'd be lost without it.
Think of it like a configurable Start->Run command, it'll do what you want (you can configure n second pauses between multiple commands), and if you install it you'll use it for a thousand different things before the first week is out.
P.S. I have no stake in SlickRun, I just like it :)
Unfortunately, I don't know of any software that can do this for you automatically.
However, can't you trigger the updates through a console SVN task? If so, can't this be done by creating a batch file? It's low tech, and you might want to add a few pauses between each task, but it should do what you want.
As you mention TortoiseSVN, I'll assume your O/S is windows.
You could launch an Autohotkey script at startup. I don't think it can easily detect HDD activity, but you can at least wait until each window appears with the WinWaitActive command.
If each application has an average time they take to complete, you could simply use Windows' Scheduled Tasks application. Obviously you'll need to be running Windows but Scheduled Tasks can be found in the Control Panel.
Execute "Add Schedules Task", select the program, the frequency and then the specific time.