View Single Post
Posts: 34 | Thanked: 37 times | Joined on Apr 2010 @ Rosice, Czech Republic
#123
This is awesome :-)

If you take this http://blog.pclewis.com/2010/02/stre...camera-to-vlc/ and modify it like this

Code:
gst-launch-0.10 -v v4l2camsrc device=/dev/video0 !video/x-raw-yuv, width=1280,height=720! dsphdmp4venc ! rtpmp4vpay send-config=true ! udpsink host=10.1.0.2 port=5000
SDP file:
Code:
v=0
m=video 5000 RTP/AVP 96
c=IN IP4 10.1.0.1
a=rtpmap:96 MP4V-ES/90000
then you can watch live HD stream from your N900 on your PC :-)

Manual focusing can be done either by LiveFocus or using v4l2-ctl (don't remember where I got it, guess it came with LiveFocus)

Code:
/opt/lfocus/v4l2-ctl -c focus_absolute=XY
Exposure control:
Code:
/opt/lfocus/v4l2-ctl -c exposure_time_us=XY
I highly recommend streaming via USB connection as the stream easily reaches 20 Mbps. Replace 10.1.0.1 with your actual N900 USB IP and 10.1.0.2 with your PC USB IP.

Quality is great, though it drops frames much like before this "HD era" when recording with camera application.

Ou, one last thing.. don't forget to charge your battery! My PC doesn't supply enough juice
 

The Following 4 Users Say Thank You to celebrant For This Useful Post: