streaming video to android smartphone


15 posts
by Tartarus » Thu Feb 21, 2013 1:26 pm
hello,

I would like to connect a camera directly to the RP and stream it with BT to android smartphone,
the video resolution can be low....
is it possible? is it done yet?

if not please suggest me workarounds please


thanks.
Posts: 9
Joined: Thu Feb 21, 2013 1:18 pm
by ghans » Fri Feb 22, 2013 5:36 pm
I'd wait for the camera module ...else , f you can get a webcam working , it should be easy to do.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
Posts: 4603
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany
by Tartarus » Sun Feb 24, 2013 1:28 pm
hey,

I found many topics dealing with viewing video through web access, that's what you mean?

I would like to connect the RP with bluetooth to android smartphone...
can you send me a link?


when the camera module arrives?
Posts: 9
Joined: Thu Feb 21, 2013 1:18 pm
by ghans » Sun Feb 24, 2013 9:32 pm
I guess not. The bandwidth is too low (at least on BT 1.0/2.0) -
well , O.K. , i don't know which resolution and FPS you're aiming
for ..
You could always try . The most common Linux bluetooth stack
is BlueZ so far i know , and it supports streaming data.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
Posts: 4603
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany
by Tartarus » Mon Feb 25, 2013 12:25 pm
hey, I'm looking for small resolution, acctually I'm planing to install a small reverse camara inside my car,
do you think its can be done?

do I need to purchase the BT module? or BT dongle will be enough?
what are the diffrences between them?
Posts: 9
Joined: Thu Feb 21, 2013 1:18 pm
by redhawk » Mon Feb 25, 2013 12:41 pm
Why use Bluetooth when you can have wifi?? even without a wireless router you could turn your Android phone or Pi into a wifi hotspot with software.
All you would need after that is an rtsp media server (still investigating this one myself gstreamer perhaps??) and get your Android phone to play the stream.
As for Bluetooth lacking bandwidth I think most Android phones come with at least 2.0 or 2.0+ERD this should be more than enough for streaming a video feed.
However getting two machines to talk Bluetooth with PAN can be more trouble than it's worth, wifi however is pretty straightforward.

Richard S.
User avatar
Posts: 3519
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1
by Tartarus » Mon Feb 25, 2013 2:13 pm
thanks for the replay,

1. what is the best way to connect the camera to the RP? usb cam?

2. you saying i need to install on the RP rtsp\gstreamer , which OS?

3. please throw be a bone about the android, which interface \ software can communicate with the stream?


thanks.
Posts: 9
Joined: Thu Feb 21, 2013 1:18 pm
by Cloudcentric » Mon Feb 25, 2013 2:30 pm
RTSP Real Time Streaming Protocol http://en.wikipedia.org/wiki/Real_Time_ ... g_Protocol


Look at http://hit-mob.com/ip-cam-viewer-android/


Also streaming over HTTP for USB WeCam, this articles may give some hints and Raspbian "wheezy" may be able to undertake this on the Pi !!
I know everything about nothing"
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am
by Tartarus » Mon Feb 25, 2013 3:04 pm
ok let see if I understood everything,

1. I'm connecting basic USB cam (no ip) into the RP.
2. installing Raspbian "wheezy".
3. installing web server and making the RP access point.
4. installing IP Cam Viewer on my android phone and configuring it to connect the web server.

is that right?
Posts: 9
Joined: Thu Feb 21, 2013 1:18 pm
by Spid » Mon Feb 25, 2013 3:23 pm
Do you have a WebCam ? If not buy an IP Cam and just use the Android phone :roll:
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm
by bobintetley » Mon Feb 25, 2013 3:37 pm
seconded - you can pick up the Tenvis webcams on eBay for about 30 pounds each here in the UK.

They do 640x480 video, have wifi built in, they even have night vision, audio output, mic, pan, etc. There are various Android apps that can talk to them and capture video in the market. No need for the pi at all :)

If you want to put one in your car, I think they require 7.5v DC so shouldn't be a problem to step down and run off the car electrics.

You can get smaller self contained cameras (with batteries) that write to their own media for reading offline via USB later. These things are even cheaper. A friend of mine uses one on his motorbike. Eg for 5 quid you can get this:

http://www.ebay.co.uk/itm/251199981735? ... 1497.l2649
Posts: 5
Joined: Thu Feb 21, 2013 3:08 pm
by Cloudcentric » Mon Feb 25, 2013 3:50 pm
I know everything about nothing"
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am
by SirLagz » Mon Feb 25, 2013 3:53 pm
Or turn the Pi into an IP camera with a USB webcam and a USB WiFi Stick.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044
Posts: 1704
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
by Tartarus » Tue Feb 26, 2013 12:56 pm
thanks for the replays, though cameras with wifi exist i still would like to do it with RP because i want to learn some linux... :)

SirLagz, do you mean to turn the pai into web server?( turn the Pi into an IP camera with a USB webcam and a USB WiFi Stick).

so, are my steps fine? what do you think of them?
Posts: 9
Joined: Thu Feb 21, 2013 1:18 pm
by SirLagz » Wed Feb 27, 2013 2:23 am
Tartarus wrote:thanks for the replays, though cameras with wifi exist i still would like to do it with RP because i want to learn some linux... :)

SirLagz, do you mean to turn the pai into web server?( turn the Pi into an IP camera with a USB webcam and a USB WiFi Stick).

so, are my steps fine? what do you think of them?


Yep, Though motion, mjpeg-streamer, and ffmpeg have their own webserver so you don't need to worry about the webserver part.
I use tinyCam Monitor myself to view my motion webcams.

Apart from that, the steps seem fine :)
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044
Posts: 1704
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia