maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   N900 Video Recording with LEDs (https://talk.maemo.org/showthread.php?t=42107)

rojicha07 2010-01-25 05:05

N900 Video Recording with LEDs
 
Hi everyone:

Recently, with the Flashlight application, video could be recorded on the N900 with LEDs ON. However, now this feature is no longer available...

Is there any other app/way to put the LEDs from the device ON while recording video?

Thank you!

neboja 2010-01-29 11:06

Re: N900 Video Recording with LEDs
 
anyone???? i have a same question too.... :P

Tropa 2010-01-29 11:14

Re: N900 Video Recording with LEDs
 
Me too.. Anyone?

noobmonkey 2010-01-29 11:19

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by Tropa (Post 500705)
Me too.. Anyone?

Might be best to ask the developer of the flashlight application? :)
Otherwise could be a bug?

optimistprime 2010-01-29 11:28

Re: N900 Video Recording with LEDs
 
had the same problem. just uninstalled and reinstalled old version. works again!

sinetype 2010-01-29 11:48

Re: N900 Video Recording with LEDs
 
I got the error "Unable to start flashlight. camera is in use by another application".

It would be nice if it worked though

cb22 2010-01-29 15:33

Re: N900 Video Recording with LEDs
 
1 Attachment(s)
If you have v4l2-ctl:
Code:

./v4l2-ctl -c torch_intensity=1
will do the trick.

rojicha07 2010-01-29 18:10

Re: N900 Video Recording with LEDs
 
Mmm, can someone please explain me more about that code? What does it mean? Where do I put it?

romanianusa 2010-01-29 19:42

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by rojicha07 (Post 501350)
Mmm, can someone please explain me more about that code? What does it mean? Where do I put it?

Don't use the latest version. Install the 2nd to the latest and it should work.

phortize 2010-01-29 20:23

Re: N900 Video Recording with LEDs
 
forgive me for this noob question but... how do i install the old version? i can handle some xterminal if well explained.

romanianusa 2010-01-29 20:31

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by phortize (Post 501575)
forgive me for this noob question but... how do i install the old version? i can handle some xterminal if well explained.

Install this version: http://repository.maemo.org/extras-d....3-0_armel.deb

xman 2010-01-29 20:41

Re: N900 Video Recording with LEDs
 
I find this feature useful as well, especially if try to do video while camping or in a night club, etc.

However, the question to be asked, is there a reason beside conflicts with the red led light that this was changed? Meaning will it break/ crash/ make it unstable?

x

phortize 2010-01-29 20:43

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by xman (Post 501603)
I find this feature useful as well, especially if try to do video while camping or in a night club, etc.

However, the question to be asked, is there a reason beside conflicts with the red led light that this was changed? Meaning will it break/ crash/ make it unstable?

x

could that ever be because red light is mandatory by law in some country? if so, big phail

xman 2010-01-29 20:49

Re: N900 Video Recording with LEDs
 
That would seem to be likely, however this was dev'd by a 3rd party person. So I'm guessing the blame would then be placed on the individual.

x

andyph666 2010-01-29 21:27

Re: N900 Video Recording with LEDs
 
Won't work for me I've put the v412 file in root, /home/user, /home/user/MyDocs and tried the command ./v412etc and it gave me a no permission error. I did sudo gainroot already. Also installed the 0.3 version of flashlight but it did not work with the video mode. it said it was in use.

rojicha07 2010-01-31 23:12

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by romanianusa (Post 501584)

I installed this version but still can't use the LEDs during video recording :(

cb22 2010-01-31 23:57

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by andyph666 (Post 501666)
Won't work for me I've put the v412 file in root, /home/user, /home/user/MyDocs and tried the command ./v412etc and it gave me a no permission error. I did sudo gainroot already. Also installed the 0.3 version of flashlight but it did not work with the video mode. it said it was in use.

You probably need to do a chmod +x v4l2ctl first before running it.

Venomrush 2010-02-05 01:21

Re: N900 Video Recording with LEDs
 
You don't need to do any of that.

Download the old version (0.2.0) which does what you want here - http://espejo.freemoe.org/repository....2-0_armel.deb

Transfer that to your phone in /root then run the following as root

Quote:

dpkg -i flashlight-applet_0.2-0_armel.deb

raulito 2010-02-07 16:44

Re: N900 Video Recording with LEDs
 
Many apologies upfront, but when I connect my n900 to my laptop, I can't find any folder labeled 'root'. How is this done? Thank you in advance for any insight you can give.

optimistprime 2010-02-07 16:48

Re: N900 Video Recording with LEDs
 
if you installed the deb file its probably in MyDocs. to get to root you have to use x_terminal
sudo gainroot

