maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 Video focus and led light, python script (https://talk.maemo.org/showthread.php?t=46427)

eitama 2010-05-16 07:08

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by rpgAmazon (Post 660417)
Well, I don't think "alerting the user" is the goal of this widget...
But I agree, AWESOME.

I only dare to suggest one improvement: the buttons "on" and "off" for each flash could be unified in only two "switch" buttons, "red flash status" and "main flash status"
And please, we need this at repos!
Great.

Well if you look at any purpose camera that has image capturing + timer, it has a red led that counts down the timer so people know when to smile.
This can also be configurable, Like a little checkbutton with a default of off or something in the same step that you choose the timer.

rahulg247 2010-05-16 15:36

Re: N900 Video focus and led light, python script
 
I've tried everything and it seems to install but doesn't work when I open the lens cover. I typed this "python /usr/lib/hildon-desktop/lfocuswi.py" in xterminal and I get:

Traceback (most recent call last):
File "/usr/lib/hildon-desktop/lfocuswi.py", line 1, in <module>
import gtk, pygtk, os,sys,time,math,hildon,hildondesktop.dbus,gobject
ImportError: No module named hildon

m2cm2c 2010-05-16 15:50

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by rahulg247 (Post 660942)
I've tried everything and it seems to install but doesn't work when I open the lens cover. I typed this "python /usr/lib/hildon-desktop/lfocuswi.py" in xterminal and I get:

Traceback (most recent call last):
File "/usr/lib/hildon-desktop/lfocuswi.py", line 1, in <module>
import gtk, pygtk, os,sys,time,math,hildon,hildondesktop.dbus,gobject
ImportError: No module named hildon

look if the problem is gone after installing python-hildon
as root:
apt-get install python-hildon

rahulg247 2010-05-16 15:58

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by m2cm2c (Post 660958)
look if the problem is gone after installing python-hildon
as root:
apt-get install python-hildon

Seems to work but get the error message

Errors were encountered while processing:
libflac8
E: Sub-process /usr/bin/dpkg returned an error code (1)

And the app is still not in the status bar when camera is open.

m2cm2c 2010-05-16 16:04

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by rahulg247 (Post 660969)
Seems to work but get the error message

Errors were encountered while processing:
libflac8
E: Sub-process /usr/bin/dpkg returned an error code (1)

And the app is still not in the status bar when camera is open.

as root:
pkill -f /usr/bin/hildon-status-menu
and open up the lens cover after that

rahulg247 2010-05-16 16:38

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by m2cm2c (Post 660979)
as root:
pkill -f /usr/bin/hildon-status-menu
and open up the lens cover after that

OMG thanks soo much it works :-)

yogi900 2010-05-16 16:42

Re: N900 Video focus and led light, python script
 
m2cm2c..

Thousand Thanks...Great App..!!!

It worked in first GO...(is it possible to use volume buttons for focus instead of a-s keys..???)

msa 2010-05-16 23:54

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by M A S T E R (Post 647427)
i am assuming it is not optified at the moment or is it?

thats what i'm wondering myself as well :)

M A S T E R 2010-05-17 02:31

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by msa (Post 661568)
Quote:

Originally Posted by M A S T E R
i am assuming it is not optified at the moment or is it?

thats what i'm wondering myself as well :)

Also i want to say that this app seems to have gone a long way! i am excited to hear everything it can do now and thats just with a camera! sooo crazy to me seriously. Anyway has this reached Extras Testing? and does anyone know if it will ever make it to MAEMO Extras? I'm assuming it would be fully optified then but i just wanted to check first.

I don't mind Testing but Devel is definitely the Devil sometimes lol. Very very nice and amazing work BTW! hats down to you all that are helping.

-MASTER

Darkwolf 2010-05-17 13:51

Re: N900 Video focus and led light, python script
 
When I want to record a video with the LED's on they turn off when the camera focuses. Then during recording I have to turn it on again.
Is this behavior normal?
If yes, can it be "fixed" so that the LED stays on when you actually begin recording a video?


All times are GMT. The time now is 04:44.

vBulletin® Version 3.8.8