The Following User Says Thank You to impeham For This Useful Post: | ||
![]() |
2013-05-31
, 09:40
|
|
Posts: 36 |
Thanked: 57 times |
Joined on Jun 2012
|
#2
|
The Following User Says Thank You to low For This Useful Post: | ||
![]() |
2013-05-31
, 09:44
|
|
Posts: 36 |
Thanked: 57 times |
Joined on Jun 2012
|
#3
|
The Following User Says Thank You to low For This Useful Post: | ||
![]() |
2013-05-31
, 12:50
|
Posts: 2,006 |
Thanked: 3,351 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#4
|
![]() |
2013-05-31
, 17:42
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#5
|
![]() |
2013-05-31
, 17:53
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#6
|
That there's a window opening is because you're pretty much just launching the camera ui to record something. I doubt that you can avoid this if you don't use a real commandline utility... does lame or so run on Maemo?
Did you try Recaller? Maybe that thing can be remote-controlled or even auto-triggered?
Please be aware of legal implications of secretly recording someone's private conversations.
Kind regards,
Sarah
![]() |
2013-05-31
, 19:29
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#7
|
the problem i have with recaller is that sometimes it makes hildon desktop stuck (the green icon does not change back to red at the end of a call) and then i have to restart the UI servicesservice
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
![]() |
2013-05-31
, 21:23
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#8
|
Hey impeham,
idk a solution/answer to your original problem.
But maybe at least an explanation/workaround for your desktop thing:
http://talk.maemo.org/showthread.php?p=1298457
better start from here.
![]() |
2013-06-04
, 15:40
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#9
|
-----------------------
import gst
import time
import os
bin = gst.element_factory_make("camerabin")
bin.set_property("audioenc", gst.element_factory_make("nokiaaacenc"))
bin.set_state(gst.STATE_PLAYING)
bin.set_property("filename", "/home/user/MyDocs/current.aac")
bin.set_property("mode",1)
#starts recording
bin.emit("user-start")
time.sleep(30)
# stops recording
bin.emit("user-stop")
bin.set_state(gst.STATE_PAUSED)
bin.set_state(gst.STATE_NULL)
-----------------------
first issue - for some reason, no "current.aac" file is being created - even though the script seems to run with no errors.
second issue i have is that executing this script opens a window in n900 and i would like to avoid it.
Any help will be appreciated.