raulito 2010-02-07 16:52

Re: N900 Video Recording with LEDs
 
I downloaded the file to the mass storage folder. Not to any subfolders. When I opened the file manager and found the file, I tried to install it by opening the file, but the device wants to know what program to associate it with.

Any ''step-by-step'' tricks I can do to get it to install?

Completely ignorant of maemo language here...

optimistprime 2010-02-07 17:00

Re: N900 Video Recording with LEDs
 
on your desktop find the file , just copy it to the documents folder.

check out this link for help for x_term command

raulito 2010-02-07 17:17

Re: N900 Video Recording with LEDs
 
which link?

optimistprime 2010-02-07 17:18

Re: N900 Video Recording with LEDs
 
sorry, it didnt attach

http://nokiaaddict.com/2010/01/13/install-deb-files-using-new-n900-firmware/[/URL]

raulito 2010-02-07 18:42

Re: N900 Video Recording with LEDs
 
Thanks for all the help. I installed ver 3 and it had conflicts.
Uninstalled ver 3 and installed ver 2 and still doesn't work with camera. :(

rojicha07 2010-02-07 20:41

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by Venomrush (Post 511248)
You don't need to do any of that.

Download the old version (0.2.0) which does what you want here - http://espejo.freemoe.org/repository....2-0_armel.deb

Transfer that to your phone in /root then run the following as root


Thanks a lot!! Now I can record video with LEDS!! :)

maxximuscool 2010-02-08 07:38

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by raulito (Post 514528)
I downloaded the file to the mass storage folder. Not to any subfolders. When I opened the file manager and found the file, I tried to install it by opening the file, but the device wants to know what program to associate it with.

Any ''step-by-step'' tricks I can do to get it to install?

Completely ignorant of maemo language here...


First you have to be Root!

Sudo gainroot

If you put the file into the memory card then type this:

Terminal: ~$: dpkg -i /media/mmc1/flashlight....deb

if you put in the phone HDD then: put it in Temp folder

$: dpkg -i /home/user/MyDocs/Temp/flashlight.deb

m2cm2c 2010-03-03 22:18

Re: N900 Video Recording with LEDs
 
check out my python scrip that I've put together to let you focus and toggle the led while filming, and tell me what you think :D

http://talk.maemo.org/showthread.php?p=554743

dmj726 2010-03-05 19:21

Re: N900 Video Recording with LEDs
 
@cb22
Where did you find this binary? Is there source for it somewhere?

grau 2010-03-11 01:14

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by m2cm2c (Post 554752)
check out my python scrip that I've put together to let you focus and toggle the led while filming, and tell me what you think :D

http://talk.maemo.org/showthread.php?p=554743

Sweet ! Works like a charm.

Would it be possible to get on recording autofocus by half-pressing the camera button !? That would make it perfect !

Ah, just noticed a little annoyance : when setting on-screen focus control, the screen gets dimmed. making it harder to verify,

Other than that. very good work, thanks !

Kamikaze 2010-03-15 20:21

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by raulito (Post 514655)
Thanks for all the help. I installed ver 3 and it had conflicts.
Uninstalled ver 3 and installed ver 2 and still doesn't work with camera. :(

Same for me, very strange :confused:

lcuk 2010-05-22 14:36

Re: N900 Video Recording with LEDs
 
Quote:

Originally Posted by cb22 (Post 501105)
If you have v4l2-ctl:
Code:

./v4l2-ctl -c torch_intensity=1
will do the trick.

Hi, this application seems to have appeared from nowhere with no source or license attributation and managed to be used in multiple applications.

Can you tell me where you got it from and whether its source and license are available.
as it stands, I feel this binary should not be included inside free software.

(lfocus is one of the other python apps which wraps this binary)

lcuk 2010-05-22 14:57

Re: N900 Video Recording with LEDs
 
ok, I answered my own question with some digging :)

v4l2-ctl is a test app included within the GPL2 licensed package:

http://packages.debian.org/experimental/utils/v4l-utils

adding the main debian package lines to my scratchbox

deb http://ftp.de.debian.org/debian/ experimental main
deb-src http://ftp.de.debian.org/debian/ experimental main

I can get the source for the individual binary to build happily
tested by copying onto my machine

however, the debian packaging around the whole suite of tools requires debhelper 7 and potentially some other things.

So, source found and valid, but giving out a random binary is the wrong way, perhaps it should be extracted and a simpler maemo happy package created (unless someone wants to expand on what I started and bring the whole lot in)

Much happier now I know its got proper official OSS roots :)


All times are GMT. The time now is 10:18.

vBulletin® Version 3.8.8