Active Topics

 



Notices


Reply
Thread Tools
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#31
@LightRain

WOW that works perfactly Thanks!
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 

The Following User Says Thank You to nicholes For This Useful Post:
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#32
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?
 
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#33
Does this have to be used with CSSU camera-ui? I'm not running CSSU at the moment...
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#34
Originally Posted by ammyt View Post
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?
Do not run the script as root.
 

The Following 3 Users Say Thank You to nicolai For This Useful Post:
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#35
Originally Posted by ammyt View Post
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?
did you rename the files you downloaded?? please remove .txt by renaming both files and Put "pycam" in /usr/bin

and Put "pycam.desktop" in usr/share/applications/hildon

and use from menu( a shortcut should be created
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 

The Following 2 Users Say Thank You to nicholes For This Useful Post:
Posts: 84 | Thanked: 76 times | Joined on Aug 2011
#36
Originally Posted by ammyt View Post
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?
Make sure you have "python-gst0.10" installed.
 

The Following 2 Users Say Thank You to LightRain For This Useful Post:
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#37
Thanks @LightRain, works like a charm!
Thanks @nicolai for the script write-up and nicholes for starting the idea!
 

The Following User Says Thank You to ammyt For This Useful Post:
Posts: 238 | Thanked: 131 times | Joined on May 2011 @ Bulgaria
#38
Originally Posted by ammyt
File "/usr/bin/pycam", line 2, in <module>
import gst
ImportError: No module named gst
Same here.I rename the both files,also i have python-gst0.10,but when i run the app.after few seconds the screen closed.
 
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#39
Originally Posted by disappear View Post
Same here.I rename the both files,also i have python-gst0.10,but when i run the app.after few seconds the screen closed.
try this code in xterminal

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)
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
Posts: 84 | Thanked: 76 times | Joined on Aug 2011
#40
Originally Posted by disappear View Post
Same here.I rename the both files,also i have python-gst0.10,but when i run the app.after few seconds the screen closed.
Maybe you didn't do "chmod +x /usr/bin/pycam"

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.
 
Reply

Tags
bluetooth-pan, gstreamer, recording, spying, video


 
Forum Jump


All times are GMT. The time now is 16:45.