|
|
02-28-2012
, 12:24 AM
|
|
|
Posts: 1,069 |
Thanked: 326 times |
Joined on Oct 2010
@ india, indore
|
#32
|
| The Following User Says Thank You to nicholes For This Useful Post: | ||
|
|
02-28-2012
, 11:06 AM
|
|
|
Posts: 1,069 |
Thanked: 326 times |
Joined on Oct 2010
@ india, indore
|
#34
|
| The Following User Says Thank You to nicholes For This Useful Post: | ||
|
|
06-07-2012
, 11:59 AM
|
|
|
Posts: 574 |
Thanked: 852 times |
Joined on Jul 2010
@ Kyiv, Ukraine
|
#35
|
| The Following User Says Thank You to int_ua For This Useful Post: | ||
|
|
06-07-2012
, 12:53 PM
|
|
|
Posts: 1,069 |
Thanked: 326 times |
Joined on Oct 2010
@ india, indore
|
#36
|
Just noticed the Camdrive application for Harmattan:
http://talk.maemo.org/showthread.php?t=84606
Looks very nice. Maybe it'll work with MeeCoLay on N900:
http://talk.maemo.org/showthread.php?t=84482
![]() |
| Thread Tools | Search this Thread |
|
import gst import time import os bin = gst.element_factory_make("camerabin") bin.set_property("audioenc", gst.element_factory_make("nokiaaacenc")) while True: bin.set_state(gst.STATE_PLAYING) bin.set_property("filename", "current.aac") bin.set_property("mode",1) #starts recording bin.emit("user-start") time.sleep(60) # stops recording bin.emit("user-stop") bin.set_state(gst.STATE_PAUSED) bin.set_state(gst.STATE_NULL) try: os.remove("twominutesold.aac") except OSError: print "No two-minutes-old file exists yet." try: os.rename("oneminuteold.aac", "twominutesold.aac") except OSError: print "No one-minute-old file exists yet." os.rename("current.aac", "oneminuteold.aac")