![]() |
Re: [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked)
@LightRain
WOW that works perfactly Thanks! |
Re: [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked)
What is it with the
File "/usr/bin/pycam", line 2, in <module> import gst ImportError: No module named gst I'm getting? I have gstreamer-tools and python2.5 installed...help? |
Re: [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked)
Does this have to be used with CSSU camera-ui? I'm not running CSSU at the moment...
|
Re: [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked)
Quote:
|
Re: [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked)
Quote:
and Put "pycam.desktop" in usr/share/applications/hildon and use from menu( a shortcut should be created |
Re: [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked)
Quote:
|
Re: [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked)
Thanks @LightRain, works like a charm!
Thanks @nicolai for the script write-up and nicholes for starting the idea! |
Re: [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked)
Quote:
|
Re: [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked)
Quote:
type in xterminal "python" and then paste this code by nicolai import gst bin = gst.element_factory_make("camerabin") bin.set_property("videoenc", gst.element_factory_make("dspmp4venc")) bin.set_property("videomux", gst.element_factory_make("hantromp4mux")) bin.set_property("audioenc", gst.element_factory_make("nokiaaacenc")) bin.set_state(gst.STATE_PLAYING) bin.set_property("filename", "test.mp4") bin.set_property("mode",1) #starts recording bin.emit("user-start") # wait some time # stops recording bin.emit("user-stop") bin.set_state(gst.STATE_PAUSED) bin.set_state(gst.STATE_NULL) |
Re: [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked)
Quote:
It have to be done as root If the above doesn't fix it, in xterm type "/usr/bin/pycam" and paste the ouput here. |
All times are GMT. The time now is 16:19. |
vBulletin® Version 3.8.8