View Single Post
Posts: 86 | Thanked: 28 times | Joined on Jan 2010 @ That beer and prezels country in Europe -_-
#8
@torpedo48:

This will work and is tested with VLC:

On your N900 execute the following command:
Code:
gst-launch-0.10 v4l2src device=/dev/video1 ! dsph264enc ! rtph264pay ! udpsink host=xxx.xxx.xxx.xxx port=5434
(where xxx.xxx.xxx.xxx is the IP address of your computer and /dev/video1 is the front camera; video0 is back camera)

Note that this is v4l2src with an lowercase L, NOT 412

On your computer create the following .txt file:
Code:
v=0
m=video 5434 RTP/AVP 96
c=IN IP4 xxx.xxx.xxx.xxx
a=rtpmap:96 H264/90000
(where xxx.xxx.xxx is the IP address of your N900)

Rename the file to some_cool_name_for_streaming.sdp and open it with VideoLAN player for greater justice.

Try looking for the other posts to add additional parameters to gstreamer. This is video only, additional audio is also available, but not used by me so I can't say anything to that.

Best regards,
/me

PS: Your N900 could get heated up and will drain battery somewhat fast, so if you intend to use this longer, please attach the charger.

Last edited by Renkon; 2010-09-17 at 09:22.
 

The Following 3 Users Say Thank You to Renkon For This Useful Post: