Ubuntu Multimedia :: Execute Command Using Php To Start Program That Grabs Screen From Webcam?
Apr 8, 2010
I'm trying to setup a webcam surveillance system. Zoneminder didn't work for me regardless of how I tried configuring it, so I gave up and have now settled on a more primitive solution. I've currently got 6 cams and looping streamer (webcam screen grabber) I can grab a picture from each camera with about a 1 second interval. The previous picture is overwritten and using javascript to reload the image continuously in a browser I get the desired "movie" effect I'm after. The problem however is that as soon as I start using streamer on more than two cameras at once I run into this little snag:
Quote:
libv4l2: error turning on stream: No space left on device
ioctl: VIDIOC_STREAMON(int=1): No space left on device
I've been searching around and it seems I need to increase my shared memory. I've done that (tried many different values and "solutions") but the problem remains the same.
My setup is as follows.
1.php (refreshes updated grab from camera 1 every second in the browser)
2.php (refreshes updated grab from camera 2 every second in the browser)
3.php (refreshes updated grab from camera 3 every second in the browser)
etc
etc.
Is it possible to use something like php exec to execute the command that starts 'streamer' that grabs the image from the specific webcam (/dev/video1 for 1.php and so forth) when 1.php is opened in the browser. Is this even possible, or am I just dreaming?
View 2 Replies
ADVERTISEMENT
Jan 21, 2011
I am trying to execute a limux command in c program using system system call, but the dont want it to dump the output or error logs on the terminal.
View 2 Replies
View Related
Aug 5, 2011
In a nut shell, I have a program called OpenSim which is a 3D virtual world emulator. My ISP provides me with dynamic DNS so I have written a program that compares my external IP to the IP in a file called Regions.ini that OpenSim uses to go out to the Internet. If the IP's are different then I need to change the entry in the Regions.ini file and reboot OpenSim. The program works except for the fail safe I put in in case OpenSim crashes during shutdown which happens one in a while.Here is the code:Quote:
#!/bin/bash
EXCEED_TIME="N"
SERVICE='mono'
[code]...
View 1 Replies
View Related
Apr 8, 2010
Command to compile n execute a Fortran program on a Linux machine
View 6 Replies
View Related
Jul 4, 2011
One of those things that make yo go "WTF?" After browsing the internet with Firefox, there appears a peculiar problem: if I move the pointer to a certain area of the screen, I can't click (left, right, middle) nor use mouse wheel. The area can be of variable size, but usually it's small, in the lower part of the screen, it's x dimension greater than y one (a horizontally placed rectangle). The problem doesn't go away when I restart Firefox (obviously it does when I reboot). It obstructs any window under it (I can't even click on the desktop where 'it' is). It's as if there is an invisible window that 'steals' focus when I move the mouse over it. I'm on 11.04, Classic Ubuntu (Gnome 2.3x).
A quick UPDATE: dragging an icon and dropping it on the said area behaves as if I dragged an item and dropped it where it doesn't belong (i.e. it just slowly returns to it's original position). Also, I tried killing it with Force Quit applet, but only my desktop reloaded.
View 4 Replies
View Related
Feb 28, 2016
When I open Iceweasel, terminal eg, the mouse grabs the new windows in the middle so I can move it and i have to click so it releases It, but I do not want that.Is there any way to disable it?I am using Cinnamon if it matters.
View 0 Replies
View Related
Dec 1, 2008
Is there a way to execute some command and then after the command completes utomatically reboot the system and then after the system reboots execute another command ? For example look at the sequence shown below(1) Execute command-1(2) After the command-1 in (1) is completed,reboot the system (3) Execute command-2(4) After execution of command-2 reboot the sytemIs there a way i can automate this process so that i need not reboot the system manually
View 5 Replies
View Related
Dec 11, 2009
I am looking for a program just to film and eventually save (this is not very important) from my webcam.
View 3 Replies
View Related
Mar 12, 2011
My contact doesn't get the request to start webcam, I was just wondering if any of you can help me resolve my issue?
View 2 Replies
View Related
May 19, 2010
What command can I use to start a program in the terminal? What command is appropriate for applying patches to that or other programs? What command is appropriate to applying a 3.5 version patch to the 3.0 version of firefox. What are some useful commands for the terminal?
View 9 Replies
View Related
Jun 9, 2010
how to get vgrabbj to start feeding images from a webcam to stopmotion? What I get now is all green screen, both in stopmotion and vgrabbj:
"tam:~$ vgrabbj -f test.jpg -d /dev/video0 -i vga -F 1 && eog test.jpg
Unable to set palette
Unable to set palette
Unable to set palette
Reading image from /dev/video0
There was no map allocated to be freed Gives a green window. This is Logitech Quickcam 3000 RT. Is there a better suiting grabber for this camera?
View 1 Replies
View Related
May 27, 2010
I'm trying to use the screen command to start a split screen by default.
I know once I am an in `screen`, I can type C-a S to get a split screen. But is there a way to specify this as an argument to the `screen` command so it starts automatically with a split screen?
View 2 Replies
View Related
Jun 11, 2010
I have a Logitech Quickcam Chat webcam (USB ID 046d:092c) that's worked with my Ubuntu with minimal problems (just some nVidia driver crap) for ages now. I'm not using nVidia anymore (Intel now), but since my fresh install of Lucid, my webcam doesn't seem to capture anything. It is detected by lsusb, but when I open Cheese, the picture is just black. Skype doesn't give me any video at all, not even that annoying static or green lines. Clicking the Test button in my Skype Options undedoesn't do anything;double-clicking it gives me a full-screen grey screen - pressing Escape takes me back to the preferences window. After I get the grey full screen and press Escape, the Test button is gone until I close the Options window and open it up again.Going into gstreamer-properties and testing v4l2 (under Video -> Default Input) just shows me the 'Testing ... Click Ok to finish' window for ages until I close it - no video appears or anything and I'm not entirely sure what I'm supposed to be seeing. Testing with the 'Test Input' option does give me the coloured lines and static. Testing v4l seems to make it crash, but no error comes up in the terminal I'm running it from.lsusb output:
Code:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:092c Logitech, Inc. QuickCam Chat
[code]...
View 9 Replies
View Related
Jan 18, 2011
I got a Rocketfish RF-WEB2C webcam, plugged it into my Dell Inspiron Mini 10, and it worked just fine. Cheese ran it, tinychat ran it, skype ran it, all was good. Today, all I get is a black screen. Tinychat claims that it isn't giving out any signal, though can detect it, and Cheese showed me a black screen, though listed it as the the device it was using. I figure it isn't a lack of drivers, as it worked yesterday, and it really shouldn't have broken yet, as I just opened it yesterday.
View 7 Replies
View Related
Apr 15, 2011
I have problems to get it work. i have tried to use pm-utils, but it does nothing.
What is need is to kill application, when pc is going into suspend to ram and run that application again on wake. It's a graphical application.
View 1 Replies
View Related
Apr 13, 2011
When my netbook has an extended screen, using an external monitor, all of the panels stay on the netbook, not the big monitor. When I connect an external monitor, I want to use it as my primary screen. I only really intend to use the netbook screen for skype calls (so I am looking into the webcam, and not away from it) since it is so small. I wish the secondary screen to be the netbook, not the external monitor. How can I do this?
View 1 Replies
View Related
Jul 30, 2011
After running a command that spits out a lot of output in screen. I drop to Copy mode and try to find where the command start. This becomes very very challenging when there are lots of lots of similar text to sift through. Is there a way for me to quickly scroll to where my command starts?
View 2 Replies
View Related
Jul 5, 2011
i have sony viao vgn-fz11 Can someone please help ,im new user to ubuntu been trying to get webcam working properly at the moment its upside down and does not work in skype at all just get black screen does this look correct? do i have the right driver?i will try and give as much information as i can.
View 1 Replies
View Related
Aug 3, 2010
I have a problem making work a webcam. At the begining, after the instalation of 10.04 in a new laptop, the webcam did not work but with a lsusb I see that the webcam was Webcam 5986:0241 acer. I was not able to config neither use the webcam with any application. After lots of test and forums reading I could not do my webcam to work, and now when I do a lsusb my webcam does not appear.
View 1 Replies
View Related
Sep 25, 2010
I have a file with two fields of numbers that I want to use as input for another program.
Code:
The above code does not work, as I think it would take the whole first and second fields as the input for one particular instance of the program 'inputbashangle'. What I want is to get the first two numbers from the first line of the file 'outfailtest', execute 'inputbashangle' with them, then move on to the first two numbers of the second line for all the lines of 'outfailtest'.
View 9 Replies
View Related
Jan 10, 2011
How I would capture on-screen audio AND my webcam audio at the same time.(My webcam seems to rely on pulse).
View 1 Replies
View Related
Feb 27, 2010
My terminal program comes up as a white screen (see Screen shot picture)and so does the login screen (Like when you run updates and it asks you to log in so you can update, YES that screen) I have searched and found nothing on this
I have a Dell Optiplex GX115
Dell LED flat screen 49T monitor
Ubuntu 9.10
512mb ram
80gb hard drive
View 3 Replies
View Related
Nov 20, 2010
I've been searching and haven't had any luck so far so I figured someone here's gotta know the answer to this. I'm troubleshooting why some of my MKV files will play audio on my WDTV and others won't. I'm suspecting it's got something to do with the audio codec inside the MKV. However, I don't know how to view what codecs are being used inside the MKV. Does anyone know of a good program or command I can run to view what's inside of the MKV
View 2 Replies
View Related
Mar 19, 2010
I have a big bash script ,its goal is to download movie one by one . But I often get into a problem: if this script is executed in cron,it often does not completely download the movie.I often find the movies it downloaded are several KB while the movie is actually 20MB.So I think it is because it did not wait for finishing one task ,and jump to download another.So I want to know ,is there a way to force the bash script to wait until one movie downloaded completely and then start to download another movie ?
View 8 Replies
View Related
Apr 23, 2010
Ubuntu 9.10 (Karmic Koala) 64 bitlaptop Asus f5n vidio: GeForce 7000MI try to remove piton2.6, but system freeze, after these ubuntu show massage (after reboot)"Ubuntu is running in low-grahics mode our screen, graphics card, and input device settings could not be detected correctly. You will need to configure these yourself"I press "ok"and give me next list of options"run ubuntu in low-graphics mode for just one session" -- system freeze "regonfigure graphics" -- no resultI try to reinstall graphic driver "nvidia-glx-185" -- no result
View 3 Replies
View Related
Jun 18, 2010
Code: cmd='date | wc'
$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?
View 4 Replies
View Related
Feb 14, 2010
I was wondering if it was possible to execute a program from RAM, like having the file data in a bash script variable and then running it.
Something like this:
ls=`cat ls`
$ls
So is it possible to run a program without touching the hard disk and without creating tmpfs or ramfs (it would need to be standard user privileges).
View 1 Replies
View Related
Jun 8, 2010
I am looking for a good RSS program that can run on the desktop command line style.
View 3 Replies
View Related
Aug 19, 2009
I have a script which builds a project and then runs junit tests. However, if the build fails, the junit tests fail with the same error message.Therefore the command which runs the junit tests should only be executed if the build was successful.
View 3 Replies
View Related
Jan 24, 2010
Following is the IDL program found on the internet but i dont know how to compile and execute (even dont know can it be done under linux).
Code:
View 9 Replies
View Related