maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Solved] Finally shortcut added. Use N900's camera as a spy cam (video recording while screen is locked) (https://talk.maemo.org/showthread.php?t=71326)

nicholes 2011-03-22 05:06

[Solved] Finally shortcut + Video Tutorial added . Use N900's camera as a spy cam (video recording while screen is locked)
 
finaly solved! see post 12 (Thanks to nicolai)

and finally made a shortcut for this (Thanks to light rain)


see a Tutorial video


i was recording something important and i wanted no one could find out that i was recording.(but that was a hard job becase anyone can see at the screen and find out it been recording)

Is there any way to record a video while screen is locked?I must need it help plz.......

azkay 2011-03-22 05:34

Re: How to make N900's camera a spycam(video recording while screen is locked)?
 
Could probably do it with gstreamer, look at recording video to file.

flipalong 2011-03-22 06:29

Re: How to make N900's camera a spycam(video recording while screen is locked)?
 
theres also the problem of the little red light at the back while recording (it can be fixed with live focus)
i dont think there is an app for spy recording right now, but what you could do is just cover the screen with a black piece of paper :D

9000 2011-03-22 06:42

Re: How to make N900's camera a spycam(video recording while screen is locked)?
 
Quote:

Originally Posted by nicholes (Post 972861)
i was recording something important and i wanted no one could find out that i was recording.(but that was a hard job becase anyone can see at the screen and find out it been recording)

Is there any way to record a video while screen is locked?I must need it help plz.......

You need a wireless connection, ssh and gstreamer-tools on N900, and VLC mediaplayer on PC (and probably a lawyer if you aren't whether sure you're performing hidden surveillance with proper authority)

The following example is performed with the following settings. You may customerize them for your own use:

Wireless network: Bluetooth-PAN
IP address of PC: 192.168.1.99
IP address of N900: 192.168.1.1
TCP port for streaming: 5354

1 Installation
1.1 Install gstreamer-tools in N900 if you haven't done so
Code:

apt-get install gstreamer-tools
1.2 Install VLC Mediaplayer on client side if you haven't done so (google search for vlc download)

2 Server-side setup
2.1 SSH to your N900. Start the streaming server as user:
Code:

gst-launch v4l2camsrc device=/dev/video0 ! \
                  dsph264enc ! \
                  rtph264pay ! \
                  udpsink host=192.168.1.99 port=5354

3 Client-side setup
3.1 Create a .sdp file with the follwoing content:
Code:

v=0
m=video 5354 RTP/AVP 96
c=IN IP4 192.168.1.1
a=rtpmap:96 H264/90000

3.2 Play this sdp file with VLC

Usual warning on doing above in legal way. I don't want to see the headline tomorrow "Nerd Caught for Illegal Surveillance with the Advices Got from Underground Forum of Cult Device and OS". ;)

Edit: typos

tele 2011-03-22 07:38

Re: How to make N900's camera a spycam(video recording while screen is locked)?
 
you can always turn the red light off using "live focus"
good software for live focus while recording. turrning flaash light when making video (isnt possible without live focus)

nicholes 2011-03-22 11:17

Re: How to make N900's camera a spy cam(video recording while screen is locked)?
 
yes i use live focus to hack red led

@ 9000 i want something that could work offline (anyways thanks for your help)

is there any other way to do this???(without using internet 3g or wifi)

volt 2011-03-22 11:22

Re: How to make N900's camera a spycam(video recording while screen is locked)?
 
Quote:

Originally Posted by nicholes (Post 972861)
i was recording something important and i wanted no one could find out that i was recording.(but that was a hard job becase anyone can see at the screen

there's this concept called multitasking, where software keeps running even when in background. N900 has it.

9000 2011-03-22 11:54

Re: How to make N900's camera a spy cam(video recording while screen is locked)?
 
Quote:

Originally Posted by nicholes (Post 973012)
yes i use live focus to hack red led

@ 9000 i want something that could work offline (anyways thanks for your help)

is there any other way to do this???(without using internet 3g or wifi)

That could be done. Let me experiment a bit to see if it works properly under N900.

hathoda 2011-03-22 13:29

Re: How to make N900's camera a spycam(video recording while screen is locked)?
 
Quote:

Originally Posted by volt (Post 973015)
there's this concept called multitasking, where software keeps running even when in background. N900 has it.

sorry this can not be done with video rec. it puts camera to "stand by" mode and stops rec.(you should have checked it before posting)

lancewex 2011-03-22 13:59

Re: How to make N900's camera a spycam(video recording while screen is locked)?
 
I hope this becomes a reality. I believe the N800 had a program that could motion detect and record. I currently use an old iBook with webcam for home security (motion detects--records video or jpeg--emails file to my phone). When AT&T renders my 2 N900s useless for 3G, I hope there is a program to make them useful as home monitoring devices instead.


All times are GMT. The time now is 22:52.

vBulletin® Version 3.8.8