[arch-general] Motion
I'm trying to setup motion http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome at the moment since I didn't find anything interesting natively on OSX I was trying to configure inside the virtual machine. (this is the kernel Linux test 2.6.36-ARCH #1 SMP PREEMPT Wed Nov 24 00:39:57 CET 2010 x86_64) With vmware fusion I can easily assign the isight camera to the virtual machine and in fact it works... The problem is that for example I think the rc.d script doesn't work, because when I do /etc/rc.d/motion stop it doesn't kill it, and it stays there until I do killall -9 motion. I also wanted to understand how to record audio also and merge it to the video generated but still no luck, if anyone did I would be grateful...
On Sun, 2011-01-09 at 14:35 +0100, Andrea Crotti wrote:
I'm trying to setup motion http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome at the moment since I didn't find anything interesting natively on OSX I was trying to configure inside the virtual machine. (this is the kernel Linux test 2.6.36-ARCH #1 SMP PREEMPT Wed Nov 24 00:39:57 CET 2010 x86_64)
With vmware fusion I can easily assign the isight camera to the virtual machine and in fact it works...
The problem is that for example I think the rc.d script doesn't work, because when I do /etc/rc.d/motion stop it doesn't kill it, and it stays there until I do killall -9 motion.
Then there might be a bug in the rc.d script, did you check out what it does?
I also wanted to understand how to record audio also and merge it to the video generated but still no luck, if anyone did I would be grateful...
Any video editor could do this i bet, google can help you with that ;) -- Jelle van der Waa
Jelle van der Waa <jelle@vdwaa.nl> writes:
Then there might be a bug in the rc.d script, did you check out what it does?
Well the rc.d is correct actually, the problem is that with "killall motion" motion doesn't quit, so the rc.d script [ ! -z "$PID" ] && kill $PID &> /dev/null of course doesn't work either. So I guess it's more a problem of motion...
Any video editor could do this i bet, google can help you with that ;)
No luck is about recording the audio in the first place, I added this but it never quits and I don't get any audio... Vmware fusion should make the audio card accessible, but I'm not sure that recording works at all... on_movie_start rec -t wav - | lame - %d.mp3 on_movie_end killall rec
On 9 January 2011 22:47, Andrea Crotti <andrea.crotti.0@gmail.com> wrote:
Jelle van der Waa <jelle@vdwaa.nl> writes:
Then there might be a bug in the rc.d script, did you check out what it does?
Well the rc.d is correct actually, the problem is that with "killall motion" motion doesn't quit, so the rc.d script [ ! -z "$PID" ] && kill $PID &> /dev/null
of course doesn't work either. So I guess it's more a problem of motion...
Could you backup the script, remove the null redirects, and then restart it?
Ray Rashif <schiv@archlinux.org> writes:
On 9 January 2011 22:47, Andrea Crotti <andrea.crotti.0@gmail.com> wrote:
Jelle van der Waa <jelle@vdwaa.nl> writes:
Then there might be a bug in the rc.d script, did you check out what it does?
Well the rc.d is correct actually, the problem is that with "killall motion" motion doesn't quit, so the rc.d script [ ! -z "$PID" ] && kill $PID &> /dev/null
of course doesn't work either. So I guess it's more a problem of motion...
Could you backup the script, remove the null redirects, and then restart it?
That's really funny, I removed the redirect, tried again and it worked. I added the redirect again and still it works... Weird, since it never worked unless I used kill -9 before...
participants (3)
-
Andrea Crotti
-
Jelle van der Waa
-
Ray Rashif