View Single Post
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#4
Originally Posted by nicholes View Post
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

Last edited by 9000; 2011-03-22 at 06:55.
 

The Following 14 Users Say Thank You to 9000 For This Useful Post: